Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.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.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_latest_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_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.731/1.731, allocations: 390.4 MB / 397.7 MB, free: 11.19 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.0009208/0.0009209, allocations: 181.3 kB / 490.8 MB, free: 1.91 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.074/1.074, allocations: 221.3 MB / 0.7863 GB, free: 13.63 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.0008338/0.0008339, allocations: 95.61 kB / 0.9264 GB, free: 14.16 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.791e-06/5.901e-06, allocations: 4 kB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1713/0.1714, allocations: 143 MB / 1.212 GB, free: 40.04 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4748/0.6462, allocations: 151.4 MB / 1.359 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001457/0.6464, allocations: 69.73 kB / 1.36 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01984/0.6663, allocations: 8.993 MB / 1.368 GB, free: 16.65 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.14e-05/0.6663, allocations: 12.97 kB / 1.368 GB, free: 16.65 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.001146/0.6674, allocations: 0.8921 MB / 1.369 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.6675, allocations: 10.03 kB / 1.369 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.6676, allocations: 79.53 kB / 1.369 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003894/0.668, allocations: 377 kB / 1.37 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.015e-05/0.668, allocations: 29.53 kB / 1.37 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.6681, allocations: 47.41 kB / 1.37 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006028/0.6687, allocations: 368 kB / 1.37 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006735/0.6694, allocations: 438 kB / 1.371 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.6694, allocations: 1.25 kB / 1.371 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/0.6695, allocations: 0 / 1.371 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.6695, allocations: 19.44 kB / 1.371 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001793/0.6713, allocations: 1.431 MB / 1.372 GB, free: 31.37 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004614/0.6718, allocations: 325.5 kB / 1.372 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.672, allocations: 161.4 kB / 1.372 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.27e-05/0.672, allocations: 5.094 kB / 1.372 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002871/0.6723, allocations: 246.4 kB / 1.373 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=48): time 1.402e-06/0.6723, allocations: 0 / 1.373 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=48): time 0.0004603/0.6728, allocations: 299.4 kB / 1.373 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.59e-05/0.6728, allocations: 110.1 kB / 1.373 GB, free: 31.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.6731, allocations: 269 kB / 1.373 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.171e-05/0.6731, allocations: 42.81 kB / 1.373 GB, free: 30.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.6733, allocations: 252.8 kB / 1.374 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.506e-05/0.6733, allocations: 123.6 kB / 1.374 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.6734, allocations: 1.312 kB / 1.374 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001081/0.6735, allocations: 355.4 kB / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.6737, allocations: 152.1 kB / 1.374 GB, free: 30.34 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.674, allocations: 280.8 kB / 1.374 GB, free: 30.21 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.6743, allocations: 133.7 kB / 1.375 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.6743, allocations: 0 / 1.375 GB, free: 30.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.000665/0.675, allocations: 415.7 kB / 1.375 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.675, allocations: 9.25 kB / 1.375 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.675, allocations: 1.094 kB / 1.375 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.6751, allocations: 4.938 kB / 1.375 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.6753, allocations: 57 kB / 1.375 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.6753, allocations: 6.844 kB / 1.375 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000556/0.6759, allocations: 167.2 kB / 1.375 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/0.6759, allocations: 25.89 kB / 1.375 GB, free: 30.09 MB / 0.8386 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 () * 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.0001144/0.676, allocations: 134.6 kB / 1.375 GB, free: 29.97 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.87e-05/0.6761, allocations: 36.38 kB / 1.375 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004608/0.6766, allocations: 302.9 kB / 1.376 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/0.6766, allocations: 5.625 kB / 1.376 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.6766, allocations: 1.312 kB / 1.376 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.6766, allocations: 7.844 kB / 1.376 GB, free: 29.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005283/0.6771, allocations: 0.6831 MB / 1.376 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.6771, allocations: 0 / 1.376 GB, free: 29.54 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001981/0.6773, allocations: 51.83 kB / 1.376 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/0.6774, allocations: 2.062 kB / 1.376 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/0.6774, allocations: 11.5 kB / 1.376 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.6774, allocations: 2.672 kB / 1.376 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6774, allocations: 1.188 kB / 1.376 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004374/0.6778, allocations: 372.3 kB / 1.377 GB, free: 29.38 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.6779, allocations: 119.7 kB / 1.377 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.678, allocations: 14.67 kB / 1.377 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002924/0.6783, allocations: 74.8 kB / 1.377 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002037/0.6785, allocations: 113.2 kB / 1.377 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.231e-05/0.6785, allocations: 18.39 kB / 1.377 GB, free: 29.24 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001434/0.6787, allocations: 178.6 kB / 1.377 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003437/0.679, allocations: 115.9 kB / 1.377 GB, free: 29.14 MB / 0.8386 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) * 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.0001609/0.6792, allocations: 146.5 kB / 1.378 GB, free: 29.02 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0005652/0.6798, allocations: 393.7 kB / 1.378 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.6798, allocations: 1.156 kB / 1.378 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002968/0.6801, allocations: 200.1 kB / 1.378 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.6803, allocations: 26.78 kB / 1.378 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.6813, allocations: 0.5923 MB / 1.379 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005326/0.6819, allocations: 0.9208 MB / 1.38 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/0.6819, allocations: 0 / 1.38 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of Templates: time 0.009327/0.6912, allocations: 5.66 MB / 1.385 GB, free: 26.25 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatus.csv","../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches