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.192/2.192, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001065/0.001065, allocations: 180.8 kB / 487.4 MB, free: 5.043 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.393/1.393, allocations: 221.5 MB / 0.7824 GB, free: 1.023 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.0009167/0.0009166, allocations: 89.45 kB / 0.9219 GB, free: 2.254 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.978e-05/1.99e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2577, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8901/1.148, allocations: 149.7 MB / 1.352 GB, free: 18.54 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/1.148, allocations: 70.66 kB / 1.352 GB, free: 18.54 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0143/1.162, allocations: 5.201 MB / 1.357 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.526e-06/1.163, allocations: 4 kB / 1.357 GB, free: 33.96 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.324e-05/1.163, allocations: 3.844 kB / 1.357 GB, free: 33.96 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.0007932/1.163, allocations: 0.5423 MB / 1.358 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.025e-05/1.163, allocations: 7.844 kB / 1.358 GB, free: 33.49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.005e-05/1.164, allocations: 36.36 kB / 1.358 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/1.164, allocations: 211.4 kB / 1.358 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/1.164, allocations: 7.688 kB / 1.358 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/1.164, allocations: 23.45 kB / 1.358 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002342/1.164, allocations: 114.7 kB / 1.358 GB, free: 33.25 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/1.164, allocations: 140.3 kB / 1.358 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.164, allocations: 0 / 1.358 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/1.164, allocations: 3.844 kB / 1.358 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.664e-06/1.164, allocations: 3.844 kB / 1.358 GB, free: 33.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001032/1.165, allocations: 0.6875 MB / 1.359 GB, free: 32.94 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003838/1.166, allocations: 167.2 kB / 1.359 GB, free: 32.91 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.448e-05/1.166, allocations: 72.19 kB / 1.359 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.479e-05/1.166, allocations: 0 / 1.359 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001957/1.166, allocations: 135.4 kB / 1.36 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=20): time 1.673e-06/1.166, allocations: 0 / 1.36 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20): time 0.000297/1.166, allocations: 155.5 kB / 1.36 GB, free: 32.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/1.167, allocations: 63.2 kB / 1.36 GB, free: 32.74 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/1.167, allocations: 197.5 kB / 1.36 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/1.167, allocations: 38.34 kB / 1.36 GB, free: 32.6 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/1.167, allocations: 149.4 kB / 1.36 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.801e-05/1.167, allocations: 36.66 kB / 1.36 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.513e-05/1.167, allocations: 3.812 kB / 1.36 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.167, allocations: 333 kB / 1.36 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/1.167, allocations: 99.66 kB / 1.361 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001837/1.167, allocations: 161 kB / 1.361 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/1.168, allocations: 102.1 kB / 1.361 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/1.168, allocations: 3.938 kB / 1.361 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005915/1.168, allocations: 327.2 kB / 1.361 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.207e-05/1.169, allocations: 73.34 kB / 1.361 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/1.169, allocations: 0 / 1.361 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.169, allocations: 3.969 kB / 1.361 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.972e-05/1.169, allocations: 18.56 kB / 1.361 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/1.169, allocations: 3.812 kB / 1.361 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004003/1.169, allocations: 104.2 kB / 1.361 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.547e-05/1.169, allocations: 16.86 kB / 1.361 GB, free: 31.95 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.0001136/1.169, allocations: 127.6 kB / 1.361 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001903/1.169, allocations: 157.6 kB / 1.362 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.471e-05/1.169, allocations: 24.33 kB / 1.362 GB, free: 31.79 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.527e-05/1.169, allocations: 26.36 kB / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/1.17, allocations: 7.844 kB / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.17, allocations: 0 / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/1.17, allocations: 1.828 kB / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002466/1.17, allocations: 267.7 kB / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.17, allocations: 0 / 1.362 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.563e-05/1.17, allocations: 17.23 kB / 1.362 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/1.17, allocations: 0 / 1.362 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/1.17, allocations: 1.734 kB / 1.362 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/1.17, allocations: 3.844 kB / 1.362 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.17, allocations: 0 / 1.362 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/1.17, allocations: 194.2 kB / 1.362 GB, free: 31.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/1.17, allocations: 99.48 kB / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.153e-05/1.17, allocations: 3.781 kB / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.165e-05/1.17, allocations: 14.53 kB / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.531e-05/1.17, allocations: 34.5 kB / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/1.17, allocations: 9.422 kB / 1.362 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001083/1.171, allocations: 148.5 kB / 1.362 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.171, allocations: 0 / 1.362 GB, free: 31.33 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002665/1.171, allocations: 59.67 kB / 1.362 GB, free: 31.32 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.0005442/1.171, allocations: 0.7538 MB / 1.363 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003693/1.172, allocations: 344.3 kB / 1.364 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/1.172, allocations: 0 / 1.364 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 9.931e-05/1.172, allocations: 83.38 kB / 1.364 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002532/1.172, allocations: 40.95 kB / 1.364 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005933/1.173, allocations: 308.1 kB / 1.364 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/1.173, allocations: 0.745 MB / 1.365 GB, free: 29.69 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.705e-05/1.173, allocations: 27.02 kB / 1.365 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/1.173, allocations: 73.2 kB / 1.365 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of SimCode: time 2.71e-07/1.173, allocations: 0 / 1.365 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02377/1.197, allocations: 4.761 MB / 1.369 GB, free: 29.36 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/1.197, allocations: 164.8 kB / 1.37 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.921/3.118, allocations: 0 / 1.37 GB, free: 29.16 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