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") [: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.724/1.724, allocations: 387.2 MB / 394.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008914/0.0008914, allocations: 190.1 kB / 487 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.096/1.096, allocations: 221.3 MB / 0.7819 GB, free: 6.816 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008088/0.0008088, allocations: 98.53 kB / 0.9213 GB, free: 43.74 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 9.117e-06/9.217e-06, allocations: 4 kB / 1.066 GB, free: 7.598 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5039/0.5039, allocations: 142.3 MB / 1.205 GB, free: 72.82 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1577/0.6617, allocations: 150.6 MB / 1.352 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.6619, allocations: 71.95 kB / 1.352 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.02158/0.6835, allocations: 8.848 MB / 1.361 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.697e-05/0.6836, allocations: 12 kB / 1.361 GB, free: 3.887 MB / 0.8542 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.001411/0.685, allocations: 0.8888 MB / 1.362 GB, free: 2.945 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.6851, allocations: 8.031 kB / 1.362 GB, free: 2.938 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.6853, allocations: 75.16 kB / 1.362 GB, free: 2.863 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.6858, allocations: 376 kB / 1.362 GB, free: 2.453 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.284e-05/0.6858, allocations: 20 kB / 1.362 GB, free: 2.434 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.95e-05/0.686, allocations: 47.91 kB / 1.362 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006729/0.6866, allocations: 362.6 kB / 1.363 GB, free: 2.031 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006805/0.6873, allocations: 427.9 kB / 1.363 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.6873, allocations: 0 / 1.363 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.766e-05/0.6874, allocations: 4 kB / 1.363 GB, free: 1.605 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.6874, allocations: 19.98 kB / 1.363 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00187/0.6893, allocations: 1.414 MB / 1.365 GB, free: 132 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004903/0.6898, allocations: 325 kB / 1.365 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000225/0.69, allocations: 167.7 kB / 1.365 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.049e-05/0.6901, allocations: 4.375 kB / 1.365 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003064/0.6904, allocations: 243.8 kB / 1.365 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=48): time 1.653e-06/0.6904, allocations: 0 / 1.365 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.0005097/0.6909, allocations: 297.9 kB / 1.366 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.691, allocations: 114.9 kB / 1.366 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.6912, allocations: 263.1 kB / 1.366 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.6913, allocations: 37.7 kB / 1.366 GB, free: 14.63 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/0.6914, allocations: 256.2 kB / 1.366 GB, free: 14.38 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.669e-05/0.6915, allocations: 118.4 kB / 1.366 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/0.6915, allocations: 8 kB / 1.366 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.6917, allocations: 350.7 kB / 1.367 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002497/0.6919, allocations: 149.1 kB / 1.367 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003246/0.6922, allocations: 283.2 kB / 1.367 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.6926, allocations: 137.4 kB / 1.367 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6926, allocations: 0 / 1.367 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0006991/0.6933, allocations: 416 kB / 1.368 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/0.6933, allocations: 4 kB / 1.368 GB, free: 12.89 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6933, allocations: 4.062 kB / 1.368 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.6933, allocations: 4.75 kB / 1.368 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.6936, allocations: 59.84 kB / 1.368 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.6936, allocations: 4 kB / 1.368 GB, free: 12.82 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005407/0.6941, allocations: 169.9 kB / 1.368 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.6942, allocations: 16 kB / 1.368 GB, free: 12.64 MB / 0.8698 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.0001203/0.6943, allocations: 144.8 kB / 1.368 GB, free: 12.49 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.061e-05/0.6943, allocations: 31.62 kB / 1.368 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004931/0.6948, allocations: 312.7 kB / 1.368 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.6949, allocations: 8.75 kB / 1.368 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.6949, allocations: 0 / 1.368 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.6949, allocations: 0 / 1.368 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005722/0.6955, allocations: 0.687 MB / 1.369 GB, free: 11.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.6955, allocations: 3.906 kB / 1.369 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.6957, allocations: 52.53 kB / 1.369 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.6957, allocations: 4 kB / 1.369 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.6957, allocations: 3.984 kB / 1.369 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.6957, allocations: 4 kB / 1.369 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6957, allocations: 1.625 kB / 1.369 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004603/0.6962, allocations: 365.7 kB / 1.369 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.655e-05/0.6963, allocations: 120.5 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.879e-05/0.6964, allocations: 12 kB / 1.37 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002926/0.6967, allocations: 75.94 kB / 1.37 GB, free: 10.71 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.6969, allocations: 111.8 kB / 1.37 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.6969, allocations: 15.98 kB / 1.37 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001437/0.6971, allocations: 179.1 kB / 1.37 GB, free: 10.41 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003524/0.6974, allocations: 115.6 kB / 1.37 GB, free: 10.3 MB / 0.8698 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.0002181/0.6977, allocations: 140.4 kB / 1.37 GB, free: 10.15 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006042/0.6983, allocations: 398.6 kB / 1.371 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.6983, allocations: 0 / 1.371 GB, free: 9.758 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003246/0.6986, allocations: 203.5 kB / 1.371 GB, free: 9.559 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.6989, allocations: 28.88 kB / 1.371 GB, free: 9.527 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.7, allocations: 0.5747 MB / 1.371 GB, free: 8.918 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005683/0.7006, allocations: 0.9148 MB / 1.372 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of SimCode: time 2.91e-07/0.7006, allocations: 3.938 kB / 1.372 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of Templates: time 0.009157/0.7098, allocations: 5.654 MB / 1.378 GB, free: 2.441 MB / 0.8698 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