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: translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBoxCon.TRooHeaSet|vavBoxCon.TRooCooSet|vavBoxCon.TRoo|vavBoxCon.conHea.y|vavBoxCon.conCoo.y|vavBoxCon.yDam|vavBoxCon.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vavBoxCon.TRooHeaSet|vavBoxCon.TRooCooSet|vavBoxCon.TRoo|vavBoxCon.conHea.y|vavBoxCon.conCoo.y|vavBoxCon.yDam|vavBoxCon.yVal",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001144/0.001144, allocations: 180.9 kB / 487.4 MB, free: 5.027 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.628/1.628, allocations: 221.5 MB / 0.7824 GB, free: 0.9805 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.0009388/0.0009387, allocations: 95.89 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.623e-05/1.626e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3272/0.3272, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.021/1.348, allocations: 153.1 MB / 1.356 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/1.348, allocations: 86.06 kB / 1.356 GB, free: 18.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02016/1.368, allocations: 8.679 MB / 1.364 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.597e-06/1.368, allocations: 3.25 kB / 1.364 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.964e-05/1.369, allocations: 11.28 kB / 1.364 GB, free: 33.46 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.001458/1.37, allocations: 0.7634 MB / 1.365 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/1.37, allocations: 11.53 kB / 1.365 GB, free: 32.96 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002321/1.37, allocations: 69.84 kB / 1.365 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007097/1.371, allocations: 430 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/1.371, allocations: 19.41 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.185e-05/1.371, allocations: 30.66 kB / 1.365 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006323/1.372, allocations: 320.4 kB / 1.366 GB, free: 32.65 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007782/1.373, allocations: 446.7 kB / 1.366 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/1.373, allocations: 3.984 kB / 1.366 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.295e-05/1.373, allocations: 0 / 1.366 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/1.373, allocations: 12.92 kB / 1.366 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002369/1.375, allocations: 1.62 MB / 1.368 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009728/1.376, allocations: 453.4 kB / 1.368 GB, free: 32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002113/1.376, allocations: 173.8 kB / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.651e-05/1.376, allocations: 8.594 kB / 1.368 GB, free: 31.99 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003146/1.377, allocations: 221.1 kB / 1.369 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 2.364e-06/1.377, allocations: 0 / 1.369 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0004775/1.377, allocations: 292.3 kB / 1.369 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/1.377, allocations: 158.3 kB / 1.369 GB, free: 31.66 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/1.378, allocations: 327.3 kB / 1.369 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/1.378, allocations: 36.72 kB / 1.369 GB, free: 31.51 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/1.378, allocations: 291.3 kB / 1.37 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.218e-05/1.378, allocations: 118.2 kB / 1.37 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.58e-05/1.378, allocations: 0 / 1.37 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000152/1.378, allocations: 354 kB / 1.37 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001546/1.378, allocations: 102.1 kB / 1.37 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001868/1.378, allocations: 181.9 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/1.379, allocations: 120.5 kB / 1.37 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/1.379, allocations: 0 / 1.37 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004284/1.379, allocations: 332.3 kB / 1.371 GB, free: 30.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001562/1.379, allocations: 366.2 kB / 1.371 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/1.379, allocations: 0 / 1.371 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.379, allocations: 3.938 kB / 1.371 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003469/1.38, allocations: 90.84 kB / 1.371 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/1.38, allocations: 4 kB / 1.371 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/1.38, allocations: 69.45 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/1.38, allocations: 14.3 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.408e-06/1.38, allocations: 3.844 kB / 1.371 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003247/1.38, allocations: 233.6 kB / 1.371 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/1.38, allocations: 6.641 kB / 1.371 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.157e-06/1.38, allocations: 0 / 1.371 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/1.381, allocations: 81.62 kB / 1.372 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.239e-06/1.381, allocations: 7.922 kB / 1.372 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/1.381, allocations: 51.02 kB / 1.372 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/1.381, allocations: 18.94 kB / 1.372 GB, free: 30.36 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.0001177/1.381, allocations: 111.7 kB / 1.372 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.522e-05/1.381, allocations: 38.84 kB / 1.372 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004594/1.382, allocations: 316.4 kB / 1.372 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.382, allocations: 3.812 kB / 1.372 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.382, allocations: 3.953 kB / 1.372 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/1.382, allocations: 3 kB / 1.372 GB, free: 30.18 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001025/1.383, allocations: 0.9386 MB / 1.373 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.383, allocations: 0 / 1.373 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003299/1.383, allocations: 84.02 kB / 1.373 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.75e-06/1.383, allocations: 0 / 1.373 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/1.383, allocations: 7.75 kB / 1.373 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/1.383, allocations: 7.891 kB / 1.373 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.383, allocations: 4.031 kB / 1.373 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006701/1.384, allocations: 0.564 MB / 1.374 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.26e-05/1.384, allocations: 121.5 kB / 1.374 GB, free: 29.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/1.384, allocations: 10.59 kB / 1.374 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/1.384, allocations: 39.31 kB / 1.374 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.781e-05/1.384, allocations: 33.28 kB / 1.374 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/1.384, allocations: 10.38 kB / 1.374 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002882/1.385, allocations: 255.5 kB / 1.374 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.71e-07/1.385, allocations: 0 / 1.374 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005241/1.385, allocations: 174.7 kB / 1.374 GB, free: 29.33 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.0001811/1.385, allocations: 117.5 kB / 1.374 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006251/1.386, allocations: 430.6 kB / 1.375 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/1.386, allocations: 0 / 1.375 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001865/1.386, allocations: 143.2 kB / 1.375 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004787/1.387, allocations: 78.89 kB / 1.375 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001152/1.388, allocations: 0.6084 MB / 1.376 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/1.388, allocations: 0.8697 MB / 1.376 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003739/1.389, allocations: 76.56 kB / 1.377 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.943e-05/1.389, allocations: 33.88 kB / 1.377 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of SimCode: time 5.01e-07/1.389, allocations: 0 / 1.377 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of Templates: time 0.00929/1.398, allocations: 4.492 MB / 1.381 GB, free: 27.42 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.makefile (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 & ./Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_RoomVAV.csv","../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.RoomVAV.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches