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.204/2.204, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001221/0.001221, allocations: 184.3 kB / 487.4 MB, free: 5.047 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.545/1.545, allocations: 221.5 MB / 0.7824 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009682/0.0009683, allocations: 99.09 kB / 0.9219 GB, free: 2.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.477e-05/1.476e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3113, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.347, allocations: 153.2 MB / 1.356 GB, free: 18.4 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003057/1.347, allocations: 94.7 kB / 1.356 GB, free: 18.39 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01798/1.365, allocations: 7.351 MB / 1.363 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/1.365, allocations: 0 / 1.363 GB, free: 33.67 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.956e-05/1.365, allocations: 11.69 kB / 1.363 GB, free: 33.66 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.0008923/1.366, allocations: 0.6565 MB / 1.364 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.366, allocations: 11.53 kB / 1.364 GB, free: 33.18 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.857e-05/1.366, allocations: 58.41 kB / 1.364 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/1.367, allocations: 390.9 kB / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.529e-05/1.367, allocations: 11.5 kB / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/1.367, allocations: 27.09 kB / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004219/1.367, allocations: 270.7 kB / 1.364 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/1.368, allocations: 358.8 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/1.368, allocations: 0 / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.997e-05/1.368, allocations: 0 / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.768e-06/1.368, allocations: 14.66 kB / 1.365 GB, free: 32.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001608/1.369, allocations: 1.253 MB / 1.366 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/1.37, allocations: 248.9 kB / 1.366 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001484/1.37, allocations: 120.8 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/1.37, allocations: 6.469 kB / 1.366 GB, free: 32.35 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/1.37, allocations: 196 kB / 1.366 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=30): time 1.343e-06/1.37, allocations: 0 / 1.366 GB, free: 32.26 MB / 0.8386 GB Notification: Performance of matching and sorting (n=30): time 0.0004124/1.371, allocations: 250 kB / 1.367 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/1.371, allocations: 166 kB / 1.367 GB, free: 32 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002434/1.371, allocations: 241 kB / 1.367 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/1.371, allocations: 29.67 kB / 1.367 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/1.371, allocations: 234.7 kB / 1.367 GB, free: 31.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.379e-05/1.371, allocations: 87.69 kB / 1.367 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/1.371, allocations: 3.844 kB / 1.367 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001415/1.371, allocations: 333 kB / 1.368 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/1.372, allocations: 101.7 kB / 1.368 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001786/1.372, allocations: 176.1 kB / 1.368 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/1.372, allocations: 125.6 kB / 1.368 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.372, allocations: 0 / 1.368 GB, free: 31.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0005288/1.373, allocations: 332.7 kB / 1.368 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000149/1.373, allocations: 309.4 kB / 1.369 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/1.373, allocations: 3.875 kB / 1.369 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/1.373, allocations: 0 / 1.369 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/1.373, allocations: 59.86 kB / 1.369 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/1.373, allocations: 3.938 kB / 1.369 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003164/1.373, allocations: 79.5 kB / 1.369 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.253e-05/1.373, allocations: 11.47 kB / 1.369 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.733e-06/1.373, allocations: 3.812 kB / 1.369 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000475/1.374, allocations: 281.6 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.053e-06/1.374, allocations: 0 / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.837e-06/1.374, allocations: 3.812 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/1.374, allocations: 55.88 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.036e-06/1.374, allocations: 3.953 kB / 1.369 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/1.374, allocations: 62.02 kB / 1.369 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/1.374, allocations: 17.45 kB / 1.369 GB, free: 30.86 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.0001116/1.375, allocations: 112.8 kB / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/1.375, allocations: 31 kB / 1.369 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004505/1.375, allocations: 281.6 kB / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.375, allocations: 3.75 kB / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.375, allocations: 3.844 kB / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/1.375, allocations: 7.094 kB / 1.37 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007555/1.376, allocations: 0.7499 MB / 1.37 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.376, allocations: 0 / 1.37 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/1.376, allocations: 59.52 kB / 1.37 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/1.376, allocations: 3.875 kB / 1.37 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.078e-05/1.376, allocations: 6.141 kB / 1.37 GB, free: 30.36 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/1.376, allocations: 11.73 kB / 1.37 GB, free: 30.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/1.376, allocations: 3.938 kB / 1.37 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005434/1.377, allocations: 0.5135 MB / 1.371 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/1.377, allocations: 117.5 kB / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.225e-05/1.377, allocations: 3.875 kB / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/1.377, allocations: 21.52 kB / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/1.377, allocations: 19.66 kB / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/1.377, allocations: 11.19 kB / 1.371 GB, free: 30 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001645/1.377, allocations: 188 kB / 1.371 GB, free: 29.92 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.377, allocations: 3.938 kB / 1.371 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004904/1.378, allocations: 161.1 kB / 1.371 GB, free: 29.87 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.0001859/1.378, allocations: 128.9 kB / 1.372 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006253/1.379, allocations: 0.5275 MB / 1.372 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.379, allocations: 3.812 kB / 1.372 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001439/1.379, allocations: 117.9 kB / 1.372 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000386/1.379, allocations: 54.09 kB / 1.372 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008043/1.38, allocations: 472 kB / 1.373 GB, free: 29.4 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003958/1.38, allocations: 0.8265 MB / 1.374 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002057/1.381, allocations: 50.28 kB / 1.374 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/1.381, allocations: 29.42 kB / 1.374 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.381, allocations: 0 / 1.374 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of Templates: time 0.007568/1.388, allocations: 4.165 MB / 1.378 GB, free: 28.38 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