Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.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.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conTSup.yHea|conTSup.yOA|conTSup.yCoo|uEna.y|TSupSet.y|TSup.y",fileNamePrefix="Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.865/2.865, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001721/0.001721, allocations: 179 kB / 498.1 MB, free: 5.738 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.761/1.761, allocations: 223.2 MB / 0.7949 GB, free: 17.82 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.001146/0.001146, allocations: 100.2 kB / 0.9346 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0005232/0.0005233, allocations: 6.844 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3845/0.3851, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/0.6125, allocations: 154 MB / 1.373 GB, free: 8.023 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.6129, allocations: 91.92 kB / 1.373 GB, free: 7.934 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02006/0.6329, allocations: 7.413 MB / 1.381 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.946e-06/0.633, allocations: 0 / 1.381 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.891e-05/0.6331, allocations: 11.98 kB / 1.381 GB, free: 500 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001373/0.6345, allocations: 0.7169 MB / 1.381 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.592e-05/0.6345, allocations: 8.031 kB / 1.381 GB, free: 15.71 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.6347, allocations: 55.34 kB / 1.381 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007163/0.6354, allocations: 387 kB / 1.382 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.269e-05/0.6354, allocations: 36.94 kB / 1.382 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.16e-05/0.6355, allocations: 44 kB / 1.382 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008129/0.6364, allocations: 434.2 kB / 1.382 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.6364, allocations: 0 / 1.382 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.537e-05/0.6365, allocations: 19.98 kB / 1.382 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.6365, allocations: 8 kB / 1.382 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006441/0.6371, allocations: 331.8 kB / 1.383 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002175/0.6393, allocations: 1.359 MB / 1.384 GB, free: 12.95 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006865/0.64, allocations: 306.8 kB / 1.384 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.519e-05/0.6401, allocations: 4.234 kB / 1.384 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004615/0.6405, allocations: 231.9 kB / 1.384 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=30): time 2.364e-06/0.6405, allocations: 0 / 1.384 GB, free: 12.39 MB / 0.8855 GB Notification: Performance of matching and sorting (n=30): time 0.0008994/0.6415, allocations: 397.1 kB / 1.385 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/0.6416, allocations: 162.2 kB / 1.385 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004542/0.6421, allocations: 356.9 kB / 1.385 GB, free: 11.44 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.6421, allocations: 33.7 kB / 1.385 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.6423, allocations: 216.4 kB / 1.386 GB, free: 11.19 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 9.338e-05/0.6424, allocations: 102.5 kB / 1.386 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.6425, allocations: 4 kB / 1.386 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.6427, allocations: 350.8 kB / 1.386 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.6429, allocations: 131.9 kB / 1.386 GB, free: 10.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003339/0.6433, allocations: 199 kB / 1.386 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003169/0.6436, allocations: 165.8 kB / 1.386 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6436, allocations: 4 kB / 1.386 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0007771/0.6444, allocations: 424.2 kB / 1.387 GB, free: 9.781 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001995/0.6446, allocations: 309.3 kB / 1.387 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.6446, allocations: 0 / 1.387 GB, free: 9.453 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.6447, allocations: 4 kB / 1.387 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.645, allocations: 59.97 kB / 1.387 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.645, allocations: 0 / 1.387 GB, free: 9.391 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.6454, allocations: 91.48 kB / 1.387 GB, free: 9.301 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/0.6454, allocations: 15.98 kB / 1.387 GB, free: 9.285 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/0.6455, allocations: 4 kB / 1.387 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006468/0.6461, allocations: 350.8 kB / 1.388 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.6461, allocations: 0 / 1.388 GB, free: 8.934 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.6461, allocations: 7.953 kB / 1.388 GB, free: 8.926 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.6464, allocations: 55.91 kB / 1.388 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.6464, allocations: 3.938 kB / 1.388 GB, free: 8.867 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.6467, allocations: 83.7 kB / 1.388 GB, free: 8.785 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/0.6467, allocations: 11.98 kB / 1.388 GB, free: 8.773 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,$whenCondition3,$PRE.uEna.y,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * 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.0003165/0.6471, allocations: 248.8 kB / 1.388 GB, free: 8.52 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.6471, allocations: 43.44 kB / 1.388 GB, free: 8.477 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007441/0.6479, allocations: 350.2 kB / 1.388 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.6479, allocations: 7.938 kB / 1.388 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.6479, allocations: 0 / 1.388 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.6479, allocations: 0 / 1.388 GB, free: 8.117 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001339/0.6493, allocations: 0.8792 MB / 1.389 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.6493, allocations: 0 / 1.389 GB, free: 7.172 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002546/0.6496, allocations: 55.91 kB / 1.389 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.6496, allocations: 4.094 kB / 1.389 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.945e-05/0.6496, allocations: 11.98 kB / 1.389 GB, free: 7.102 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.051e-05/0.6496, allocations: 4 kB / 1.389 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6496, allocations: 0 / 1.389 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009463/0.6506, allocations: 0.6055 MB / 1.39 GB, free: 6.449 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.6507, allocations: 124.6 kB / 1.39 GB, free: 6.309 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.6508, allocations: 20 kB / 1.39 GB, free: 6.289 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.651, allocations: 27.97 kB / 1.39 GB, free: 6.262 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.456e-05/0.6511, allocations: 19.92 kB / 1.39 GB, free: 6.242 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.232e-05/0.6511, allocations: 12 kB / 1.39 GB, free: 6.23 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003356/0.6514, allocations: 279.2 kB / 1.39 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6515, allocations: 0 / 1.39 GB, free: 5.961 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006076/0.6521, allocations: 163.6 kB / 1.391 GB, free: 5.801 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002798/0.6524, allocations: 127.1 kB / 1.391 GB, free: 5.668 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.6535, allocations: 0.5962 MB / 1.391 GB, free: 5.047 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.6535, allocations: 0 / 1.391 GB, free: 5.047 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.6538, allocations: 139.8 kB / 1.391 GB, free: 4.91 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004451/0.6543, allocations: 65.78 kB / 1.391 GB, free: 4.848 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.6557, allocations: 0.8134 MB / 1.392 GB, free: 3.996 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.6562, allocations: 0.8124 MB / 1.393 GB, free: 3.16 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001948/0.6564, allocations: 51.2 kB / 1.393 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.719e-05/0.6565, allocations: 39.42 kB / 1.393 GB, free: 3.07 MB / 0.8855 GB Notification: Performance of SimCode: time 4.31e-07/0.6565, allocations: 0 / 1.393 GB, free: 3.07 MB / 0.8855 GB Notification: Performance of Templates: time 0.009839/0.6664, allocations: 4.537 MB / 1.398 GB, free: 14.58 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","../files/Buildings_9_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches