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.306/2.306, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001291/0.001291, allocations: 175.3 kB / 498.1 MB, free: 5.746 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.537/1.537, allocations: 223.2 MB / 0.7948 GB, free: 17.81 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.0009904/0.00099, allocations: 98.52 kB / 0.9346 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003414/0.0003414, allocations: 6.875 kB / 1.084 GB, free: 221.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.273, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1901/0.4631, allocations: 150.5 MB / 1.37 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.4635, allocations: 75.94 kB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01702/0.4805, allocations: 5.238 MB / 1.375 GB, free: 6.129 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.367e-06/0.4806, allocations: 4 kB / 1.375 GB, free: 6.125 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.4806, allocations: 7.938 kB / 1.375 GB, free: 6.117 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.000806/0.4814, allocations: 0.57 MB / 1.376 GB, free: 5.484 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.4815, allocations: 8.031 kB / 1.376 GB, free: 5.477 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.211e-05/0.4815, allocations: 58.47 kB / 1.376 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.519e-05/0.4816, allocations: 35.72 kB / 1.376 GB, free: 5.375 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002046/0.4818, allocations: 206.5 kB / 1.376 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.511e-05/0.4819, allocations: 23.94 kB / 1.376 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.525e-05/0.4819, allocations: 35.98 kB / 1.376 GB, free: 5.074 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.4823, allocations: 169.5 kB / 1.376 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.4823, allocations: 0 / 1.376 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.4823, allocations: 12 kB / 1.376 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.4823, allocations: 4 kB / 1.376 GB, free: 4.887 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002341/0.4826, allocations: 123.9 kB / 1.376 GB, free: 4.766 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00112/0.4837, allocations: 0.7343 MB / 1.377 GB, free: 3.977 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/0.4841, allocations: 182.8 kB / 1.377 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.713e-05/0.4842, allocations: 288 / 1.377 GB, free: 3.789 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002842/0.4845, allocations: 143.9 kB / 1.377 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=20): time 1.483e-06/0.4845, allocations: 0 / 1.377 GB, free: 3.637 MB / 0.8698 GB Notification: Performance of matching and sorting (n=20): time 0.000454/0.4849, allocations: 235.1 kB / 1.378 GB, free: 3.402 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.722e-05/0.485, allocations: 55.41 kB / 1.378 GB, free: 3.336 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001912/0.4852, allocations: 209.9 kB / 1.378 GB, free: 3.125 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.4852, allocations: 37.7 kB / 1.378 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.4854, allocations: 148.4 kB / 1.378 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.542e-05/0.4854, allocations: 47.36 kB / 1.378 GB, free: 2.887 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.772e-05/0.4854, allocations: 8 kB / 1.378 GB, free: 2.879 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.4856, allocations: 330.8 kB / 1.378 GB, free: 2.547 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.4858, allocations: 112 kB / 1.378 GB, free: 2.438 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.4861, allocations: 176 kB / 1.379 GB, free: 2.242 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002116/0.4863, allocations: 155.6 kB / 1.379 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.4863, allocations: 0 / 1.379 GB, free: 2.078 MB / 0.8698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006126/0.4869, allocations: 398.8 kB / 1.379 GB, free: 1.672 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.924e-05/0.487, allocations: 73.27 kB / 1.379 GB, free: 1.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.487, allocations: 4 kB / 1.379 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.487, allocations: 0 / 1.379 GB, free: 1.586 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.07e-05/0.4871, allocations: 19.94 kB / 1.379 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.4871, allocations: 3.938 kB / 1.379 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000419/0.4876, allocations: 103.9 kB / 1.379 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.4876, allocations: 23.98 kB / 1.379 GB, free: 1.438 MB / 0.8698 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 () * Number of clocked 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.0001625/0.4878, allocations: 151.6 kB / 1.38 GB, free: 1.281 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.4878, allocations: 19.77 kB / 1.38 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.566e-05/0.4879, allocations: 25.88 kB / 1.38 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.4879, allocations: 3.984 kB / 1.38 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.4879, allocations: 0 / 1.38 GB, free: 1.234 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4879, allocations: 3.938 kB / 1.38 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.4882, allocations: 313.4 kB / 1.38 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4882, allocations: 0 / 1.38 GB, free: 0.875 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.296e-05/0.4883, allocations: 12 kB / 1.38 GB, free: 0.8633 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.4883, allocations: 3.953 kB / 1.38 GB, free: 0.8594 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.4883, allocations: 7.984 kB / 1.38 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.4883, allocations: 0 / 1.38 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.4883, allocations: 0 / 1.38 GB, free: 0.8516 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002978/0.4886, allocations: 210.2 kB / 1.38 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.4887, allocations: 96.92 kB / 1.38 GB, free: 0.5156 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.4887, allocations: 8 kB / 1.38 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.214e-05/0.4888, allocations: 19.94 kB / 1.38 GB, free: 500 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/0.4889, allocations: 35.94 kB / 1.38 GB, free: 464 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.489, allocations: 4 kB / 1.38 GB, free: 460 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001275/0.4891, allocations: 152.6 kB / 1.38 GB, free: 308 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4891, allocations: 0 / 1.38 GB, free: 308 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002764/0.4894, allocations: 75.84 kB / 1.38 GB, free: 232 kB / 0.8698 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) * Number of clocked states: 0 () * 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.0006691/0.4901, allocations: 0.7551 MB / 1.381 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00052/0.4906, allocations: 368.9 kB / 1.382 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4906, allocations: 4.062 kB / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001442/0.4907, allocations: 83.86 kB / 1.382 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.491, allocations: 36.95 kB / 1.382 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.4922, allocations: 1.288 MB / 1.383 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/0.4926, allocations: 0.7559 MB / 1.384 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 7.318e-05/0.4926, allocations: 17.95 kB / 1.384 GB, free: 12.79 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.4928, allocations: 79.34 kB / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.4928, allocations: 0 / 1.384 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.5094, allocations: 5.27 MB / 1.389 GB, free: 7.652 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002515/0.5097, allocations: 198.8 kB / 1.389 GB, free: 7.41 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.796/2.306, allocations: 0 / 1.389 GB, free: 7.41 MB / 0.8855 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