Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.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.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",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.234/2.234, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001519/0.001519, allocations: 180.9 kB / 492.3 MB, free: 0.6172 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: 221.3 MB / 0.7871 GB, free: 12.97 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.0009722/0.0009724, allocations: 95.41 kB / 0.9267 GB, free: 14.04 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.661e-05/4.672e-05, allocations: 0 / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3071/0.3072, allocations: 142.3 MB / 1.213 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9986/1.306, allocations: 150.4 MB / 1.359 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/1.306, allocations: 70.86 kB / 1.359 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01427/1.32, allocations: 5.234 MB / 1.365 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.743e-06/1.32, allocations: 0 / 1.365 GB, free: 34.45 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.736e-05/1.321, allocations: 3.906 kB / 1.365 GB, free: 34.45 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0009303/1.321, allocations: 0.5432 MB / 1.365 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/1.322, allocations: 11.72 kB / 1.365 GB, free: 33.98 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.01e-05/1.322, allocations: 54.5 kB / 1.365 GB, free: 33.94 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001297/1.322, allocations: 31 kB / 1.365 GB, free: 33.93 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/1.322, allocations: 223 kB / 1.365 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/1.322, allocations: 17.84 kB / 1.365 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.382e-05/1.322, allocations: 25.72 kB / 1.365 GB, free: 33.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/1.322, allocations: 172.6 kB / 1.366 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/1.323, allocations: 4 kB / 1.366 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/1.323, allocations: 6 kB / 1.366 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/1.323, allocations: 7.719 kB / 1.366 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/1.323, allocations: 121.8 kB / 1.366 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001205/1.324, allocations: 0.7296 MB / 1.366 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004138/1.324, allocations: 175 kB / 1.367 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/1.325, allocations: 76.55 kB / 1.367 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/1.325, allocations: 3.875 kB / 1.367 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/1.325, allocations: 147 kB / 1.367 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 2.675e-06/1.325, allocations: 0 / 1.367 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.000403/1.325, allocations: 178.9 kB / 1.367 GB, free: 33.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/1.325, allocations: 55.28 kB / 1.367 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002238/1.326, allocations: 197.4 kB / 1.367 GB, free: 33.04 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.923e-05/1.326, allocations: 36.33 kB / 1.367 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/1.326, allocations: 155.2 kB / 1.367 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/1.326, allocations: 40.59 kB / 1.367 GB, free: 32.89 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.303e-05/1.326, allocations: 11.5 kB / 1.367 GB, free: 32.88 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001153/1.326, allocations: 330.6 kB / 1.368 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/1.326, allocations: 107 kB / 1.368 GB, free: 32.57 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002262/1.326, allocations: 172 kB / 1.368 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/1.327, allocations: 156.9 kB / 1.368 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.327, allocations: 3.812 kB / 1.368 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005749/1.327, allocations: 384.5 kB / 1.369 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 6.326e-05/1.327, allocations: 67.7 kB / 1.369 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/1.327, allocations: 3.844 kB / 1.369 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/1.327, allocations: 8.078 kB / 1.369 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.203e-05/1.327, allocations: 22.27 kB / 1.369 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.327, allocations: 0 / 1.369 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004519/1.328, allocations: 110.2 kB / 1.369 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/1.328, allocations: 14.06 kB / 1.369 GB, free: 32.23 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,$PRE.zonSta.hysUHea.y,zonSta.hysUHea.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,$PRE.zonSta.hysU.y,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,$PRE.uCoo.booPul.y,uCoo.booPul.y,$PRE.uHea.booPul.y,uHea.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * 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.0001244/1.328, allocations: 134.3 kB / 1.369 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.847e-05/1.328, allocations: 19.03 kB / 1.369 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/1.328, allocations: 25.2 kB / 1.369 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/1.328, allocations: 11.7 kB / 1.369 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/1.328, allocations: 0 / 1.369 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/1.328, allocations: 7.078 kB / 1.369 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002517/1.328, allocations: 300.2 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/1.328, allocations: 0 / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/1.329, allocations: 14.91 kB / 1.369 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/1.329, allocations: 3.984 kB / 1.369 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.582e-05/1.329, allocations: 11 kB / 1.369 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/1.329, allocations: 0 / 1.369 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/1.329, allocations: 3.953 kB / 1.369 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002546/1.329, allocations: 207.9 kB / 1.369 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.841e-05/1.329, allocations: 95.41 kB / 1.37 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/1.329, allocations: 7.625 kB / 1.37 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.533e-05/1.329, allocations: 21.78 kB / 1.37 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.299e-05/1.329, allocations: 31.8 kB / 1.37 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/1.329, allocations: 10.7 kB / 1.37 GB, free: 31.7 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001293/1.329, allocations: 145.9 kB / 1.37 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.4e-07/1.329, allocations: 0 / 1.37 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003422/1.33, allocations: 75.25 kB / 1.37 GB, free: 31.62 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntCoo.u,zonSta.booToIntDea.u,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.u1,zonSta.hysU.y,zonSta.addInt.u1,zonSta.addInt.u2,zonSta.addInt.y,zonSta.addInt1.u2,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005878/1.33, allocations: 0.7605 MB / 1.371 GB, free: 31 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004666/1.331, allocations: 363.4 kB / 1.371 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.331, allocations: 0 / 1.371 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001239/1.331, allocations: 85.33 kB / 1.371 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/1.331, allocations: 39.97 kB / 1.371 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007326/1.332, allocations: 322.5 kB / 1.371 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/1.332, allocations: 0.7537 MB / 1.372 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 8.845e-05/1.332, allocations: 16.83 kB / 1.372 GB, free: 29.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/1.332, allocations: 76.12 kB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of SimCode: time 5.81e-07/1.332, allocations: 0 / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01903/1.351, allocations: 5.332 MB / 1.377 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/1.352, allocations: 171.3 kB / 1.378 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.851/3.203, allocations: 2.188 kB / 1.378 GB, free: 29.34 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat does not exist to compare? outputFormat=mat