Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.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_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numOfOcc.y|outAirSet_SinZon.TZon|outAirSet_SinZon.TDis|outAirSet_SinZon.VOutMinSet_flow|outAirSet_SinZon_noOccSen.VOutMinSet_flow|outAirSet_SinZon.uOpeMod|outAirSet_SinZon.uSupFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|numOfOcc.y|outAirSet_SinZon.TZon|outAirSet_SinZon.TDis|outAirSet_SinZon.VOutMinSet_flow|outAirSet_SinZon_noOccSen.VOutMinSet_flow|outAirSet_SinZon.uOpeMod|outAirSet_SinZon.uSupFan",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.379/2.379, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001279/0.001278, allocations: 180.2 kB / 498.1 MB, free: 5.789 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.54/1.54, allocations: 223.2 MB / 0.7949 GB, free: 18.88 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.0009982/0.0009977, allocations: 105.7 kB / 0.9346 GB, free: 7.184 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004014/0.0004015, allocations: 8.344 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.312/0.3124, allocations: 142.3 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2005/0.513, allocations: 150.5 MB / 1.37 GB, free: 2.855 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/0.5133, allocations: 83.94 kB / 1.37 GB, free: 2.773 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01305/0.5264, allocations: 5.548 MB / 1.375 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.215e-06/0.5265, allocations: 0 / 1.375 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 2.211e-05/0.5265, allocations: 12 kB / 1.375 GB, free: 13.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001058/0.5276, allocations: 0.6627 MB / 1.376 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.5276, allocations: 11.97 kB / 1.376 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.5277, allocations: 51.44 kB / 1.376 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004452/0.5282, allocations: 323.1 kB / 1.376 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.302e-05/0.5282, allocations: 29 kB / 1.376 GB, free: 12.04 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.05e-05/0.5283, allocations: 44 kB / 1.376 GB, free: 12 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007799/0.5291, allocations: 390.5 kB / 1.377 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.5291, allocations: 0 / 1.377 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.5292, allocations: 19.94 kB / 1.377 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.243e-05/0.5292, allocations: 12 kB / 1.377 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007885/0.53, allocations: 355.8 kB / 1.377 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.532, allocations: 1.232 MB / 1.378 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008096/0.5328, allocations: 342.2 kB / 1.379 GB, free: 9.57 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 2.06e-05/0.5328, allocations: 7.938 kB / 1.379 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.5329, allocations: 30.56 kB / 1.379 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/0.5329, allocations: 0 / 1.379 GB, free: 9.523 MB / 0.8855 GB Notification: Performance of matching and sorting (n=17): time 0.0009618/0.5338, allocations: 371 kB / 1.379 GB, free: 9.156 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/0.5339, allocations: 55.41 kB / 1.379 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004288/0.5343, allocations: 381 kB / 1.38 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.962e-05/0.5344, allocations: 29.7 kB / 1.38 GB, free: 8.68 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001758/0.5345, allocations: 228.3 kB / 1.38 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 5.769e-05/0.5346, allocations: 55.2 kB / 1.38 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.231e-05/0.5346, allocations: 4 kB / 1.38 GB, free: 8.395 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5348, allocations: 350.8 kB / 1.38 GB, free: 8.043 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.5351, allocations: 115.9 kB / 1.38 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.5354, allocations: 152.2 kB / 1.38 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/0.5357, allocations: 118.2 kB / 1.381 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.5357, allocations: 0 / 1.381 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006726/0.5364, allocations: 319 kB / 1.381 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/0.5364, allocations: 8 kB / 1.381 GB, free: 7.328 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.5365, allocations: 4.047 kB / 1.381 GB, free: 7.324 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.5365, allocations: 3.984 kB / 1.381 GB, free: 7.32 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.5367, allocations: 59.89 kB / 1.381 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5367, allocations: 0 / 1.381 GB, free: 7.262 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002372/0.537, allocations: 63.66 kB / 1.381 GB, free: 7.199 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.628e-05/0.537, allocations: 4 kB / 1.381 GB, free: 7.195 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: 10 (outAirSet_SinZon_noOccSen.occSen.y,outAirSet_SinZon.occSen.y,$PRE.outAirSet_SinZon.hys.y,outAirSet_SinZon.hys.y,$PRE.outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.not1.y,outAirSet_SinZon_noOccSen.not1.y,outAirSet_SinZon_noOccSen.and1.u2,outAirSet_SinZon.and1.u2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * 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.0002052/0.5372, allocations: 169.7 kB / 1.381 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.5373, allocations: 35.53 kB / 1.381 GB, free: 6.984 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.447e-05/0.5374, allocations: 39.69 kB / 1.381 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.5374, allocations: 0 / 1.381 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.5374, allocations: 0 / 1.381 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.5374, allocations: 4 kB / 1.381 GB, free: 6.938 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.5385, allocations: 0.7409 MB / 1.382 GB, free: 6.141 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5385, allocations: 3.938 kB / 1.382 GB, free: 6.137 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002658/0.5388, allocations: 55.91 kB / 1.382 GB, free: 6.082 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.5388, allocations: 0 / 1.382 GB, free: 6.082 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.5388, allocations: 4 kB / 1.382 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.5388, allocations: 0 / 1.382 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.5388, allocations: 3.984 kB / 1.382 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006597/0.5395, allocations: 376.1 kB / 1.382 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-05/0.5396, allocations: 120.6 kB / 1.382 GB, free: 5.555 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.5396, allocations: 4 kB / 1.382 GB, free: 5.551 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.5399, allocations: 31.97 kB / 1.383 GB, free: 5.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.26e-05/0.54, allocations: 35.89 kB / 1.383 GB, free: 5.484 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.26e-05/0.54, allocations: 8 kB / 1.383 GB, free: 5.477 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002925/0.5403, allocations: 291.1 kB / 1.383 GB, free: 5.195 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5403, allocations: 0 / 1.383 GB, free: 5.195 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002921/0.5406, allocations: 67.84 kB / 1.383 GB, free: 5.129 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (outAirSet_SinZon.hys.y,outAirSet_SinZon_noOccSen.hys.y) * Number of discrete states: 2 (outAirSet_SinZon_noOccSen.hys.y,outAirSet_SinZon.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001467/0.5407, allocations: 112.1 kB / 1.383 GB, free: 5.012 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006643/0.5414, allocations: 247.8 kB / 1.383 GB, free: 4.77 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5414, allocations: 0 / 1.383 GB, free: 4.77 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002891/0.5417, allocations: 121.1 kB / 1.383 GB, free: 4.652 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.542, allocations: 33.52 kB / 1.383 GB, free: 4.617 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001104/0.5431, allocations: 0.7124 MB / 1.384 GB, free: 3.871 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.5435, allocations: 0.8108 MB / 1.385 GB, free: 3.035 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000124/0.5436, allocations: 30.97 kB / 1.385 GB, free: 3.008 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.5437, allocations: 27.42 kB / 1.385 GB, free: 2.98 MB / 0.8855 GB Notification: Performance of SimCode: time 2.2e-07/0.5437, allocations: 0 / 1.385 GB, free: 2.98 MB / 0.8855 GB Notification: Performance of Templates: time 0.006194/0.5499, allocations: 2.652 MB / 1.388 GB, free: 388 kB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_VAV_SetPoints_Validation_OutsideAirFlow.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.SetPoints.Validation.OutsideAirFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches