Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.294/2.294, allocations: 390.5 MB / 398 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001044, allocations: 180.9 kB / 491.2 MB, free: 1.555 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.688/1.688, allocations: 221.5 MB / 0.7868 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 95.56 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.56e-05/2.565e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3062, allocations: 143 MB / 1.212 GB, free: 39.45 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.502, allocations: 149.7 MB / 1.359 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002648/1.503, allocations: 70.11 kB / 1.359 GB, free: 17.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006894/1.51, allocations: 2.073 MB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.012e-06/1.51, allocations: 3.875 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.576e-06/1.51, allocations: 0 / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004911/1.51, allocations: 400.9 kB / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/1.51, allocations: 11.5 kB / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.222e-05/1.51, allocations: 11.84 kB / 1.361 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.102e-05/1.51, allocations: 167.6 kB / 1.361 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.514e-05/1.511, allocations: 6.234 kB / 1.361 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.243e-05/1.511, allocations: 11.28 kB / 1.361 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001/1.511, allocations: 39.8 kB / 1.361 GB, free: 32.18 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/1.511, allocations: 74.66 kB / 1.361 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/1.511, allocations: 0 / 1.361 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/1.511, allocations: 7.219 kB / 1.361 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/1.511, allocations: 0 / 1.361 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005834/1.511, allocations: 354.9 kB / 1.362 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001762/1.512, allocations: 92.86 kB / 1.362 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.87e-05/1.512, allocations: 36.05 kB / 1.362 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/1.512, allocations: 4 kB / 1.362 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002191/1.512, allocations: 119.4 kB / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/1.512, allocations: 0 / 1.362 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13): time 0.0002605/1.512, allocations: 149.4 kB / 1.362 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/1.512, allocations: 56.81 kB / 1.362 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/1.512, allocations: 112 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/1.512, allocations: 38.98 kB / 1.362 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/1.512, allocations: 84.05 kB / 1.362 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/1.512, allocations: 33.75 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.557e-05/1.513, allocations: 3.844 kB / 1.362 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001402/1.513, allocations: 317.6 kB / 1.363 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.54e-05/1.513, allocations: 45.44 kB / 1.363 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/1.513, allocations: 78.64 kB / 1.363 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002003/1.513, allocations: 56.67 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/1.513, allocations: 3.938 kB / 1.363 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003425/1.513, allocations: 173.3 kB / 1.363 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/1.513, allocations: 37.86 kB / 1.363 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/1.513, allocations: 4.125 kB / 1.363 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/1.514, allocations: 0 / 1.363 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.124e-05/1.514, allocations: 13.47 kB / 1.363 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/1.514, allocations: 3.953 kB / 1.363 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002527/1.514, allocations: 44.47 kB / 1.363 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/1.514, allocations: 20.72 kB / 1.363 GB, free: 31.03 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001035/1.514, allocations: 112.7 kB / 1.363 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002085/1.514, allocations: 146.4 kB / 1.363 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.35e-05/1.514, allocations: 6.656 kB / 1.363 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.139e-05/1.514, allocations: 10.06 kB / 1.363 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/1.514, allocations: 7.891 kB / 1.363 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.514, allocations: 0 / 1.363 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/1.514, allocations: 4.219 kB / 1.363 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/1.515, allocations: 394.9 kB / 1.364 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.515, allocations: 0 / 1.364 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.959e-05/1.515, allocations: 5.531 kB / 1.364 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/1.515, allocations: 0 / 1.364 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/1.515, allocations: 8.797 kB / 1.364 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/1.515, allocations: 0.5625 kB / 1.364 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.515, allocations: 1.641 kB / 1.364 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/1.515, allocations: 255.9 kB / 1.364 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/1.515, allocations: 84.95 kB / 1.364 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.226e-05/1.515, allocations: 6.906 kB / 1.364 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.104e-05/1.515, allocations: 10.14 kB / 1.364 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.773e-05/1.515, allocations: 18.16 kB / 1.364 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/1.515, allocations: 5.5 kB / 1.364 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.828e-05/1.515, allocations: 87.39 kB / 1.364 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.733e-06/1.515, allocations: 0 / 1.364 GB, free: 30.27 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002606/1.516, allocations: 41.47 kB / 1.364 GB, free: 30.27 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition5,$whenCondition6,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition3,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 2 (noThr.entryTime,thrTim.entryTime) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006221/1.516, allocations: 0.7927 MB / 1.365 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002464/1.517, allocations: 178.4 kB / 1.365 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.517, allocations: 0 / 1.365 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.834e-05/1.517, allocations: 65.97 kB / 1.365 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/1.517, allocations: 15.78 kB / 1.365 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/1.517, allocations: 173.2 kB / 1.366 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/1.518, allocations: 0.6977 MB / 1.366 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.049e-05/1.518, allocations: 7.5 kB / 1.366 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.283e-05/1.518, allocations: 18.62 kB / 1.366 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.518, allocations: 4 kB / 1.366 GB, free: 28.69 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/1.54, allocations: 2.099 MB / 1.368 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/1.54, allocations: 166.5 kB / 1.368 GB, free: 28.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.608/3.148, allocations: 0 / 1.368 GB, free: 28.34 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime_fmu --startTime=-10 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.TimerNegativeStartTime_res.mat does not exist to compare? outputFormat=mat