Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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.Obsolete.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_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus") translateModel(Buildings.Obsolete.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_latest_Buildings.Obsolete.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 10.0.0-master/package.mo): time 1.978/1.978, allocations: 390.4 MB / 397.7 MB, free: 1.941 MB / 307 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 179.1 kB / 490.8 MB, free: 7.5 MB / 403 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 221.3 MB / 0.7863 GB, free: 252 kB / 0.5498 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009251/0.0009251, allocations: 88.67 kB / 0.9264 GB, free: 0.6406 MB / 0.6904 GB Notification: Performance of FrontEnd - loaded program: time 3.727e-06/3.748e-06, allocations: 0 / 1.072 GB, free: 137.5 MB / 0.7217 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2326, allocations: 143 MB / 1.212 GB, free: 10.53 MB / 0.7373 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6366/0.8693, allocations: 152.5 MB / 1.361 GB, free: 9.469 MB / 0.8311 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.8696, allocations: 79.94 kB / 1.361 GB, free: 9.391 MB / 0.8311 GB Notification: Performance of FrontEnd: time 0.0242/0.8938, allocations: 9.435 MB / 1.37 GB, free: 15.96 MB / 0.8467 GB Notification: Performance of Transformations before backend: time 2.506e-05/0.8939, allocations: 15.94 kB / 1.37 GB, free: 15.95 MB / 0.8467 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.001351/0.8952, allocations: 0.8964 MB / 1.371 GB, free: 15 MB / 0.8467 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.8953, allocations: 16.62 kB / 1.371 GB, free: 14.98 MB / 0.8467 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001413/0.8954, allocations: 83.05 kB / 1.371 GB, free: 14.9 MB / 0.8467 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005133/0.8959, allocations: 398.8 kB / 1.371 GB, free: 14.47 MB / 0.8467 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.896, allocations: 20 kB / 1.371 GB, free: 14.45 MB / 0.8467 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.555e-05/0.8961, allocations: 52 kB / 1.371 GB, free: 14.4 MB / 0.8467 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006777/0.8968, allocations: 370.5 kB / 1.372 GB, free: 14.04 MB / 0.8467 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007186/0.8975, allocations: 439.9 kB / 1.372 GB, free: 13.6 MB / 0.8467 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.8975, allocations: 0 / 1.372 GB, free: 13.6 MB / 0.8467 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.8976, allocations: 3.906 kB / 1.372 GB, free: 13.6 MB / 0.8467 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.8976, allocations: 16 kB / 1.372 GB, free: 13.58 MB / 0.8467 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/0.8997, allocations: 1.46 MB / 1.374 GB, free: 12.07 MB / 0.8467 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000513/0.9002, allocations: 335.5 kB / 1.374 GB, free: 11.73 MB / 0.8467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002333/0.9004, allocations: 165.6 kB / 1.374 GB, free: 11.57 MB / 0.8467 GB Notification: Performance of preOpt evalFunc (simulation): time 3.723e-05/0.9005, allocations: 4.375 kB / 1.374 GB, free: 11.57 MB / 0.8467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000342/0.9008, allocations: 255.8 kB / 1.374 GB, free: 11.3 MB / 0.8467 GB Notification: Performance of pre-optimization done (n=48): time 1.723e-06/0.9008, allocations: 3.938 kB / 1.374 GB, free: 11.29 MB / 0.8467 GB Notification: Performance of matching and sorting (n=48): time 0.0005268/0.9014, allocations: 293.9 kB / 1.375 GB, free: 11 MB / 0.8467 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.767e-05/0.9014, allocations: 114.8 kB / 1.375 GB, free: 10.86 MB / 0.8467 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002802/0.9017, allocations: 291.2 kB / 1.375 GB, free: 10.57 MB / 0.8467 GB Notification: Performance of collectPreVariables (initialization): time 6.698e-05/0.9018, allocations: 41.77 kB / 1.375 GB, free: 10.53 MB / 0.8467 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.902, allocations: 260.2 kB / 1.375 GB, free: 10.27 MB / 0.8467 GB Notification: Performance of collectInitialBindings (initialization): time 9.266e-05/0.9021, allocations: 122.3 kB / 1.375 GB, free: 10.15 MB / 0.8467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.965e-05/0.9021, allocations: 4 kB / 1.375 GB, free: 10.14 MB / 0.8467 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.9022, allocations: 350.8 kB / 1.376 GB, free: 9.793 MB / 0.8467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002596/0.9025, allocations: 153.2 kB / 1.376 GB, free: 9.641 MB / 0.8467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.9029, allocations: 286.8 kB / 1.376 GB, free: 9.32 MB / 0.8467 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/0.9032, allocations: 137.4 kB / 1.376 GB, free: 9.184 MB / 0.8467 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.9032, allocations: 0 / 1.376 GB, free: 9.184 MB / 0.8467 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0008017/0.9041, allocations: 424 kB / 1.377 GB, free: 8.766 MB / 0.8467 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.9041, allocations: 8 kB / 1.377 GB, free: 8.758 MB / 0.8467 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.9041, allocations: 0 / 1.377 GB, free: 8.758 MB / 0.8467 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.129e-05/0.9041, allocations: 4 kB / 1.377 GB, free: 8.754 MB / 0.8467 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002412/0.9044, allocations: 67.84 kB / 1.377 GB, free: 8.688 MB / 0.8467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.9044, allocations: 0 / 1.377 GB, free: 8.688 MB / 0.8467 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006004/0.905, allocations: 167.7 kB / 1.377 GB, free: 8.523 MB / 0.8467 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.89e-05/0.905, allocations: 19.98 kB / 1.377 GB, free: 8.504 MB / 0.8467 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.0001595/0.9052, allocations: 132.9 kB / 1.377 GB, free: 8.367 MB / 0.8467 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.609e-05/0.9053, allocations: 39.44 kB / 1.377 GB, free: 8.328 MB / 0.8467 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005694/0.9059, allocations: 317.8 kB / 1.377 GB, free: 8.012 MB / 0.8467 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.9059, allocations: 8.047 kB / 1.377 GB, free: 8.004 MB / 0.8467 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.9059, allocations: 7.922 kB / 1.377 GB, free: 7.996 MB / 0.8467 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.9059, allocations: 3.984 kB / 1.377 GB, free: 7.992 MB / 0.8467 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008551/0.9068, allocations: 0.7025 MB / 1.378 GB, free: 7.238 MB / 0.8467 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.9068, allocations: 0 / 1.378 GB, free: 7.238 MB / 0.8467 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002186/0.907, allocations: 51.97 kB / 1.378 GB, free: 7.188 MB / 0.8467 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.924e-06/0.907, allocations: 4 kB / 1.378 GB, free: 7.184 MB / 0.8467 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/0.9071, allocations: 11.98 kB / 1.378 GB, free: 7.172 MB / 0.8467 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.9071, allocations: 0 / 1.378 GB, free: 7.172 MB / 0.8467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/0.9071, allocations: 4 kB / 1.378 GB, free: 7.168 MB / 0.8467 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000542/0.9076, allocations: 377.4 kB / 1.378 GB, free: 6.762 MB / 0.8467 GB Notification: Performance of postOpt removeConstants (simulation): time 9.029e-05/0.9077, allocations: 116.6 kB / 1.379 GB, free: 6.629 MB / 0.8467 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.024e-05/0.9078, allocations: 15.98 kB / 1.379 GB, free: 6.613 MB / 0.8467 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/0.9082, allocations: 71.94 kB / 1.379 GB, free: 6.543 MB / 0.8467 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002345/0.9084, allocations: 111.7 kB / 1.379 GB, free: 6.434 MB / 0.8467 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.653e-05/0.9084, allocations: 20 kB / 1.379 GB, free: 6.414 MB / 0.8467 GB Notification: Performance of sort global known variables: time 0.0002143/0.9087, allocations: 199.1 kB / 1.379 GB, free: 6.223 MB / 0.8467 GB Notification: Performance of remove unused functions: time 0.0004975/0.9092, allocations: 131.5 kB / 1.379 GB, free: 6.094 MB / 0.8467 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.000222/0.9094, allocations: 129.8 kB / 1.379 GB, free: 5.961 MB / 0.8467 GB Notification: Performance of simCode: created initialization part: time 0.0006385/0.91, allocations: 394.6 kB / 1.38 GB, free: 5.57 MB / 0.8467 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.9101, allocations: 0 / 1.38 GB, free: 5.57 MB / 0.8467 GB Notification: Performance of simCode: created simulation system equations: time 0.000346/0.9104, allocations: 215.5 kB / 1.38 GB, free: 5.359 MB / 0.8467 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.9107, allocations: 35.09 kB / 1.38 GB, free: 5.324 MB / 0.8467 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.912, allocations: 0.6036 MB / 1.38 GB, free: 4.691 MB / 0.8467 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005708/0.9126, allocations: 0.9301 MB / 1.381 GB, free: 3.73 MB / 0.8467 GB Notification: Performance of SimCode: time 2.6e-07/0.9126, allocations: 0 / 1.381 GB, free: 3.73 MB / 0.8467 GB Notification: Performance of Templates: time 0.01074/0.9234, allocations: 5.741 MB / 1.387 GB, free: 14.07 MB / 0.8623 GB make -j1 -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.makefile (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.sim & ./Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatus.csv","../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches