Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.GroupStatus.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.GroupStatus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_GroupStatus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.GroupStatus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_GroupStatus",fmuType="me",version="2.0",platforms={"static"}) [: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.874/1.874, allocations: 387.2 MB / 394.5 MB, free: 13.67 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.001333/0.001333, allocations: 185.2 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.153/1.153, allocations: 221.3 MB / 0.7819 GB, free: 1.352 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.0008787/0.0008787, allocations: 98.42 kB / 0.9213 GB, free: 2.594 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4369/0.4378, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1919/0.6297, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5363/1.166, allocations: 154.1 MB / 1.356 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000215/1.166, allocations: 67.7 kB / 1.356 GB, free: 15.82 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: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.08746/1.254, allocations: 34.54 MB / 1.39 GB, free: 6.758 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/1.254, allocations: 8 kB / 1.39 GB, free: 6.75 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008828/1.255, allocations: 221.8 kB / 1.39 GB, free: 6.531 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/1.257, allocations: 1.181 MB / 1.391 GB, free: 5.516 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.908e-05/1.258, allocations: 51.17 kB / 1.391 GB, free: 5.469 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005941/1.258, allocations: 147.2 kB / 1.391 GB, free: 5.328 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001875/1.26, allocations: 1.031 MB / 1.392 GB, free: 4.613 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002168/1.262, allocations: 1.437 MB / 1.394 GB, free: 3.41 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.878e-05/1.262, allocations: 7.875 kB / 1.394 GB, free: 3.402 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/1.262, allocations: 11.98 kB / 1.394 GB, free: 3.391 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/1.262, allocations: 35.98 kB / 1.394 GB, free: 3.355 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007261/1.27, allocations: 5.525 MB / 1.399 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008949/1.271, allocations: 0.6997 MB / 1.4 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004238/1.271, allocations: 356.2 kB / 1.4 GB, free: 13.64 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.761e-05/1.271, allocations: 12 kB / 1.4 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007415/1.272, allocations: 0.607 MB / 1.401 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=90): time 4.268e-06/1.272, allocations: 0 / 1.401 GB, free: 13.1 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90): time 0.001478/1.273, allocations: 0.864 MB / 1.401 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/1.273, allocations: 321.1 kB / 1.402 GB, free: 12.02 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/1.275, allocations: 0.9855 MB / 1.403 GB, free: 11.27 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002879/1.275, allocations: 72.22 kB / 1.403 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006098/1.276, allocations: 0.5238 MB / 1.403 GB, free: 10.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/1.276, allocations: 199.5 kB / 1.404 GB, free: 10.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002018/1.276, allocations: 32.67 kB / 1.404 GB, free: 10.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.276, allocations: 349.6 kB / 1.404 GB, free: 10.24 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/1.277, allocations: 0.9792 MB / 1.405 GB, free: 9.527 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/1.279, allocations: 1.473 MB / 1.406 GB, free: 8.168 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002632/1.282, allocations: 1.082 MB / 1.407 GB, free: 7.289 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/1.282, allocations: 11.94 kB / 1.407 GB, free: 7.277 MB / 0.8386 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.005072/1.287, allocations: 2.544 MB / 1.41 GB, free: 5.211 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.287, allocations: 8 kB / 1.41 GB, free: 5.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.801e-05/1.287, allocations: 8 kB / 1.41 GB, free: 5.195 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.563e-05/1.287, allocations: 20 kB / 1.41 GB, free: 5.176 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004073/1.287, allocations: 115.2 kB / 1.41 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/1.287, allocations: 27.92 kB / 1.41 GB, free: 5.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/1.29, allocations: 0.697 MB / 1.411 GB, free: 4.352 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002348/1.291, allocations: 106.4 kB / 1.411 GB, free: 4.258 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 98 ($whenCondition35,$whenCondition36,$whenCondition33,$whenCondition34,zonGroSta.yOpeWin,zonGroSta.booToInt2[1].y,zonGroSta.booToInt2[2].y,$PRE.winSta[1].y,winSta[1].y,$PRE.winSta[3].y,winSta[3].y,$PRE.winSta[2].y,winSta[2].y,$whenCondition31,$whenCondition32,$PRE.tim3.passed,tim3.passed,$PRE.tim1.passed,tim1.passed,$whenCondition29,$whenCondition30,$whenCondition27,$whenCondition28,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,$whenCondition15,$whenCondition16,$PRE.lowOccHea[2].y,lowOccHea[2].y,and2[2].y,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,zonGroSta.yColZon,zonGroSta.booToInt[1].y,zonGroSta.booToInt[2].y,$PRE.lowUnoHea1[1].y,lowUnoHea1[1].y,$PRE.lowUnoHea1[3].y,lowUnoHea1[3].y,$PRE.lowUnoHea1[2].y,lowUnoHea1[2].y,$whenCondition9,$whenCondition10,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,zonGroSta.yEndSetBac,$PRE.endSetBac[1].y,endSetBac[1].y,$PRE.endSetBac[3].y,endSetBac[3].y,$PRE.endSetBac[2].y,endSetBac[2].y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,zonGroSta.uGroOcc,zonGroSta.yOccHeaHig,zonGroSta.schOcc.uTemp[2],$PRE.zonOcc1.y,zonOcc1.y,$PRE.zonOcc3.y,zonOcc3.y,$PRE.tim1.entryTime,tim1.entryTime,$PRE.tim3.entryTime,tim3.entryTime,$PRE.lowOccHea[1].y,lowOccHea[1].y,$PRE.lowOccHea[3].y,lowOccHea[3].y,and2[1].y,and2[3].y,zonGroSta.oveRidOcc.uTemp[2],zonGroSta.totZon.y,$PRE.zonGroSta.hys.y,zonGroSta.hys.y,$PRE.zonGroSta.hys1.y,zonGroSta.hys1.y,$PRE.zonTem3.booPul.y,zonTem3.booPul.y,zonGroSta.yEndSetUp,zonGroSta.yHotZon,zonGroSta.booToInt1[2].y,zonGroSta.booToInt1[1].y,zonGroSta.yHigOccCoo) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 15 * 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.000394/1.291, allocations: 210.4 kB / 1.411 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002297/1.291, allocations: 118.6 kB / 1.411 GB, free: 3.941 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008575/1.292, allocations: 497.9 kB / 1.412 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/1.292, allocations: 15.98 kB / 1.412 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.292, allocations: 4 kB / 1.412 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/1.292, allocations: 7.891 kB / 1.412 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002311/1.294, allocations: 1.451 MB / 1.413 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.295, allocations: 4 kB / 1.413 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/1.295, allocations: 70.95 kB / 1.413 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/1.295, allocations: 8 kB / 1.413 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.062e-05/1.295, allocations: 30.38 kB / 1.413 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/1.295, allocations: 8.031 kB / 1.413 GB, free: 2.277 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.295, allocations: 7.938 kB / 1.413 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001184/1.296, allocations: 1.103 MB / 1.414 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001292/1.297, allocations: 1.506 MB / 1.416 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/1.298, allocations: 197.1 kB / 1.416 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001388/1.298, allocations: 19.03 kB / 1.416 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/1.298, allocations: 43.95 kB / 1.416 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001712/1.298, allocations: 101.6 kB / 1.416 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-05/1.298, allocations: 41.59 kB / 1.416 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.000731/1.299, allocations: 0.6768 MB / 1.417 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.001788/1.301, allocations: 370.1 kB / 1.417 GB, free: 14.6 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 71 ($whenCondition1,$whenCondition2,zonGroSta.hys.y,zonGroSta.hys1.y,zonTem3.booPul.y,$whenCondition3,$whenCondition4,endSetBac[2].y,$whenCondition7,$whenCondition8,$whenCondition5,$whenCondition6,zonGroSta.yEndSetBac,endSetBac[1].y,endSetBac[3].y,$whenCondition9,$whenCondition10,lowUnoHea1[2].y,$whenCondition13,$whenCondition14,$whenCondition11,$whenCondition12,zonGroSta.yColZon,zonGroSta.booToInt[1].y,zonGroSta.booToInt[2].y,lowUnoHea1[1].y,lowUnoHea1[3].y,$whenCondition15,$whenCondition16,lowOccHea[2].y,and2[2].y,$whenCondition29,$whenCondition30,$whenCondition27,$whenCondition28,$whenCondition24,$whenCondition25,$whenCondition26,$whenCondition21,$whenCondition22,$whenCondition23,$whenCondition19,$whenCondition20,$whenCondition17,$whenCondition18,zonGroSta.uGroOcc,zonGroSta.yOccHeaHig,zonGroSta.schOcc.uTemp[2],zonOcc1.y,zonOcc3.y,tim1.passed,tim1.entryTime,tim3.passed,tim3.entryTime,lowOccHea[1].y,lowOccHea[3].y,and2[1].y,and2[3].y,$whenCondition31,$whenCondition32,winSta[2].y,$whenCondition35,$whenCondition36,$whenCondition33,$whenCondition34,zonGroSta.yOpeWin,zonGroSta.booToInt2[1].y,zonGroSta.booToInt2[2].y,winSta[1].y,winSta[3].y,zonGroSta.yHotZon) * Number of discrete states: 4 (tim3.entryTime,tim1.entryTime,zonGroSta.hys.y,zonGroSta.hys1.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 19 * 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.0002438/1.301, allocations: 163.8 kB / 1.417 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002528/1.304, allocations: 2.021 MB / 1.419 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/1.304, allocations: 0 / 1.419 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006123/1.304, allocations: 485.6 kB / 1.42 GB, free: 12.41 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008804/1.305, allocations: 184.5 kB / 1.42 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003721/1.309, allocations: 1.973 MB / 1.422 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/1.31, allocations: 1.464 MB / 1.423 GB, free: 9.023 MB / 0.8542 GB Notification: Performance of SimCode: time 4.81e-07/1.31, allocations: 0 / 1.423 GB, free: 9.023 MB / 0.8542 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.GroupStatus.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.GroupStatus.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.GroupStatus.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.GroupStatus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.GroupStatus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_GroupStatus_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_GroupStatus.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.GroupStatus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.GroupStatus_res.mat does not exist to compare? outputFormat=mat