Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.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.ZoneGroups.Validation.ZoneStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noWinZonSta.TZon|THeaSetOcc.y|TCooSetOcc.y|THeaSetUno.y|TCooSetUno.y|noWinZonSta.yOccHeaHig|noWinZonSta.yHigOccCoo|noWinZonSta.yUnoHeaHig|noWinZonSta.yEndSetBac|witWinZonSta.u1Win|witWinZonSta.yOccHeaHig|witWinZonSta.yHigOccCoo|witWinZonSta.yUnoHeaHig|witWinZonSta.yEndSetBac",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus") translateModel(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noWinZonSta.TZon|THeaSetOcc.y|TCooSetOcc.y|THeaSetUno.y|TCooSetUno.y|noWinZonSta.yOccHeaHig|noWinZonSta.yHigOccCoo|noWinZonSta.yUnoHeaHig|noWinZonSta.yEndSetBac|witWinZonSta.u1Win|witWinZonSta.yOccHeaHig|witWinZonSta.yHigOccCoo|witWinZonSta.yUnoHeaHig|witWinZonSta.yEndSetBac",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.422/2.422, allocations: 390.3 MB / 405.3 MB, free: 13.26 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.001112/0.001112, allocations: 185.9 kB / 498.1 MB, free: 5.512 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.598/1.598, allocations: 223.2 MB / 0.7949 GB, free: 17.89 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.000915/0.000915, allocations: 96.08 kB / 0.9346 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003869, allocations: 6.938 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3211, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.189/0.5102, allocations: 151.4 MB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5105, allocations: 75.95 kB / 1.371 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02447/0.535, allocations: 9.133 MB / 1.38 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.335e-06/0.535, allocations: 4 kB / 1.38 GB, free: 1.41 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.883e-05/0.5351, allocations: 16 kB / 1.38 GB, free: 1.395 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.001482/0.5365, allocations: 0.9048 MB / 1.381 GB, free: 444 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.5366, allocations: 12.03 kB / 1.381 GB, free: 432 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.5367, allocations: 79.06 kB / 1.381 GB, free: 352 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005397/0.5373, allocations: 374.1 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/0.5374, allocations: 57.31 kB / 1.381 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001037/0.5375, allocations: 76 kB / 1.381 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009724/0.5385, allocations: 0.5336 MB / 1.382 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.5385, allocations: 3.984 kB / 1.382 GB, free: 15.26 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.028e-05/0.5385, allocations: 24 kB / 1.382 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.5386, allocations: 16 kB / 1.382 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008118/0.5394, allocations: 441 kB / 1.382 GB, free: 14.79 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002249/0.5416, allocations: 1.571 MB / 1.384 GB, free: 13.16 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000696/0.5423, allocations: 385.4 kB / 1.384 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.393e-05/0.5424, allocations: 4.375 kB / 1.384 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005616/0.543, allocations: 292.6 kB / 1.384 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=48): time 2.705e-06/0.543, allocations: 0 / 1.384 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of matching and sorting (n=48): time 0.001037/0.544, allocations: 0.5033 MB / 1.385 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.5441, allocations: 111.4 kB / 1.385 GB, free: 11.82 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000432/0.5445, allocations: 400.8 kB / 1.385 GB, free: 11.42 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.407e-05/0.5446, allocations: 57.64 kB / 1.385 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/0.5448, allocations: 273 kB / 1.386 GB, free: 11.09 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000112/0.545, allocations: 130.3 kB / 1.386 GB, free: 10.96 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.545, allocations: 12 kB / 1.386 GB, free: 10.95 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.5452, allocations: 358.9 kB / 1.386 GB, free: 10.59 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003667/0.5455, allocations: 185 kB / 1.386 GB, free: 10.41 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.5461, allocations: 331.8 kB / 1.387 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003263/0.5464, allocations: 175.8 kB / 1.387 GB, free: 9.859 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5464, allocations: 4 kB / 1.387 GB, free: 9.855 MB / 0.8855 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008994/0.5473, allocations: 0.5235 MB / 1.387 GB, free: 9.32 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.547e-05/0.5474, allocations: 33.7 kB / 1.387 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.5474, allocations: 0 / 1.387 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.5474, allocations: 8.062 kB / 1.387 GB, free: 9.273 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.5476, allocations: 59.84 kB / 1.387 GB, free: 9.215 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/0.5477, allocations: 4 kB / 1.387 GB, free: 9.211 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005659/0.5482, allocations: 171.5 kB / 1.388 GB, free: 9.043 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.862e-05/0.5483, allocations: 27.95 kB / 1.388 GB, free: 9.016 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 40 ($whenCondition1,$whenCondition2,noWinZonSta.yOccHeaHig,noWinZonSta.yHigOccCoo,noWinZonSta.yUnoHeaHig,noWinZonSta.yEndSetBac,noWinZonSta.yHigUnoCoo,noWinZonSta.yEndSetUp,$PRE.noWinZonSta.hys.y,noWinZonSta.hys.y,$PRE.noWinZonSta.hys1.y,noWinZonSta.hys1.y,$PRE.noWinZonSta.hys2.y,noWinZonSta.hys2.y,$PRE.noWinZonSta.hys5.y,noWinZonSta.hys5.y,$PRE.noWinZonSta.hys3.y,noWinZonSta.hys3.y,$PRE.noWinZonSta.hys4.y,noWinZonSta.hys4.y,witWinZonSta.yOccHeaHig,witWinZonSta.yHigOccCoo,witWinZonSta.yUnoHeaHig,witWinZonSta.yEndSetBac,witWinZonSta.yHigUnoCoo,witWinZonSta.yEndSetUp,$PRE.witWinZonSta.hys.y,witWinZonSta.hys.y,$PRE.witWinZonSta.hys1.y,witWinZonSta.hys1.y,$PRE.witWinZonSta.hys2.y,witWinZonSta.hys2.y,$PRE.witWinZonSta.hys5.y,witWinZonSta.hys5.y,$PRE.witWinZonSta.hys3.y,witWinZonSta.hys3.y,$PRE.witWinZonSta.hys4.y,witWinZonSta.hys4.y,$PRE.uWinSta.y,uWinSta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 61 * 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.0002852/0.5486, allocations: 193.8 kB / 1.388 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.76e-05/0.5487, allocations: 51.44 kB / 1.388 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007645/0.5494, allocations: 406.4 kB / 1.388 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.5494, allocations: 4 kB / 1.388 GB, free: 8.363 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5495, allocations: 4 kB / 1.388 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.5495, allocations: 3.984 kB / 1.388 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008864/0.5504, allocations: 0.7801 MB / 1.389 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.5504, allocations: 0 / 1.389 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000203/0.5506, allocations: 51.84 kB / 1.389 GB, free: 7.461 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/0.5506, allocations: 4 kB / 1.389 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.538e-05/0.5506, allocations: 15.98 kB / 1.389 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.5507, allocations: 0 / 1.389 GB, free: 7.441 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.5507, allocations: 7.953 kB / 1.389 GB, free: 7.434 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007112/0.5514, allocations: 457.7 kB / 1.39 GB, free: 6.949 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001192/0.5515, allocations: 124.5 kB / 1.39 GB, free: 6.809 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.319e-05/0.5516, allocations: 23.95 kB / 1.39 GB, free: 6.785 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.5519, allocations: 75.94 kB / 1.39 GB, free: 6.711 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.5521, allocations: 111.8 kB / 1.39 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.2e-05/0.5522, allocations: 15.98 kB / 1.39 GB, free: 6.586 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003144/0.5525, allocations: 291.2 kB / 1.39 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5525, allocations: 0 / 1.39 GB, free: 6.301 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004228/0.5529, allocations: 131.7 kB / 1.39 GB, free: 6.172 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition1,$whenCondition2,noWinZonSta.yOccHeaHig,noWinZonSta.yHigOccCoo,noWinZonSta.yUnoHeaHig,noWinZonSta.yEndSetBac,noWinZonSta.yHigUnoCoo,noWinZonSta.yEndSetUp,noWinZonSta.hys.y,noWinZonSta.hys1.y,noWinZonSta.hys2.y,noWinZonSta.hys5.y,noWinZonSta.hys3.y,noWinZonSta.hys4.y,witWinZonSta.yOccHeaHig,witWinZonSta.yHigOccCoo,witWinZonSta.yUnoHeaHig,witWinZonSta.yEndSetBac,witWinZonSta.yHigUnoCoo,witWinZonSta.yEndSetUp,witWinZonSta.hys.y,witWinZonSta.hys1.y,witWinZonSta.hys2.y,witWinZonSta.hys5.y,witWinZonSta.hys3.y,witWinZonSta.hys4.y,uWinSta.y) * Number of discrete states: 12 (witWinZonSta.hys4.y,witWinZonSta.hys3.y,witWinZonSta.hys5.y,witWinZonSta.hys2.y,witWinZonSta.hys1.y,witWinZonSta.hys.y,noWinZonSta.hys4.y,noWinZonSta.hys3.y,noWinZonSta.hys5.y,noWinZonSta.hys2.y,noWinZonSta.hys1.y,noWinZonSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 47 * 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.0002287/0.5531, allocations: 154.1 kB / 1.39 GB, free: 6.016 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008529/0.554, allocations: 0.4895 MB / 1.391 GB, free: 5.512 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.554, allocations: 4 kB / 1.391 GB, free: 5.508 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003864/0.5544, allocations: 219.8 kB / 1.391 GB, free: 5.293 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.5547, allocations: 41.8 kB / 1.391 GB, free: 5.254 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001353/0.5561, allocations: 1.001 MB / 1.392 GB, free: 4.219 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003761/0.5565, allocations: 0.8684 MB / 1.393 GB, free: 3.32 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000182/0.5567, allocations: 56.36 kB / 1.393 GB, free: 3.266 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.5568, allocations: 51.41 kB / 1.393 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of SimCode: time 3.51e-07/0.5568, allocations: 0 / 1.393 GB, free: 3.215 MB / 0.8855 GB Notification: Performance of Templates: time 0.01078/0.5676, allocations: 5.826 MB / 1.399 GB, free: 13.44 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatus.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches