Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.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.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanAirTra.u1SupFan|retFanAirTra.VAirSup_flow|retFanAirTra.VAirRet_flow|retFanAirTra.difFloSet|retFanAirTra.yRetFan|retFanAirTra1.u1SupFan|retFanAirTra1.VAirSup_flow|retFanAirTra1.VAirRet_flow|retFanAirTra1.difFloSet|retFanAirTra1.yRetFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking") translateModel(Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|retFanAirTra.u1SupFan|retFanAirTra.VAirSup_flow|retFanAirTra.VAirRet_flow|retFanAirTra.difFloSet|retFanAirTra.yRetFan|retFanAirTra1.u1SupFan|retFanAirTra1.VAirSup_flow|retFanAirTra1.VAirRet_flow|retFanAirTra1.difFloSet|retFanAirTra1.yRetFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.2/2.2, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001154/0.001154, allocations: 173.2 kB / 498.1 MB, free: 5.734 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.532/1.532, allocations: 223.2 MB / 0.7948 GB, free: 17.92 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.001075/0.001075, allocations: 97.14 kB / 0.9346 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003971/0.0003972, allocations: 10.5 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3403/0.3407, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1944/0.5352, allocations: 151.7 MB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002357/0.5355, allocations: 83.42 kB / 1.371 GB, free: 10.3 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0232/0.5587, allocations: 9.211 MB / 1.38 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.354e-06/0.5587, allocations: 0 / 1.38 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.056e-05/0.5588, allocations: 8 kB / 1.38 GB, free: 1.07 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.002088/0.5609, allocations: 0.8418 MB / 1.381 GB, free: 176 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/0.561, allocations: 8.031 kB / 1.381 GB, free: 168 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002723/0.5612, allocations: 71.16 kB / 1.381 GB, free: 96 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000889/0.5622, allocations: 416.9 kB / 1.381 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.375e-05/0.5622, allocations: 37 kB / 1.381 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.5624, allocations: 52 kB / 1.382 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001187/0.5636, allocations: 0.5146 MB / 1.382 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.5636, allocations: 3.938 kB / 1.382 GB, free: 15.02 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/0.5636, allocations: 20 kB / 1.382 GB, free: 15 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.5637, allocations: 12 kB / 1.382 GB, free: 14.99 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001035/0.5647, allocations: 435.8 kB / 1.382 GB, free: 14.57 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.5674, allocations: 1.64 MB / 1.384 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/0.5687, allocations: 0.64 MB / 1.385 GB, free: 12.18 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.913e-05/0.5688, allocations: 4.281 kB / 1.385 GB, free: 12.17 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005892/0.5694, allocations: 255.3 kB / 1.385 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=37): time 2.485e-06/0.5694, allocations: 0 / 1.385 GB, free: 11.91 MB / 0.8855 GB Notification: Performance of matching and sorting (n=37): time 0.001382/0.5708, allocations: 0.5899 MB / 1.386 GB, free: 11.31 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.803e-05/0.5709, allocations: 110.8 kB / 1.386 GB, free: 11.18 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005103/0.5714, allocations: 385.2 kB / 1.386 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.5715, allocations: 33.7 kB / 1.386 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.5717, allocations: 256.5 kB / 1.386 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001273/0.5718, allocations: 126.2 kB / 1.386 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.5719, allocations: 8 kB / 1.386 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001816/0.5721, allocations: 354.8 kB / 1.387 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004889/0.5726, allocations: 188.2 kB / 1.387 GB, free: 9.828 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004919/0.5731, allocations: 256 kB / 1.387 GB, free: 9.551 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004691/0.5735, allocations: 217.6 kB / 1.387 GB, free: 9.332 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.5736, allocations: 4 kB / 1.387 GB, free: 9.328 MB / 0.8855 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.00114/0.5747, allocations: 0.5422 MB / 1.388 GB, free: 8.773 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002498/0.575, allocations: 478.6 kB / 1.388 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.575, allocations: 0 / 1.388 GB, free: 8.266 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.575, allocations: 4 kB / 1.388 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.5754, allocations: 87.88 kB / 1.388 GB, free: 8.176 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.5754, allocations: 4 kB / 1.388 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.5758, allocations: 103.7 kB / 1.389 GB, free: 8.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.147e-05/0.5759, allocations: 16 kB / 1.389 GB, free: 8.055 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.5759, allocations: 4 kB / 1.389 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008753/0.5768, allocations: 421.2 kB / 1.389 GB, free: 7.633 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5768, allocations: 0 / 1.389 GB, free: 7.633 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.5768, allocations: 8 kB / 1.389 GB, free: 7.625 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002673/0.5771, allocations: 75.97 kB / 1.389 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.5771, allocations: 0 / 1.389 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003933/0.5775, allocations: 91.62 kB / 1.389 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.487e-05/0.5776, allocations: 23.94 kB / 1.389 GB, free: 7.438 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.yFan.y,yFan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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.0002962/0.5779, allocations: 257 kB / 1.389 GB, free: 7.176 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-05/0.5779, allocations: 51.38 kB / 1.389 GB, free: 7.125 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.578, allocations: 48.52 kB / 1.39 GB, free: 7.078 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.5781, allocations: 4 kB / 1.39 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/0.5781, allocations: 0 / 1.39 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5781, allocations: 0 / 1.39 GB, free: 7.074 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001771/0.5799, allocations: 1.11 MB / 1.391 GB, free: 5.906 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.5799, allocations: 4 kB / 1.391 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.5802, allocations: 75.89 kB / 1.391 GB, free: 5.828 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/0.5802, allocations: 4 kB / 1.391 GB, free: 5.824 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.136e-05/0.5803, allocations: 7.984 kB / 1.391 GB, free: 5.816 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.963e-06/0.5803, allocations: 7.953 kB / 1.391 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.5803, allocations: 0 / 1.391 GB, free: 5.809 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001495/0.5818, allocations: 0.7457 MB / 1.391 GB, free: 5.047 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001469/0.582, allocations: 132.5 kB / 1.392 GB, free: 4.898 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.582, allocations: 4 kB / 1.392 GB, free: 4.895 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.5823, allocations: 48.02 kB / 1.392 GB, free: 4.848 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.5824, allocations: 27.92 kB / 1.392 GB, free: 4.82 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.522e-05/0.5824, allocations: 8 kB / 1.392 GB, free: 4.812 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003924/0.5828, allocations: 307.1 kB / 1.392 GB, free: 4.516 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.61e-07/0.5828, allocations: 4 kB / 1.392 GB, free: 4.512 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000601/0.5835, allocations: 187.3 kB / 1.392 GB, free: 4.328 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (retFanAirTra.conP.I.y,retFanAirTra1.conP.I.y) * Number of discrete variables: 5 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,yFan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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.0002563/0.5837, allocations: 132.5 kB / 1.392 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001431/0.5852, allocations: 0.7408 MB / 1.393 GB, free: 3.426 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5852, allocations: 4.5 kB / 1.393 GB, free: 3.422 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004305/0.5856, allocations: 211.5 kB / 1.393 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/0.5862, allocations: 94.61 kB / 1.393 GB, free: 3.125 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00194/0.5881, allocations: 1.032 MB / 1.394 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.5886, allocations: 0.8471 MB / 1.395 GB, free: 1.188 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002379/0.5888, allocations: 55.38 kB / 1.395 GB, free: 1.133 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.5889, allocations: 31.44 kB / 1.395 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of SimCode: time 1.9e-07/0.589, allocations: 0 / 1.395 GB, free: 1.105 MB / 0.8855 GB Notification: Performance of Templates: time 0.01376/0.6027, allocations: 5.566 MB / 1.401 GB, free: 11.64 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_AHUs_MultiZone_VAV_SetPoints_Validation_ReturnFanAirflowTracking.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.AHUs.MultiZone.VAV.SetPoints.Validation.ReturnFanAirflowTracking.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches