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.231/2.231, allocations: 387.1 MB / 399.7 MB, free: 9.504 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.001082/0.001082, allocations: 184 kB / 492.3 MB, free: 0.6094 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.557/1.557, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.001073/0.001073, allocations: 101 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.103e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3073/0.3074, allocations: 142.3 MB / 1.212 GB, free: 38.51 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.383, allocations: 153.9 MB / 1.363 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004451/1.384, allocations: 91.84 kB / 1.363 GB, free: 19.03 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01985/1.404, allocations: 7.402 MB / 1.37 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.645e-06/1.404, allocations: 0 / 1.37 GB, free: 34.28 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.003e-05/1.404, allocations: 11.62 kB / 1.37 GB, free: 34.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: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001027/1.405, allocations: 0.661 MB / 1.371 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/1.405, allocations: 7.688 kB / 1.371 GB, free: 33.78 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/1.405, allocations: 54.38 kB / 1.371 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005891/1.406, allocations: 387.9 kB / 1.371 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/1.406, allocations: 30.56 kB / 1.371 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.042e-05/1.406, allocations: 44.78 kB / 1.371 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006683/1.407, allocations: 416.8 kB / 1.372 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/1.407, allocations: 0 / 1.372 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/1.407, allocations: 17.19 kB / 1.372 GB, free: 33.44 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/1.407, allocations: 15.8 kB / 1.372 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004445/1.407, allocations: 289.5 kB / 1.372 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001764/1.409, allocations: 1.367 MB / 1.373 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/1.409, allocations: 264.7 kB / 1.373 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/1.41, allocations: 129.7 kB / 1.374 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/1.41, allocations: 4.172 kB / 1.374 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/1.41, allocations: 216 kB / 1.374 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.503e-06/1.41, allocations: 0 / 1.374 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0004804/1.41, allocations: 273.1 kB / 1.374 GB, free: 32.75 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.64e-05/1.41, allocations: 162 kB / 1.374 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003561/1.411, allocations: 347.1 kB / 1.375 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/1.411, allocations: 38.38 kB / 1.375 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/1.411, allocations: 221.2 kB / 1.375 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/1.411, allocations: 97.89 kB / 1.375 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/1.411, allocations: 6.812 kB / 1.375 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.411, allocations: 349.8 kB / 1.375 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001903/1.411, allocations: 105.5 kB / 1.375 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002047/1.412, allocations: 176.2 kB / 1.375 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002084/1.412, allocations: 153.6 kB / 1.376 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.412, allocations: 0 / 1.376 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005134/1.412, allocations: 395.2 kB / 1.376 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000119/1.413, allocations: 305.7 kB / 1.376 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.413, allocations: 0 / 1.376 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/1.413, allocations: 3.875 kB / 1.376 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002542/1.413, allocations: 60.92 kB / 1.376 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.447e-06/1.413, allocations: 0 / 1.376 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003401/1.413, allocations: 90.86 kB / 1.376 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.596e-05/1.413, allocations: 17.73 kB / 1.376 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.234e-06/1.413, allocations: 3.844 kB / 1.376 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004771/1.414, allocations: 328.3 kB / 1.377 GB, free: 31.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.993e-06/1.414, allocations: 4.062 kB / 1.377 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.308e-06/1.414, allocations: 7.797 kB / 1.377 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/1.414, allocations: 54.72 kB / 1.377 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.615e-06/1.414, allocations: 0 / 1.377 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002975/1.414, allocations: 83.28 kB / 1.377 GB, free: 31.31 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/1.414, allocations: 17.56 kB / 1.377 GB, free: 31.31 MB / 0.8386 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 () * 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.0001095/1.414, allocations: 122.5 kB / 1.377 GB, free: 31.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.489e-05/1.415, allocations: 41.8 kB / 1.377 GB, free: 31.18 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/1.415, allocations: 312.2 kB / 1.377 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/1.415, allocations: 7.953 kB / 1.377 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.415, allocations: 7.812 kB / 1.377 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/1.415, allocations: 3.938 kB / 1.377 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009001/1.416, allocations: 0.8413 MB / 1.378 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.416, allocations: 0 / 1.378 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/1.416, allocations: 62.05 kB / 1.378 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/1.416, allocations: 3.906 kB / 1.378 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/1.416, allocations: 14.81 kB / 1.378 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.416, allocations: 0 / 1.378 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.416, allocations: 3.875 kB / 1.378 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006064/1.417, allocations: 0.5523 MB / 1.379 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.606e-05/1.417, allocations: 124.8 kB / 1.379 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.48e-05/1.417, allocations: 10.22 kB / 1.379 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/1.417, allocations: 23.36 kB / 1.379 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/1.417, allocations: 21.39 kB / 1.379 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/1.417, allocations: 21.67 kB / 1.379 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002706/1.418, allocations: 272 kB / 1.379 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/1.418, allocations: 0 / 1.379 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004889/1.418, allocations: 158.2 kB / 1.379 GB, free: 30.29 MB / 0.8386 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 () * 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.0001895/1.418, allocations: 127.8 kB / 1.38 GB, free: 30.19 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007296/1.419, allocations: 0.5663 MB / 1.38 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.419, allocations: 4.094 kB / 1.38 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/1.419, allocations: 127.2 kB / 1.38 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004082/1.42, allocations: 65.02 kB / 1.38 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008382/1.42, allocations: 0.4931 MB / 1.381 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000367/1.421, allocations: 0.8177 MB / 1.382 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002356/1.421, allocations: 64.88 kB / 1.382 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.604e-05/1.421, allocations: 29.47 kB / 1.382 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of SimCode: time 3.4e-07/1.421, allocations: 3.844 kB / 1.382 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of Templates: time 0.008606/1.43, allocations: 5.033 MB / 1.387 GB, free: 27.48 MB / 0.8386 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