Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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_PR1.Generic.SetPoints.Validation.ZoneStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noWinZonSta.TZon|noWinZonSta.THeaSetOcc|noWinZonSta.TCooSetOcc|noWinZonSta.THeaSetUno|noWinZonSta.TCooSetUno|noWinZonSta.yOccHeaHig|noWinZonSta.yHigOccCoo|noWinZonSta.yUnoHeaHig|noWinZonSta.yEndSetBac|witWinZonSta.uWin|witWinZonSta.yOccHeaHig|witWinZonSta.yHigOccCoo|witWinZonSta.yUnoHeaHig|witWinZonSta.yEndSetBac",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noWinZonSta.TZon|noWinZonSta.THeaSetOcc|noWinZonSta.TCooSetOcc|noWinZonSta.THeaSetUno|noWinZonSta.TCooSetUno|noWinZonSta.yOccHeaHig|noWinZonSta.yHigOccCoo|noWinZonSta.yUnoHeaHig|noWinZonSta.yEndSetBac|witWinZonSta.uWin|witWinZonSta.yOccHeaHig|witWinZonSta.yHigOccCoo|witWinZonSta.yUnoHeaHig|witWinZonSta.yEndSetBac",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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 9.1.1-maint.9.1.x/package.mo): time 1.772/1.772, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009003/0.0009003, allocations: 184.5 kB / 487 MB, free: 5.332 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.147/1.147, allocations: 221.3 MB / 0.7819 GB, free: 1.32 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.0008641/0.0008641, allocations: 96.77 kB / 0.9213 GB, free: 2.574 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.711e-06/5.741e-06, allocations: 0 / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1732, allocations: 142.3 MB / 1.205 GB, free: 26.17 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4981/0.6714, allocations: 150.7 MB / 1.352 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001951/0.6716, allocations: 73.59 kB / 1.352 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02541/0.697, allocations: 9.307 MB / 1.362 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.988e-05/0.6971, allocations: 12 kB / 1.362 GB, free: 14.48 MB / 0.8073 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.00109/0.6982, allocations: 0.9048 MB / 1.362 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.6982, allocations: 13.03 kB / 1.362 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.6983, allocations: 79.06 kB / 1.363 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000399/0.6987, allocations: 390.8 kB / 1.363 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.6988, allocations: 24 kB / 1.363 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.447e-05/0.6988, allocations: 51.94 kB / 1.363 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005731/0.6994, allocations: 364.5 kB / 1.363 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006096/0.7, allocations: 433.5 kB / 1.364 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.7001, allocations: 3.984 kB / 1.364 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.82e-05/0.7001, allocations: 4 kB / 1.364 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.7001, allocations: 23.94 kB / 1.364 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001613/0.7017, allocations: 1.463 MB / 1.365 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004338/0.7022, allocations: 331.1 kB / 1.365 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002006/0.7024, allocations: 178.2 kB / 1.366 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.318e-05/0.7024, allocations: 4.375 kB / 1.366 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002654/0.7027, allocations: 244.6 kB / 1.366 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=48): time 1.753e-06/0.7027, allocations: 0 / 1.366 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of matching and sorting (n=48): time 0.0004535/0.7032, allocations: 300.7 kB / 1.366 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.7032, allocations: 121.8 kB / 1.366 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.7034, allocations: 284.9 kB / 1.367 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.783e-05/0.7035, allocations: 43.7 kB / 1.367 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.7036, allocations: 256.8 kB / 1.367 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.294e-05/0.7037, allocations: 122.9 kB / 1.367 GB, free: 9.895 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.7037, allocations: 4 kB / 1.367 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.575e-05/0.7038, allocations: 352.5 kB / 1.367 GB, free: 9.555 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002283/0.704, allocations: 153.2 kB / 1.367 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002749/0.7043, allocations: 289.6 kB / 1.368 GB, free: 9.223 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002831/0.7046, allocations: 137.5 kB / 1.368 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7046, allocations: 0 / 1.368 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0006275/0.7052, allocations: 425.2 kB / 1.368 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.7052, allocations: 8 kB / 1.368 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7052, allocations: 64 / 1.368 GB, free: 8.797 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.7053, allocations: 8 kB / 1.368 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000209/0.7055, allocations: 53.91 kB / 1.368 GB, free: 8.742 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.7055, allocations: 4 kB / 1.368 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005157/0.706, allocations: 171.7 kB / 1.369 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.7061, allocations: 15.94 kB / 1.369 GB, free: 8.559 MB / 0.8073 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 9.958e-05/0.7062, allocations: 140.6 kB / 1.369 GB, free: 8.418 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.793e-05/0.7062, allocations: 35.53 kB / 1.369 GB, free: 8.383 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004315/0.7067, allocations: 322 kB / 1.369 GB, free: 8.152 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.7067, allocations: 7.938 kB / 1.369 GB, free: 8.145 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.7067, allocations: 4 kB / 1.369 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.7067, allocations: 3.938 kB / 1.369 GB, free: 8.137 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.7071, allocations: 0.7018 MB / 1.37 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.7072, allocations: 0 / 1.37 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001929/0.7074, allocations: 54.53 kB / 1.37 GB, free: 7.473 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.7074, allocations: 4 kB / 1.37 GB, free: 7.469 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.701e-05/0.7074, allocations: 7.984 kB / 1.37 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.7074, allocations: 0 / 1.37 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7074, allocations: 0 / 1.37 GB, free: 7.461 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003802/0.7078, allocations: 380.2 kB / 1.37 GB, free: 7.129 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.7079, allocations: 119.9 kB / 1.37 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.891e-05/0.7079, allocations: 11.25 kB / 1.37 GB, free: 6.992 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.7082, allocations: 75.94 kB / 1.37 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.7084, allocations: 114.7 kB / 1.37 GB, free: 6.82 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.7084, allocations: 19.22 kB / 1.37 GB, free: 6.805 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001313/0.7086, allocations: 198.9 kB / 1.371 GB, free: 6.648 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003162/0.7089, allocations: 123 kB / 1.371 GB, free: 6.531 MB / 0.8073 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.0001556/0.709, allocations: 138 kB / 1.371 GB, free: 6.395 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004934/0.7095, allocations: 393.7 kB / 1.371 GB, free: 6.129 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.7096, allocations: 4.062 kB / 1.371 GB, free: 6.125 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.7098, allocations: 204.1 kB / 1.371 GB, free: 5.996 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.7101, allocations: 32.64 kB / 1.371 GB, free: 5.973 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009635/0.711, allocations: 0.5978 MB / 1.372 GB, free: 5.418 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004283/0.7115, allocations: 0.9299 MB / 1.373 GB, free: 20.46 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/0.7115, allocations: 4 kB / 1.373 GB, free: 20.46 MB / 0.823 GB Notification: Performance of Templates: time 0.008217/0.7197, allocations: 5.743 MB / 1.379 GB, free: 14.8 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.makefile (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.sim & ./Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus.csv","../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches