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.451/2.451, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001238/0.001238, allocations: 177.1 kB / 498.1 MB, free: 5.766 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.797/1.797, allocations: 223.2 MB / 0.7949 GB, free: 18.81 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.0009294/0.0009295, allocations: 88.33 kB / 0.9346 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004188/0.0004188, allocations: 9.469 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3862, allocations: 142.4 MB / 1.223 GB, free: 89.6 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2206/0.6069, allocations: 153.9 MB / 1.373 GB, free: 15.54 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/0.6073, allocations: 87.94 kB / 1.373 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.02279/0.6301, allocations: 8.779 MB / 1.382 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.685e-06/0.6301, allocations: 0 / 1.382 GB, free: 6.656 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.704e-05/0.6302, allocations: 16 kB / 1.382 GB, free: 6.641 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.001849/0.632, allocations: 0.8511 MB / 1.383 GB, free: 5.742 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 8.369e-05/0.6321, allocations: 12.03 kB / 1.383 GB, free: 5.73 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.6323, allocations: 67.16 kB / 1.383 GB, free: 5.664 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008488/0.6332, allocations: 440.7 kB / 1.383 GB, free: 5.191 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.112e-05/0.6333, allocations: 37.31 kB / 1.383 GB, free: 5.152 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.204e-05/0.6334, allocations: 52 kB / 1.383 GB, free: 5.102 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.6346, allocations: 0.5615 MB / 1.384 GB, free: 4.527 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.6346, allocations: 0 / 1.384 GB, free: 4.527 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.671e-05/0.6347, allocations: 20 kB / 1.384 GB, free: 4.508 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.6347, allocations: 15.94 kB / 1.384 GB, free: 4.492 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009828/0.6357, allocations: 459.8 kB / 1.384 GB, free: 4.043 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00303/0.6388, allocations: 1.746 MB / 1.386 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001517/0.6403, allocations: 0.5571 MB / 1.386 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.977e-05/0.6404, allocations: 11.98 kB / 1.387 GB, free: 1.656 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006735/0.641, allocations: 282.7 kB / 1.387 GB, free: 1.359 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 4.789e-06/0.6411, allocations: 3.938 kB / 1.387 GB, free: 1.355 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.001406/0.6425, allocations: 0.5641 MB / 1.387 GB, free: 0.7852 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.6426, allocations: 166.1 kB / 1.387 GB, free: 0.5859 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006558/0.6433, allocations: 453.4 kB / 1.388 GB, free: 140 kB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 5.779e-05/0.6434, allocations: 37.7 kB / 1.388 GB, free: 96 kB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003187/0.6437, allocations: 284.4 kB / 1.388 GB, free: 15.8 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.6438, allocations: 122.2 kB / 1.388 GB, free: 15.69 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.888e-05/0.6439, allocations: 8 kB / 1.388 GB, free: 15.68 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0002326/0.6441, allocations: 362.8 kB / 1.389 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003723/0.6445, allocations: 159.9 kB / 1.389 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/0.6449, allocations: 240.8 kB / 1.389 GB, free: 14.89 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003966/0.6453, allocations: 178.1 kB / 1.389 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.6454, allocations: 0 / 1.389 GB, free: 14.72 MB / 0.9011 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0009558/0.6463, allocations: 470.8 kB / 1.39 GB, free: 14.25 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001977/0.6465, allocations: 363.9 kB / 1.39 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.6466, allocations: 4 kB / 1.39 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.534e-05/0.6466, allocations: 0 / 1.39 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.647, allocations: 91.88 kB / 1.39 GB, free: 13.78 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.647, allocations: 3.938 kB / 1.39 GB, free: 13.77 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.6474, allocations: 91.48 kB / 1.39 GB, free: 13.68 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.6474, allocations: 12 kB / 1.39 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/0.6474, allocations: 8 kB / 1.39 GB, free: 13.66 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006204/0.648, allocations: 320 kB / 1.391 GB, free: 13.35 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.6481, allocations: 16.03 kB / 1.391 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.058e-06/0.6481, allocations: 0 / 1.391 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002762/0.6484, allocations: 75.84 kB / 1.391 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.6484, allocations: 4 kB / 1.391 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.6486, allocations: 79.55 kB / 1.391 GB, free: 13.18 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.6487, allocations: 8 kB / 1.391 GB, free: 13.17 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.0003468/0.649, allocations: 269 kB / 1.391 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.11e-05/0.6491, allocations: 51.34 kB / 1.391 GB, free: 12.85 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009386/0.6501, allocations: 462 kB / 1.391 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.6501, allocations: 4 kB / 1.391 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.6501, allocations: 64 / 1.391 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.6501, allocations: 4 kB / 1.391 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/0.6516, allocations: 1.142 MB / 1.393 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.6516, allocations: 3.953 kB / 1.393 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003368/0.652, allocations: 83.89 kB / 1.393 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.652, allocations: 0 / 1.393 GB, free: 11.09 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.652, allocations: 8 kB / 1.393 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.652, allocations: 0 / 1.393 GB, free: 11.08 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6521, allocations: 7.969 kB / 1.393 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.6534, allocations: 0.7549 MB / 1.393 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.6535, allocations: 136.4 kB / 1.394 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.966e-05/0.6536, allocations: 8 kB / 1.394 GB, free: 10.13 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.6539, allocations: 56.02 kB / 1.394 GB, free: 10.08 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/0.654, allocations: 31.95 kB / 1.394 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.396e-05/0.654, allocations: 8 kB / 1.394 GB, free: 10.04 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004265/0.6544, allocations: 362.9 kB / 1.394 GB, free: 9.688 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6544, allocations: 4 kB / 1.394 GB, free: 9.684 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005415/0.655, allocations: 171.4 kB / 1.394 GB, free: 9.516 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.0002206/0.6552, allocations: 123.2 kB / 1.394 GB, free: 9.387 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.00113/0.6563, allocations: 0.5501 MB / 1.395 GB, free: 8.836 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6563, allocations: 0 / 1.395 GB, free: 8.836 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003888/0.6567, allocations: 208.1 kB / 1.395 GB, free: 8.633 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005232/0.6573, allocations: 92.66 kB / 1.395 GB, free: 8.547 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.6589, allocations: 1.069 MB / 1.396 GB, free: 7.445 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004556/0.6594, allocations: 0.8705 MB / 1.397 GB, free: 6.543 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002457/0.6597, allocations: 56.23 kB / 1.397 GB, free: 6.484 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.6598, allocations: 43.42 kB / 1.397 GB, free: 6.445 MB / 0.9011 GB Notification: Performance of SimCode: time 5.11e-07/0.6598, allocations: 0 / 1.397 GB, free: 6.445 MB / 0.9011 GB Notification: Performance of Templates: time 0.01015/0.67, allocations: 4.778 MB / 1.402 GB, free: 1.707 MB / 0.9011 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