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.273/2.273, allocations: 387.1 MB / 399.7 MB, free: 9.441 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.001014/0.001014, allocations: 165 kB / 492.3 MB, free: 0.6289 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.687/1.687, allocations: 221.3 MB / 0.7871 GB, free: 12.92 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.0008564/0.0008564, allocations: 87.95 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.562e-05/3.563e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3173, allocations: 142.3 MB / 1.212 GB, free: 38.53 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.371, allocations: 153.8 MB / 1.363 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002314/1.371, allocations: 89.05 kB / 1.363 GB, free: 19.09 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02036/1.391, allocations: 8.749 MB / 1.371 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.535e-06/1.391, allocations: 4 kB / 1.371 GB, free: 34.27 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.784e-05/1.391, allocations: 11.62 kB / 1.371 GB, free: 34.27 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.001081/1.392, allocations: 0.7593 MB / 1.372 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/1.392, allocations: 11.5 kB / 1.372 GB, free: 33.76 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/1.393, allocations: 70.06 kB / 1.372 GB, free: 33.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005509/1.393, allocations: 437.7 kB / 1.372 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/1.393, allocations: 36.41 kB / 1.373 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.735e-05/1.393, allocations: 55.52 kB / 1.373 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007679/1.394, allocations: 0.5042 MB / 1.373 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.394, allocations: 0 / 1.373 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/1.394, allocations: 17.81 kB / 1.373 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/1.394, allocations: 11.34 kB / 1.373 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005218/1.395, allocations: 354.6 kB / 1.373 GB, free: 33.38 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002149/1.397, allocations: 1.75 MB / 1.375 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/1.398, allocations: 476.4 kB / 1.376 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/1.398, allocations: 181.3 kB / 1.376 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/1.398, allocations: 3.781 kB / 1.376 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000315/1.398, allocations: 236.4 kB / 1.376 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 2.224e-06/1.398, allocations: 0 / 1.376 GB, free: 32.66 MB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.0005181/1.399, allocations: 318 kB / 1.376 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/1.399, allocations: 174.2 kB / 1.376 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004664/1.399, allocations: 457.6 kB / 1.377 GB, free: 32.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.484e-05/1.4, allocations: 40.92 kB / 1.377 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/1.4, allocations: 278.4 kB / 1.377 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.894e-05/1.4, allocations: 115.3 kB / 1.377 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/1.4, allocations: 7.312 kB / 1.377 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.4, allocations: 364.3 kB / 1.378 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001618/1.4, allocations: 105 kB / 1.378 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002082/1.4, allocations: 200.9 kB / 1.378 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/1.4, allocations: 126.4 kB / 1.378 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.401, allocations: 3.844 kB / 1.378 GB, free: 31.62 MB / 0.8386 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005169/1.401, allocations: 360.2 kB / 1.378 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001509/1.401, allocations: 363.5 kB / 1.379 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.401, allocations: 3.875 kB / 1.379 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.401, allocations: 0 / 1.379 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003447/1.402, allocations: 89.69 kB / 1.379 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/1.402, allocations: 7.812 kB / 1.379 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000311/1.402, allocations: 94.88 kB / 1.379 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.473e-05/1.402, allocations: 10.58 kB / 1.379 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/1.402, allocations: 7.875 kB / 1.379 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003754/1.402, allocations: 276.2 kB / 1.379 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/1.402, allocations: 0 / 1.379 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.7e-06/1.402, allocations: 7.797 kB / 1.379 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/1.403, allocations: 71.55 kB / 1.379 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/1.403, allocations: 3.781 kB / 1.379 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002407/1.403, allocations: 70.75 kB / 1.379 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/1.403, allocations: 15.41 kB / 1.379 GB, free: 31.1 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.0001065/1.403, allocations: 126.8 kB / 1.38 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.239e-05/1.403, allocations: 54.56 kB / 1.38 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005218/1.404, allocations: 351.8 kB / 1.38 GB, free: 30.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/1.404, allocations: 7.828 kB / 1.38 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/1.404, allocations: 0 / 1.38 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/1.404, allocations: 2.297 kB / 1.38 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/1.405, allocations: 1.049 MB / 1.381 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/1.405, allocations: 4.062 kB / 1.381 GB, free: 30.49 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003361/1.405, allocations: 82.48 kB / 1.381 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.405, allocations: 7.797 kB / 1.381 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/1.405, allocations: 9.891 kB / 1.381 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/1.405, allocations: 3.938 kB / 1.381 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.405, allocations: 0 / 1.381 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006979/1.406, allocations: 0.6032 MB / 1.382 GB, free: 30.28 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.096e-05/1.406, allocations: 144.7 kB / 1.382 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.515e-05/1.406, allocations: 13.08 kB / 1.382 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000284/1.406, allocations: 48.16 kB / 1.382 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.333e-05/1.406, allocations: 29.94 kB / 1.382 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/1.406, allocations: 13.47 kB / 1.382 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003555/1.407, allocations: 358.8 kB / 1.382 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.407, allocations: 0 / 1.382 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004666/1.407, allocations: 176.1 kB / 1.382 GB, free: 30.02 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.0001521/1.407, allocations: 116.4 kB / 1.382 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006076/1.408, allocations: 462.2 kB / 1.383 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.408, allocations: 0 / 1.383 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001927/1.408, allocations: 160 kB / 1.383 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004772/1.409, allocations: 86.7 kB / 1.383 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/1.41, allocations: 0.6488 MB / 1.384 GB, free: 29.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/1.41, allocations: 0.8677 MB / 1.385 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0003261/1.41, allocations: 84.7 kB / 1.385 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.561e-05/1.411, allocations: 33.19 kB / 1.385 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of SimCode: time 8.22e-07/1.411, allocations: 0 / 1.385 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of Templates: time 0.009149/1.42, allocations: 5.513 MB / 1.39 GB, free: 26.43 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