Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus,fileNamePrefix="Buildings_latest_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_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatus",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.379/2.379, allocations: 390.5 MB / 398 MB, free: 10.97 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.001185/0.001185, allocations: 172.8 kB / 491.2 MB, free: 1.609 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.687/1.687, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008981/0.0008981, allocations: 95.84 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.998e-05/2.001e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3196, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.132/1.452, allocations: 151.5 MB / 1.36 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/1.452, allocations: 70.08 kB / 1.36 GB, free: 17.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03722/1.489, allocations: 9.207 MB / 1.369 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.474e-06/1.489, allocations: 4 kB / 1.369 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.515e-05/1.489, allocations: 11.53 kB / 1.369 GB, free: 32.41 MB / 0.8386 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.002084/1.491, allocations: 0.8719 MB / 1.37 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/1.492, allocations: 11.53 kB / 1.37 GB, free: 31.88 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/1.492, allocations: 77.81 kB / 1.37 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006285/1.492, allocations: 373.3 kB / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.473e-05/1.492, allocations: 27.12 kB / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/1.493, allocations: 46.28 kB / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001026/1.494, allocations: 371.6 kB / 1.371 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001148/1.495, allocations: 435.2 kB / 1.372 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.326e-05/1.495, allocations: 0 / 1.372 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.223e-05/1.495, allocations: 0 / 1.372 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/1.495, allocations: 15.47 kB / 1.372 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002968/1.498, allocations: 1.43 MB / 1.373 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007817/1.499, allocations: 335.4 kB / 1.373 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/1.499, allocations: 162.5 kB / 1.373 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.798e-05/1.499, allocations: 7.984 kB / 1.374 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005549/1.5, allocations: 246.6 kB / 1.374 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=48): time 2.755e-06/1.5, allocations: 3.938 kB / 1.374 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=48): time 0.0007951/1.501, allocations: 309.5 kB / 1.374 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/1.501, allocations: 106.7 kB / 1.374 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/1.501, allocations: 267.5 kB / 1.374 GB, free: 30.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/1.501, allocations: 47.12 kB / 1.374 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/1.501, allocations: 280.6 kB / 1.375 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/1.502, allocations: 122.8 kB / 1.375 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/1.502, allocations: 3.875 kB / 1.375 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.502, allocations: 352.2 kB / 1.375 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/1.502, allocations: 150.1 kB / 1.375 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004583/1.503, allocations: 288 kB / 1.376 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004429/1.503, allocations: 131 kB / 1.376 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.503, allocations: 0 / 1.376 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001023/1.504, allocations: 416.5 kB / 1.376 GB, free: 29.91 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/1.504, allocations: 48.23 kB / 1.376 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/1.504, allocations: 4 kB / 1.376 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/1.504, allocations: 3.875 kB / 1.376 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/1.505, allocations: 52.53 kB / 1.376 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.817e-06/1.505, allocations: 3.875 kB / 1.376 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007558/1.505, allocations: 154.8 kB / 1.376 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/1.506, allocations: 15 kB / 1.376 GB, free: 29.85 MB / 0.8386 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.0001921/1.506, allocations: 143.5 kB / 1.377 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005292/1.506, allocations: 295.8 kB / 1.377 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.017e-05/1.506, allocations: 35 kB / 1.377 GB, free: 29.64 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006372/1.507, allocations: 320.2 kB / 1.377 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.507, allocations: 7.766 kB / 1.377 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/1.507, allocations: 0 / 1.377 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/1.507, allocations: 7.016 kB / 1.377 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008148/1.508, allocations: 0.6793 MB / 1.378 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/1.508, allocations: 0 / 1.378 GB, free: 29.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/1.508, allocations: 53.97 kB / 1.378 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/1.508, allocations: 3.812 kB / 1.378 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.45e-05/1.508, allocations: 6.484 kB / 1.378 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.508, allocations: 6.656 kB / 1.378 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.508, allocations: 0 / 1.378 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005685/1.509, allocations: 373.8 kB / 1.378 GB, free: 29.06 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.5e-05/1.509, allocations: 111.1 kB / 1.378 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.839e-05/1.509, allocations: 13.94 kB / 1.378 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003364/1.509, allocations: 67 kB / 1.378 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/1.51, allocations: 121.7 kB / 1.379 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.083e-05/1.51, allocations: 17.8 kB / 1.379 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001534/1.51, allocations: 178.4 kB / 1.379 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.51, allocations: 3.938 kB / 1.379 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006488/1.51, allocations: 120 kB / 1.379 GB, free: 28.82 MB / 0.8386 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.001013/1.511, allocations: 1.073 MB / 1.38 GB, free: 28.01 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006181/1.512, allocations: 428.4 kB / 1.38 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/1.512, allocations: 3.938 kB / 1.38 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002628/1.512, allocations: 200.1 kB / 1.38 GB, free: 27.91 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/1.513, allocations: 20.67 kB / 1.381 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/1.514, allocations: 0.6609 MB / 1.381 GB, free: 27.63 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/1.514, allocations: 0.8817 MB / 1.382 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001878/1.515, allocations: 48.14 kB / 1.382 GB, free: 26.91 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003015/1.515, allocations: 208.8 kB / 1.382 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of SimCode: time 1.032e-06/1.515, allocations: 0 / 1.382 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02754/1.542, allocations: 8.55 MB / 1.391 GB, free: 23.62 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/1.543, allocations: 164.2 kB / 1.391 GB, free: 23.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.19/3.732, allocations: 0 / 1.391 GB, free: 23.43 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatus_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatus.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatus_res.mat does not exist to compare? outputFormat=mat