Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.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.ControlLoops,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops",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.284/2.284, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001111/0.001111, allocations: 169.2 kB / 498.1 MB, free: 5.758 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.672/1.672, allocations: 223.1 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.0008571/0.0008572, allocations: 90.84 kB / 0.9346 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003958, allocations: 12.28 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.28, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.4615, allocations: 151.9 MB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.4618, allocations: 67.95 kB / 1.371 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02496/0.4868, allocations: 9.741 MB / 1.381 GB, free: 288 kB / 0.8698 GB Notification: Performance of FrontEnd: time 1.943e-06/0.4868, allocations: 0 / 1.381 GB, free: 288 kB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.935e-05/0.4869, allocations: 12 kB / 1.381 GB, free: 276 kB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002192/0.4891, allocations: 0.9599 MB / 1.382 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4892, allocations: 12.03 kB / 1.382 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001913/0.4894, allocations: 102.5 kB / 1.382 GB, free: 15.13 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.4896, allocations: 79.06 kB / 1.382 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001048/0.4906, allocations: 0.5562 MB / 1.383 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.185e-05/0.4907, allocations: 49.31 kB / 1.383 GB, free: 14.41 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.4908, allocations: 71.98 kB / 1.383 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/0.492, allocations: 0.6362 MB / 1.383 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.492, allocations: 0 / 1.383 GB, free: 13.69 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.043e-05/0.4921, allocations: 27.98 kB / 1.383 GB, free: 13.66 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.609e-05/0.4921, allocations: 19.94 kB / 1.383 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009876/0.4931, allocations: 477 kB / 1.384 GB, free: 13.18 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003237/0.4964, allocations: 1.958 MB / 1.386 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001224/0.4976, allocations: 0.5979 MB / 1.386 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.17e-05/0.4977, allocations: 4 kB / 1.386 GB, free: 10.55 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006539/0.4983, allocations: 337.8 kB / 1.387 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=51): time 2.615e-06/0.4983, allocations: 0 / 1.387 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=51): time 0.001471/0.4998, allocations: 0.7249 MB / 1.387 GB, free: 9.477 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/0.4999, allocations: 111.2 kB / 1.387 GB, free: 9.34 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/0.5005, allocations: 445.2 kB / 1.388 GB, free: 8.898 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/0.5006, allocations: 49.69 kB / 1.388 GB, free: 8.844 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.5009, allocations: 300.9 kB / 1.388 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001362/0.501, allocations: 146 kB / 1.388 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.72e-05/0.5011, allocations: 12 kB / 1.388 GB, free: 8.387 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001688/0.5012, allocations: 366.8 kB / 1.389 GB, free: 8.02 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.5016, allocations: 185 kB / 1.389 GB, free: 7.836 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004757/0.5021, allocations: 314.8 kB / 1.389 GB, free: 7.484 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004158/0.5025, allocations: 198.1 kB / 1.389 GB, free: 7.293 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.5026, allocations: 0 / 1.389 GB, free: 7.293 MB / 0.8855 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001002/0.5036, allocations: 0.5491 MB / 1.39 GB, free: 6.734 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003079/0.5039, allocations: 0.6144 MB / 1.39 GB, free: 6.074 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.5039, allocations: 4 kB / 1.391 GB, free: 6.07 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.5039, allocations: 4 kB / 1.391 GB, free: 6.066 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003625/0.5043, allocations: 91.83 kB / 1.391 GB, free: 5.977 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.5043, allocations: 4 kB / 1.391 GB, free: 5.973 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004015/0.5047, allocations: 87.64 kB / 1.391 GB, free: 5.887 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.786e-05/0.5048, allocations: 20 kB / 1.391 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/0.5048, allocations: 0 / 1.391 GB, free: 5.867 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007481/0.5055, allocations: 413.2 kB / 1.391 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5056, allocations: 0 / 1.391 GB, free: 5.461 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.5056, allocations: 7.953 kB / 1.391 GB, free: 5.453 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.5059, allocations: 76.09 kB / 1.391 GB, free: 5.379 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.5059, allocations: 7.938 kB / 1.391 GB, free: 5.371 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.5062, allocations: 83.55 kB / 1.391 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.5063, allocations: 16 kB / 1.391 GB, free: 5.273 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 28 ($PRE.conLoo.disCoo.u,$PRE.conLoo.disHea.u,$whenCondition4,$PRE.conLoo.disHea.t_next,$whenCondition1,$PRE.conLoo.disCoo.t_next,conLoo.disHea.t_next,conLoo.disCoo.t_next,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,$PRE.conLoo.enaHeaLoo.lesHys.y,conLoo.enaHeaLoo.lesHys.y,$PRE.conLoo.enaCooLoo.lesHys.y,conLoo.enaCooLoo.lesHys.y,conLoo.disCoo.u,conLoo.disCoo.y,conLoo.disHea.u,conLoo.disHea.y,$PRE.conLoo.zerCon.lesHys.y,conLoo.zerCon.lesHys.y,$PRE.conLoo.zerCon1.lesHys.y,conLoo.zerCon1.lesHys.y,conLoo.disCooCon.y,conLoo.disHeaCon.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * 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.0003364/0.5066, allocations: 295.7 kB / 1.392 GB, free: 4.977 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.263e-05/0.5067, allocations: 59.28 kB / 1.392 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001377/0.5069, allocations: 65.48 kB / 1.392 GB, free: 4.855 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-06/0.5069, allocations: 11.97 kB / 1.392 GB, free: 4.844 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/0.5069, allocations: 4 kB / 1.392 GB, free: 4.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.788e-06/0.5069, allocations: 0 / 1.392 GB, free: 4.84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002134/0.509, allocations: 1.361 MB / 1.393 GB, free: 3.422 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5091, allocations: 3.953 kB / 1.393 GB, free: 3.418 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003138/0.5094, allocations: 71.89 kB / 1.393 GB, free: 3.348 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.5094, allocations: 4 kB / 1.393 GB, free: 3.344 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.5094, allocations: 11.98 kB / 1.393 GB, free: 3.332 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.5095, allocations: 0 / 1.393 GB, free: 3.332 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.5095, allocations: 3.938 kB / 1.393 GB, free: 3.328 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.511, allocations: 0.912 MB / 1.394 GB, free: 2.398 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001298/0.5111, allocations: 152.2 kB / 1.394 GB, free: 2.23 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.138e-05/0.5112, allocations: 19.98 kB / 1.394 GB, free: 2.211 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.5116, allocations: 56.02 kB / 1.394 GB, free: 2.156 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.5117, allocations: 56.33 kB / 1.394 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.294e-05/0.5118, allocations: 23.98 kB / 1.394 GB, free: 2.078 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004292/0.5122, allocations: 342.9 kB / 1.395 GB, free: 1.746 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5122, allocations: 4 kB / 1.395 GB, free: 1.742 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006522/0.5129, allocations: 207.4 kB / 1.395 GB, free: 1.539 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conLoo.cooCon.I.y,conLoo.heaCon.I.y) * Number of discrete variables: 20 (conLoo.disCoo.u,conLoo.disHea.u,$whenCondition8,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,conLoo.enaHeaLoo.lesHys.y,conLoo.enaCooLoo.lesHys.y,conLoo.disCoo.y,conLoo.disCoo.t_next,conLoo.disHea.y,conLoo.disHea.t_next,conLoo.zerCon.lesHys.y,conLoo.zerCon1.lesHys.y,conLoo.disCooCon.y,conLoo.disHeaCon.y) * Number of discrete states: 6 (conLoo.disHea.t_next,conLoo.disCoo.t_next,conLoo.zerCon1.lesHys.y,conLoo.enaCooLoo.lesHys.y,conLoo.enaHeaLoo.lesHys.y,conLoo.zerCon.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001858/0.5148, allocations: 1.5 MB / 1.396 GB, free: 16 kB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001354/0.5161, allocations: 0.6961 MB / 1.397 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5161, allocations: 4.75 kB / 1.397 GB, free: 15.32 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.5166, allocations: 282.3 kB / 1.397 GB, free: 15.04 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.5171, allocations: 89.94 kB / 1.397 GB, free: 14.95 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002762/0.5199, allocations: 2.572 MB / 1.4 GB, free: 12.29 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005504/0.5205, allocations: 0.8994 MB / 1.401 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003534/0.5208, allocations: 80.83 kB / 1.401 GB, free: 11.29 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003382/0.5212, allocations: 231.3 kB / 1.401 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of SimCode: time 1.903e-06/0.5212, allocations: 0 / 1.401 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.5497, allocations: 11.14 MB / 1.412 GB, free: 168 kB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/0.55, allocations: 196.6 kB / 1.412 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.26/2.81, allocations: 7.984 kB / 1.412 GB, free: 15.92 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops_res.mat does not exist to compare? outputFormat=mat