Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.292/1.292, allocations: 249.4 MB / 256.7 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001487, allocations: 188.5 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.399/1.399, allocations: 205.2 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009535/0.0009537, allocations: 93.06 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.582e-06/6.612e-06, allocations: 4 kB / 0.7808 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2162/0.2162, allocations: 106.3 MB / 0.8846 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.604/0.8203, allocations: 134.3 MB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.8205, allocations: 79.12 kB / 1.016 GB, free: 4.363 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02257/0.8431, allocations: 8.456 MB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.805e-05/0.8432, allocations: 16 kB / 1.024 GB, free: 13.14 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.001613/0.8448, allocations: 0.9347 MB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.8449, allocations: 8.031 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.845, allocations: 79.06 kB / 1.025 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004899/0.8455, allocations: 387 kB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.609e-05/0.8456, allocations: 27.75 kB / 1.025 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.566e-05/0.8456, allocations: 42.62 kB / 1.025 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006734/0.8463, allocations: 368 kB / 1.026 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007343/0.8471, allocations: 430.1 kB / 1.026 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.8471, allocations: 0 / 1.026 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.723e-05/0.8471, allocations: 0 / 1.026 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.8472, allocations: 19.98 kB / 1.026 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.8497, allocations: 1.52 MB / 1.028 GB, free: 9.922 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000684/0.8504, allocations: 355.8 kB / 1.028 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002152/0.8506, allocations: 127.4 kB / 1.028 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/0.8507, allocations: 4 kB / 1.028 GB, free: 9.605 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003702/0.851, allocations: 269.7 kB / 1.028 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=45): time 1.743e-06/0.851, allocations: 0 / 1.028 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45): time 0.000647/0.8517, allocations: 326.5 kB / 1.029 GB, free: 9.133 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/0.8518, allocations: 158.4 kB / 1.029 GB, free: 8.941 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003026/0.8521, allocations: 292.9 kB / 1.029 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.495e-05/0.8522, allocations: 40.45 kB / 1.029 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.8523, allocations: 264.2 kB / 1.03 GB, free: 8.434 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.8525, allocations: 131.5 kB / 1.03 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.391e-05/0.8525, allocations: 0 / 1.03 GB, free: 8.32 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001408/0.8526, allocations: 359.8 kB / 1.03 GB, free: 7.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.8529, allocations: 134.1 kB / 1.03 GB, free: 7.91 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003444/0.8532, allocations: 281 kB / 1.03 GB, free: 7.664 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/0.8535, allocations: 115.4 kB / 1.03 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8535, allocations: 0 / 1.03 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0006168/0.8541, allocations: 393.8 kB / 1.031 GB, free: 7.305 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.8541, allocations: 4 kB / 1.031 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.8541, allocations: 0 / 1.031 GB, free: 7.301 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.8541, allocations: 4 kB / 1.031 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.8546, allocations: 95.47 kB / 1.031 GB, free: 7.207 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.8546, allocations: 8 kB / 1.031 GB, free: 7.199 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/0.8553, allocations: 163.6 kB / 1.031 GB, free: 7.039 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.021e-05/0.8553, allocations: 15.25 kB / 1.031 GB, free: 7.027 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.noWinZonSta.hys1.y,noWinZonSta.hys1.y,$PRE.noWinZonSta.hys4.y,noWinZonSta.hys4.y,$PRE.witWinZonSta.hys1.y,witWinZonSta.hys1.y,$PRE.witWinZonSta.hys4.y,witWinZonSta.hys4.y,$PRE.noWinZonSta.hys.y,noWinZonSta.hys.y,$PRE.noWinZonSta.hys3.y,noWinZonSta.hys3.y,$PRE.witWinZonSta.hys.y,witWinZonSta.hys.y,$PRE.witWinZonSta.hys3.y,witWinZonSta.hys3.y,$whenCondition1,$PRE.noWinZonSta.hys2.y,noWinZonSta.hys2.y,$PRE.noWinZonSta.hys5.y,noWinZonSta.hys5.y,$PRE.witWinZonSta.hys2.y,witWinZonSta.hys2.y,$PRE.witWinZonSta.hys5.y,witWinZonSta.hys5.y,uWinSta.y,$PRE.uWinSta.pulseStart,uWinSta.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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.0001432/0.8555, allocations: 123.2 kB / 1.031 GB, free: 6.902 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.956e-05/0.8555, allocations: 47.44 kB / 1.031 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006352/0.8562, allocations: 356.5 kB / 1.032 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/0.8562, allocations: 8 kB / 1.032 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.952e-06/0.8562, allocations: 0 / 1.032 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.8562, allocations: 0 / 1.032 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000732/0.857, allocations: 0.7123 MB / 1.032 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.857, allocations: 0 / 1.032 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.8574, allocations: 83.14 kB / 1.032 GB, free: 5.891 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.8574, allocations: 4 kB / 1.032 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.526e-05/0.8574, allocations: 11.2 kB / 1.032 GB, free: 5.879 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.8574, allocations: 8 kB / 1.032 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.8574, allocations: 0 / 1.032 GB, free: 5.871 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005881/0.858, allocations: 434.8 kB / 1.033 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.8581, allocations: 120.6 kB / 1.033 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.237e-05/0.8582, allocations: 9.875 kB / 1.033 GB, free: 5.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004694/0.8587, allocations: 111.4 kB / 1.033 GB, free: 5.234 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000216/0.8589, allocations: 105.4 kB / 1.033 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.859, allocations: 15.48 kB / 1.033 GB, free: 5.133 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002109/0.8592, allocations: 215.7 kB / 1.033 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003799/0.8596, allocations: 111.5 kB / 1.034 GB, free: 4.859 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,noWinZonSta.hys2.y,noWinZonSta.hys5.y,witWinZonSta.hys2.y,witWinZonSta.hys5.y,uWinSta.y,uWinSta.pulseStart,noWinZonSta.hys.y,noWinZonSta.hys3.y,witWinZonSta.hys.y,witWinZonSta.hys3.y,noWinZonSta.hys1.y,noWinZonSta.hys4.y,witWinZonSta.hys1.y,witWinZonSta.hys4.y) * Number of discrete states: 12 (witWinZonSta.hys4.y,witWinZonSta.hys1.y,noWinZonSta.hys4.y,noWinZonSta.hys1.y,witWinZonSta.hys3.y,witWinZonSta.hys.y,noWinZonSta.hys3.y,noWinZonSta.hys.y,witWinZonSta.hys5.y,witWinZonSta.hys2.y,noWinZonSta.hys5.y,noWinZonSta.hys2.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 44 * 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.0001887/0.8598, allocations: 129.4 kB / 1.034 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000598/0.8604, allocations: 346.2 kB / 1.034 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8604, allocations: 4 kB / 1.034 GB, free: 4.504 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004137/0.8608, allocations: 223.5 kB / 1.034 GB, free: 4.371 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.8611, allocations: 46.62 kB / 1.034 GB, free: 4.34 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.8624, allocations: 0.6427 MB / 1.035 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006954/0.8631, allocations: 0.9368 MB / 1.036 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of SimCode: time 2.6e-07/0.8631, allocations: 0 / 1.036 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of Templates: time 0.01072/0.8738, allocations: 5.723 MB / 1.041 GB, free: 13.14 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches