Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.347/2.347, allocations: 390.5 MB / 398 MB, free: 10.93 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.001059/0.001059, allocations: 187 kB / 491.2 MB, free: 1.562 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.576/1.576, allocations: 221.5 MB / 0.7868 GB, free: 13.31 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.001219/0.00122, allocations: 91.77 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.975e-05/1.99e-05, allocations: 4 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2972, allocations: 143 MB / 1.212 GB, free: 39.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.41, allocations: 154 MB / 1.363 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/1.411, allocations: 91.25 kB / 1.363 GB, free: 17.55 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01803/1.429, allocations: 7.34 MB / 1.37 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.755e-06/1.429, allocations: 2.297 kB / 1.37 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.416e-05/1.429, allocations: 11.69 kB / 1.37 GB, free: 32.81 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.0009008/1.43, allocations: 0.6556 MB / 1.371 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/1.43, allocations: 11.62 kB / 1.371 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.03e-05/1.43, allocations: 58.22 kB / 1.371 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005733/1.43, allocations: 386.1 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/1.43, allocations: 15.41 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.997e-05/1.431, allocations: 29.97 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004419/1.431, allocations: 265 kB / 1.371 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005112/1.431, allocations: 360 kB / 1.372 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.432, allocations: 0 / 1.372 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/1.432, allocations: 3.969 kB / 1.372 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.896e-06/1.432, allocations: 11.78 kB / 1.372 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001677/1.433, allocations: 1.258 MB / 1.373 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004308/1.434, allocations: 254.1 kB / 1.373 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/1.434, allocations: 115.3 kB / 1.373 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.967e-05/1.434, allocations: 7.156 kB / 1.373 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002943/1.434, allocations: 190.4 kB / 1.374 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/1.434, allocations: 0 / 1.374 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0004205/1.435, allocations: 248 kB / 1.374 GB, free: 31.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.501e-05/1.435, allocations: 165.9 kB / 1.374 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/1.435, allocations: 237.5 kB / 1.374 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.047e-05/1.435, allocations: 25.7 kB / 1.374 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001486/1.435, allocations: 234.2 kB / 1.374 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.969e-05/1.435, allocations: 89.91 kB / 1.374 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.035e-05/1.435, allocations: 4 kB / 1.374 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001304/1.435, allocations: 339 kB / 1.375 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/1.436, allocations: 102.8 kB / 1.375 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/1.436, allocations: 175.5 kB / 1.375 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00031/1.436, allocations: 128.5 kB / 1.375 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/1.436, allocations: 0 / 1.375 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005591/1.437, allocations: 339.8 kB / 1.376 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/1.437, allocations: 302.7 kB / 1.376 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.437, allocations: 0 / 1.376 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/1.437, allocations: 3.812 kB / 1.376 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002557/1.437, allocations: 58.34 kB / 1.376 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/1.437, allocations: 3.875 kB / 1.376 GB, free: 30.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003291/1.437, allocations: 77.48 kB / 1.376 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.924e-05/1.438, allocations: 10.22 kB / 1.376 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/1.438, allocations: 3.844 kB / 1.376 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004902/1.438, allocations: 277.9 kB / 1.376 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/1.438, allocations: 7.938 kB / 1.376 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.796e-06/1.438, allocations: 0 / 1.376 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/1.438, allocations: 59.58 kB / 1.376 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.846e-06/1.438, allocations: 7.812 kB / 1.376 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002875/1.439, allocations: 63 kB / 1.376 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.783e-05/1.439, allocations: 17.72 kB / 1.376 GB, free: 30 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.0001138/1.439, allocations: 108.7 kB / 1.376 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.131e-05/1.439, allocations: 34.95 kB / 1.377 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004422/1.439, allocations: 287.7 kB / 1.377 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/1.439, allocations: 3.906 kB / 1.377 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.439, allocations: 7.953 kB / 1.377 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.439, allocations: 0 / 1.377 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007904/1.44, allocations: 0.7473 MB / 1.378 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.44, allocations: 0 / 1.378 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/1.44, allocations: 57.5 kB / 1.378 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/1.44, allocations: 7.938 kB / 1.378 GB, free: 29.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/1.44, allocations: 7.797 kB / 1.378 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/1.44, allocations: 3.984 kB / 1.378 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.44, allocations: 3.844 kB / 1.378 GB, free: 29.49 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/1.441, allocations: 0.5161 MB / 1.378 GB, free: 29.26 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/1.441, allocations: 114.4 kB / 1.378 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.805e-05/1.441, allocations: 3.875 kB / 1.378 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001894/1.441, allocations: 21.75 kB / 1.378 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.61e-05/1.441, allocations: 17.92 kB / 1.378 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.632e-05/1.441, allocations: 11.81 kB / 1.378 GB, free: 29.14 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.000151/1.441, allocations: 188.7 kB / 1.378 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.441, allocations: 0 / 1.378 GB, free: 29.07 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004797/1.442, allocations: 164.5 kB / 1.379 GB, free: 29.02 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.0001911/1.442, allocations: 125.4 kB / 1.379 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006408/1.443, allocations: 0.5307 MB / 1.379 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.443, allocations: 256 / 1.379 GB, free: 28.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001497/1.443, allocations: 126.2 kB / 1.379 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/1.443, allocations: 50.2 kB / 1.379 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008277/1.444, allocations: 485.2 kB / 1.38 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/1.445, allocations: 0.8146 MB / 1.381 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002194/1.445, allocations: 48.41 kB / 1.381 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.348e-05/1.445, allocations: 32.91 kB / 1.381 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.445, allocations: 0 / 1.381 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of Templates: time 0.007627/1.453, allocations: 4.156 MB / 1.385 GB, free: 27.01 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_VAVReheat_BaseClasses_Controls_Examples_SupplyAirTemperature.csv","../files/Buildings_latest_Buildings.Examples.VAVReheat.BaseClasses.Controls.Examples.SupplyAirTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches