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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.193/2.193, allocations: 390.3 MB / 405.3 MB, free: 13.5 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.001023/0.001023, allocations: 177.1 kB / 498.1 MB, free: 5.754 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.513/1.513, allocations: 223.2 MB / 0.7948 GB, free: 17.95 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.000831/0.000831, allocations: 97.25 kB / 0.9346 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003936/0.0003937, allocations: 10.47 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.288, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1717/0.4597, allocations: 151.4 MB / 1.371 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.46, allocations: 71.95 kB / 1.371 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02463/0.4847, allocations: 9.141 MB / 1.38 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.677e-06/0.4847, allocations: 0 / 1.38 GB, free: 1.414 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.261e-05/0.4848, allocations: 16 kB / 1.38 GB, free: 1.398 MB / 0.8698 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.001791/0.4866, allocations: 0.9086 MB / 1.381 GB, free: 444 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.4867, allocations: 12.03 kB / 1.381 GB, free: 432 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001972/0.4869, allocations: 110.5 kB / 1.381 GB, free: 312 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.4871, allocations: 75.16 kB / 1.381 GB, free: 236 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005627/0.4877, allocations: 366.1 kB / 1.381 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.588e-05/0.4877, allocations: 57.31 kB / 1.381 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.4879, allocations: 72 kB / 1.381 GB, free: 15.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/0.4889, allocations: 0.5375 MB / 1.382 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.4889, allocations: 0 / 1.382 GB, free: 15.16 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.489, allocations: 28 kB / 1.382 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.536e-05/0.489, allocations: 12 kB / 1.382 GB, free: 15.12 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00088/0.4899, allocations: 445 kB / 1.382 GB, free: 14.69 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.4924, allocations: 1.586 MB / 1.384 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007663/0.4932, allocations: 376.5 kB / 1.384 GB, free: 12.66 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.841e-05/0.4932, allocations: 12.38 kB / 1.384 GB, free: 12.65 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005434/0.4938, allocations: 288.6 kB / 1.385 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=48): time 2.114e-06/0.4938, allocations: 0 / 1.385 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of matching and sorting (n=48): time 0.001061/0.4949, allocations: 0.4999 MB / 1.385 GB, free: 11.84 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.393e-05/0.495, allocations: 114.9 kB / 1.385 GB, free: 11.71 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004409/0.4954, allocations: 392.9 kB / 1.386 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 7.945e-05/0.4955, allocations: 61.62 kB / 1.386 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.4957, allocations: 269 kB / 1.386 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.4958, allocations: 130.3 kB / 1.386 GB, free: 10.86 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.4959, allocations: 12 kB / 1.386 GB, free: 10.84 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.496, allocations: 362.8 kB / 1.386 GB, free: 10.48 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003957/0.4964, allocations: 189 kB / 1.387 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005093/0.497, allocations: 323.8 kB / 1.387 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.4973, allocations: 179.8 kB / 1.387 GB, free: 9.746 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.4974, allocations: 4 kB / 1.387 GB, free: 9.742 MB / 0.8855 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009765/0.4983, allocations: 0.5235 MB / 1.388 GB, free: 9.207 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.4984, allocations: 41.69 kB / 1.388 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.4984, allocations: 4 kB / 1.388 GB, free: 9.156 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4984, allocations: 0 / 1.388 GB, free: 9.156 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000228/0.4987, allocations: 63.91 kB / 1.388 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4987, allocations: 4 kB / 1.388 GB, free: 9.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006128/0.4993, allocations: 175.5 kB / 1.388 GB, free: 8.918 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.891e-05/0.4994, allocations: 19.98 kB / 1.388 GB, free: 8.898 MB / 0.8855 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 () * Number of clocked 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.0002654/0.4996, allocations: 202.2 kB / 1.388 GB, free: 8.695 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-05/0.4997, allocations: 43.44 kB / 1.388 GB, free: 8.652 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007476/0.5005, allocations: 406.4 kB / 1.388 GB, free: 8.25 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.5005, allocations: 8 kB / 1.388 GB, free: 8.242 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5005, allocations: 0 / 1.388 GB, free: 8.242 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5005, allocations: 3.938 kB / 1.388 GB, free: 8.238 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008143/0.5013, allocations: 0.78 MB / 1.389 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.5014, allocations: 0 / 1.389 GB, free: 7.395 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.5016, allocations: 47.92 kB / 1.389 GB, free: 7.348 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.5016, allocations: 4 kB / 1.389 GB, free: 7.344 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/0.5016, allocations: 11.98 kB / 1.389 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.5016, allocations: 0 / 1.389 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.697e-06/0.5016, allocations: 15.88 kB / 1.389 GB, free: 7.316 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006886/0.5023, allocations: 437.9 kB / 1.39 GB, free: 6.852 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.706e-05/0.5024, allocations: 140.5 kB / 1.39 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.475e-05/0.5025, allocations: 20 kB / 1.39 GB, free: 6.676 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002942/0.5028, allocations: 71.94 kB / 1.39 GB, free: 6.605 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.503, allocations: 111.8 kB / 1.39 GB, free: 6.496 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.523e-05/0.5031, allocations: 15.98 kB / 1.39 GB, free: 6.48 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002971/0.5034, allocations: 295.1 kB / 1.39 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5034, allocations: 0 / 1.39 GB, free: 6.191 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004138/0.5038, allocations: 127.8 kB / 1.39 GB, free: 6.066 MB / 0.8855 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) * Number of clocked states: 0 () * 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.001198/0.505, allocations: 1.174 MB / 1.392 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0008692/0.5059, allocations: 497.5 kB / 1.392 GB, free: 4.352 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5059, allocations: 0 / 1.392 GB, free: 4.352 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0004203/0.5063, allocations: 231.9 kB / 1.392 GB, free: 4.125 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.5067, allocations: 41.8 kB / 1.392 GB, free: 4.086 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.5088, allocations: 1.832 MB / 1.394 GB, free: 2.195 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004199/0.5092, allocations: 0.8723 MB / 1.395 GB, free: 1.289 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000202/0.5094, allocations: 56.36 kB / 1.395 GB, free: 1.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003049/0.5097, allocations: 207.3 kB / 1.395 GB, free: 1.027 MB / 0.8855 GB Notification: Performance of SimCode: time 5.51e-07/0.5097, allocations: 0 / 1.395 GB, free: 1.027 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02451/0.5343, allocations: 10.18 MB / 1.405 GB, free: 7.066 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001985/0.5345, allocations: 201.4 kB / 1.405 GB, free: 6.824 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.27/2.805, allocations: 3.938 kB / 1.405 GB, free: 6.82 MB / 0.9011 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