Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.506/2.506, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001621/0.001621, allocations: 176.8 kB / 487.4 MB, free: 5.047 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.751/1.751, allocations: 221.5 MB / 0.7824 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 94.52 kB / 0.9219 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.697e-05/2.699e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3512/0.3513, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.131/1.482, allocations: 153.1 MB / 1.356 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/1.482, allocations: 87.28 kB / 1.356 GB, free: 18.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02076/1.503, allocations: 8.672 MB / 1.364 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/1.503, allocations: 0 / 1.364 GB, free: 33.28 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.478e-05/1.503, allocations: 15.5 kB / 1.364 GB, free: 33.28 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: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.00114/1.504, allocations: 0.7666 MB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.504, allocations: 18.17 kB / 1.365 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/1.504, allocations: 69.97 kB / 1.365 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005434/1.505, allocations: 430.2 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/1.505, allocations: 15.41 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.071e-05/1.505, allocations: 30.75 kB / 1.365 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000541/1.506, allocations: 331.6 kB / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/1.506, allocations: 442.8 kB / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/1.506, allocations: 0 / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.179e-05/1.506, allocations: 3.844 kB / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/1.506, allocations: 12.92 kB / 1.366 GB, free: 32.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002145/1.509, allocations: 1.612 MB / 1.368 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009913/1.51, allocations: 463.6 kB / 1.368 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/1.51, allocations: 178.7 kB / 1.368 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/1.51, allocations: 4.438 kB / 1.368 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002934/1.51, allocations: 215.1 kB / 1.369 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.462e-06/1.51, allocations: 0 / 1.369 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0004693/1.511, allocations: 293.6 kB / 1.369 GB, free: 31.65 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.741e-05/1.511, allocations: 158.3 kB / 1.369 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003754/1.511, allocations: 333.8 kB / 1.369 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.973e-05/1.511, allocations: 29.64 kB / 1.369 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/1.511, allocations: 291.2 kB / 1.37 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.826e-05/1.511, allocations: 108.8 kB / 1.37 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.55e-05/1.511, allocations: 0 / 1.37 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001552/1.512, allocations: 357.2 kB / 1.37 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001465/1.512, allocations: 105.1 kB / 1.37 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/1.512, allocations: 185.2 kB / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001599/1.512, allocations: 114.4 kB / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.512, allocations: 0 / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004174/1.513, allocations: 335 kB / 1.371 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/1.513, allocations: 370.9 kB / 1.371 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/1.513, allocations: 0 / 1.371 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.513, allocations: 3.844 kB / 1.371 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/1.513, allocations: 87.34 kB / 1.371 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/1.513, allocations: 3.906 kB / 1.371 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/1.513, allocations: 70.06 kB / 1.371 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/1.513, allocations: 17.77 kB / 1.371 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.474e-06/1.513, allocations: 3.875 kB / 1.371 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003422/1.514, allocations: 239.1 kB / 1.372 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-06/1.514, allocations: 0 / 1.372 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.398e-06/1.514, allocations: 3.844 kB / 1.372 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/1.514, allocations: 77.55 kB / 1.372 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/1.514, allocations: 3.953 kB / 1.372 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/1.514, allocations: 54.59 kB / 1.372 GB, free: 30.17 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.876e-05/1.514, allocations: 11.62 kB / 1.372 GB, free: 30.17 MB / 0.8386 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 () * 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.0001194/1.514, allocations: 118.2 kB / 1.372 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003805/1.515, allocations: 284.2 kB / 1.372 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/1.515, allocations: 45.14 kB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/1.515, allocations: 314.7 kB / 1.372 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/1.515, allocations: 10.77 kB / 1.372 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.515, allocations: 0 / 1.372 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/1.515, allocations: 3.984 kB / 1.372 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/1.516, allocations: 0.9459 MB / 1.373 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.516, allocations: 4.062 kB / 1.373 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00033/1.517, allocations: 83.59 kB / 1.373 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.581e-06/1.517, allocations: 3.953 kB / 1.373 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/1.517, allocations: 10.7 kB / 1.373 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.517, allocations: 0 / 1.373 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.517, allocations: 0 / 1.373 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006834/1.518, allocations: 0.5627 MB / 1.374 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.425e-05/1.518, allocations: 129.5 kB / 1.374 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.972e-05/1.518, allocations: 0 / 1.374 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/1.518, allocations: 42.97 kB / 1.374 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.432e-05/1.518, allocations: 35.62 kB / 1.374 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/1.518, allocations: 14.38 kB / 1.374 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002479/1.518, allocations: 253.8 kB / 1.374 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.518, allocations: 0 / 1.374 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005193/1.519, allocations: 169.9 kB / 1.375 GB, free: 29.07 MB / 0.8386 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) * 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.00103/1.52, allocations: 1.188 MB / 1.376 GB, free: 28.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000613/1.521, allocations: 435.4 kB / 1.376 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/1.521, allocations: 0 / 1.376 GB, free: 28.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001687/1.521, allocations: 140.1 kB / 1.376 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/1.521, allocations: 77.88 kB / 1.376 GB, free: 28.23 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00135/1.523, allocations: 0.6808 MB / 1.377 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000451/1.523, allocations: 0.8733 MB / 1.378 GB, free: 27.25 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003066/1.523, allocations: 75.08 kB / 1.378 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000245/1.524, allocations: 188 kB / 1.378 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.524, allocations: 0 / 1.378 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02979/1.553, allocations: 8.376 MB / 1.386 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/1.554, allocations: 158.6 kB / 1.387 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.312/3.866, allocations: 0 / 1.387 GB, free: 24.41 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.fmu > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat does not exist to compare? outputFormat=mat