Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.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.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",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.463/2.463, allocations: 393.5 MB / 408.4 MB, free: 10.98 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.001442/0.001442, allocations: 191.9 kB / 0.4901 GB, free: 2.254 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.674/1.674, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001258/0.001258, allocations: 108.1 kB / 0.9396 GB, free: 1.855 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004184/0.0004184, allocations: 14.25 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3842/0.3847, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2348/0.6195, allocations: 154.7 MB / 1.38 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/0.6199, allocations: 99.91 kB / 1.38 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02341/0.6434, allocations: 8.772 MB / 1.389 GB, free: 5.883 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6434, allocations: 0 / 1.389 GB, free: 5.883 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.401e-05/0.6435, allocations: 16 kB / 1.389 GB, free: 5.867 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001491/0.645, allocations: 0.8493 MB / 1.39 GB, free: 4.969 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.6451, allocations: 8.562 kB / 1.39 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000125/0.6452, allocations: 90.52 kB / 1.39 GB, free: 4.863 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.6453, allocations: 75.11 kB / 1.39 GB, free: 4.789 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006619/0.646, allocations: 436.8 kB / 1.39 GB, free: 4.32 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.388e-05/0.646, allocations: 37.31 kB / 1.39 GB, free: 4.281 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/0.6461, allocations: 52 kB / 1.39 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.6472, allocations: 0.5576 MB / 1.391 GB, free: 3.66 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.6472, allocations: 0 / 1.391 GB, free: 3.66 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.783e-05/0.6473, allocations: 24 kB / 1.391 GB, free: 3.637 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.503e-05/0.6473, allocations: 12 kB / 1.391 GB, free: 3.625 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009381/0.6482, allocations: 463.6 kB / 1.392 GB, free: 3.168 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002638/0.6509, allocations: 1.753 MB / 1.393 GB, free: 1.352 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.6523, allocations: 0.5712 MB / 1.394 GB, free: 0.7734 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.6524, allocations: 8 kB / 1.394 GB, free: 0.7656 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005868/0.6529, allocations: 273.3 kB / 1.394 GB, free: 488 kB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 1.864e-06/0.653, allocations: 0 / 1.394 GB, free: 488 kB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.001283/0.6542, allocations: 0.5677 MB / 1.395 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.96e-05/0.6544, allocations: 162.2 kB / 1.395 GB, free: 15.7 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005868/0.655, allocations: 465.3 kB / 1.395 GB, free: 15.24 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.655, allocations: 33.7 kB / 1.395 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.6553, allocations: 280.4 kB / 1.395 GB, free: 14.92 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.6554, allocations: 126.1 kB / 1.396 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.887e-05/0.6554, allocations: 4 kB / 1.396 GB, free: 14.8 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.6556, allocations: 362.8 kB / 1.396 GB, free: 14.43 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.6559, allocations: 159.9 kB / 1.396 GB, free: 14.28 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004238/0.6564, allocations: 252.7 kB / 1.396 GB, free: 14 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000379/0.6568, allocations: 165.6 kB / 1.397 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.6568, allocations: 4 kB / 1.397 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008905/0.6577, allocations: 475.2 kB / 1.397 GB, free: 13.36 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001913/0.6579, allocations: 367.9 kB / 1.397 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.807e-06/0.6579, allocations: 0 / 1.397 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.361e-05/0.6579, allocations: 4 kB / 1.397 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003578/0.6583, allocations: 91.88 kB / 1.397 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.6583, allocations: 4 kB / 1.397 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003383/0.6586, allocations: 83.61 kB / 1.398 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.068e-05/0.6587, allocations: 16 kB / 1.398 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.695e-06/0.6587, allocations: 4 kB / 1.398 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006121/0.6593, allocations: 335.7 kB / 1.398 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-06/0.6593, allocations: 0 / 1.398 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.658e-06/0.6593, allocations: 4 kB / 1.398 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002817/0.6596, allocations: 67.91 kB / 1.398 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.6596, allocations: 4 kB / 1.398 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002635/0.6599, allocations: 79.61 kB / 1.398 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.942e-05/0.6599, allocations: 8 kB / 1.398 GB, free: 12.29 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,$PRE.vavBoxCon.hysWitHol.y,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * 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.0003054/0.6602, allocations: 261.1 kB / 1.398 GB, free: 12.02 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.549e-05/0.6603, allocations: 59.3 kB / 1.398 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009586/0.6613, allocations: 457.9 kB / 1.399 GB, free: 11.51 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.6613, allocations: 4 kB / 1.399 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.6613, allocations: 4 kB / 1.399 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.6613, allocations: 0 / 1.399 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.663, allocations: 1.15 MB / 1.4 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.83e-06/0.663, allocations: 3.984 kB / 1.4 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003426/0.6633, allocations: 79.89 kB / 1.4 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.6634, allocations: 8.031 kB / 1.4 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.6634, allocations: 4 kB / 1.4 GB, free: 10.2 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.6634, allocations: 4 kB / 1.4 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.6634, allocations: 0 / 1.4 GB, free: 10.19 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001312/0.6647, allocations: 0.7429 MB / 1.401 GB, free: 9.422 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.6649, allocations: 148.4 kB / 1.401 GB, free: 9.258 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.6649, allocations: 12 kB / 1.401 GB, free: 9.246 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.6652, allocations: 43.97 kB / 1.401 GB, free: 9.203 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.827e-05/0.6653, allocations: 39.88 kB / 1.401 GB, free: 9.164 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/0.6654, allocations: 12 kB / 1.401 GB, free: 9.152 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004337/0.6658, allocations: 362.9 kB / 1.401 GB, free: 8.801 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6658, allocations: 3.938 kB / 1.401 GB, free: 8.797 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005502/0.6664, allocations: 175.4 kB / 1.401 GB, free: 8.625 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,vavBoxCon.hysWitHol.y,vavBoxCon.assMes.u) * Number of discrete states: 1 (vavBoxCon.hysWitHol.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001717/0.6681, allocations: 1.381 MB / 1.403 GB, free: 7.211 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.001223/0.6693, allocations: 0.5581 MB / 1.403 GB, free: 6.652 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.6693, allocations: 0 / 1.403 GB, free: 6.652 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004029/0.6698, allocations: 211.7 kB / 1.404 GB, free: 6.445 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.6703, allocations: 96.55 kB / 1.404 GB, free: 6.355 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005303/0.6756, allocations: 3.528 MB / 1.407 GB, free: 2.75 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.6762, allocations: 0.8705 MB / 1.408 GB, free: 1.852 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002852/0.6765, allocations: 56.25 kB / 1.408 GB, free: 1.793 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003166/0.6768, allocations: 203.4 kB / 1.408 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of SimCode: time 1.844e-06/0.6768, allocations: 0 / 1.408 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0257/0.7025, allocations: 9.681 MB / 1.418 GB, free: 8.145 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002157/0.7028, allocations: 197.5 kB / 1.418 GB, free: 7.91 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.859/3.562, allocations: 4 kB / 1.418 GB, free: 7.906 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.fmu > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat does not exist to compare? outputFormat=mat