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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatus",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatus",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.811/1.811, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009208/0.0009209, allocations: 188.5 kB / 487 MB, free: 5.402 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.204/1.204, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.0008769/0.0008769, allocations: 95.98 kB / 0.9213 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4614/0.4623, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.6568, allocations: 142.3 MB / 1.205 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5304/1.187, allocations: 150.6 MB / 1.352 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001692/1.187, allocations: 71.61 kB / 1.352 GB, free: 15.64 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.02437/1.212, allocations: 9.75 MB / 1.362 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/1.212, allocations: 12 kB / 1.362 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001758/1.212, allocations: 75.16 kB / 1.362 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004296/1.212, allocations: 371.5 kB / 1.362 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.461e-05/1.212, allocations: 20 kB / 1.362 GB, free: 13.46 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.055e-05/1.213, allocations: 51.91 kB / 1.362 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000626/1.213, allocations: 360 kB / 1.363 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006468/1.214, allocations: 426.2 kB / 1.363 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/1.214, allocations: 3.984 kB / 1.363 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.954e-05/1.214, allocations: 0 / 1.363 GB, free: 12.89 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/1.214, allocations: 20 kB / 1.363 GB, free: 12.87 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001696/1.216, allocations: 1.413 MB / 1.365 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004615/1.216, allocations: 325.5 kB / 1.365 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002092/1.216, allocations: 162.2 kB / 1.365 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.821e-05/1.216, allocations: 8.375 kB / 1.365 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/1.217, allocations: 243.3 kB / 1.365 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=48): time 1.763e-06/1.217, allocations: 0 / 1.365 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of matching and sorting (n=48): time 0.0004742/1.217, allocations: 295.7 kB / 1.366 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.216e-05/1.217, allocations: 110.8 kB / 1.366 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000202/1.217, allocations: 265.5 kB / 1.366 GB, free: 10.67 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.184e-05/1.218, allocations: 40.02 kB / 1.366 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/1.218, allocations: 256.9 kB / 1.366 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 7.19e-05/1.218, allocations: 117.8 kB / 1.366 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/1.218, allocations: 0 / 1.366 GB, free: 10.31 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.473e-05/1.218, allocations: 357.9 kB / 1.367 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002363/1.218, allocations: 149.9 kB / 1.367 GB, free: 9.891 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/1.218, allocations: 286.8 kB / 1.367 GB, free: 9.645 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/1.219, allocations: 135.6 kB / 1.367 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.219, allocations: 0 / 1.367 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0006323/1.219, allocations: 409.4 kB / 1.368 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/1.219, allocations: 8 kB / 1.368 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/1.219, allocations: 0 / 1.368 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/1.219, allocations: 4.062 kB / 1.368 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/1.22, allocations: 58.09 kB / 1.368 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/1.22, allocations: 11.92 kB / 1.368 GB, free: 9.164 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005206/1.22, allocations: 167.7 kB / 1.368 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.21e-05/1.22, allocations: 19.42 kB / 1.368 GB, free: 8.984 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 0.0001102/1.22, allocations: 133.6 kB / 1.368 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.626e-05/1.22, allocations: 35.62 kB / 1.368 GB, free: 8.816 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/1.221, allocations: 315.2 kB / 1.368 GB, free: 8.59 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/1.221, allocations: 8 kB / 1.368 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/1.221, allocations: 7.938 kB / 1.368 GB, free: 8.574 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/1.221, allocations: 7.922 kB / 1.368 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004449/1.221, allocations: 0.668 MB / 1.369 GB, free: 7.977 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.221, allocations: 15.92 kB / 1.369 GB, free: 7.961 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001873/1.221, allocations: 51.05 kB / 1.369 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/1.221, allocations: 0 / 1.369 GB, free: 7.914 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/1.222, allocations: 10.86 kB / 1.369 GB, free: 7.906 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/1.222, allocations: 4 kB / 1.369 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.222, allocations: 0 / 1.369 GB, free: 7.902 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003676/1.222, allocations: 365.8 kB / 1.369 GB, free: 7.578 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003817/1.222, allocations: 0.7428 MB / 1.37 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.024e-05/1.222, allocations: 108.7 kB / 1.37 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/1.222, allocations: 19.02 kB / 1.37 GB, free: 6.738 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/1.223, allocations: 75.94 kB / 1.37 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001701/1.223, allocations: 109.5 kB / 1.371 GB, free: 6.574 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/1.223, allocations: 15.98 kB / 1.371 GB, free: 6.559 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001104/1.223, allocations: 181.6 kB / 1.371 GB, free: 6.414 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008676/1.224, allocations: 119.3 kB / 1.371 GB, free: 6.301 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.0001561/1.224, allocations: 141.6 kB / 1.371 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0004994/1.225, allocations: 393.6 kB / 1.371 GB, free: 5.883 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/1.225, allocations: 0 / 1.371 GB, free: 5.883 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002851/1.225, allocations: 200.9 kB / 1.372 GB, free: 5.758 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/1.225, allocations: 27.78 kB / 1.372 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009864/1.226, allocations: 0.5742 MB / 1.372 GB, free: 5.199 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00036/1.226, allocations: 0.9181 MB / 1.373 GB, free: 4.262 MB / 0.8073 GB Notification: Performance of SimCode: time 2.6e-07/1.226, allocations: 4 kB / 1.373 GB, free: 4.258 MB / 0.8073 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatus.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus_res.mat does not exist to compare? outputFormat=mat