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.234/2.234, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.001034/0.001034, allocations: 180.8 kB / 487.4 MB, free: 5.023 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.488/1.488, allocations: 221.5 MB / 0.7824 GB, free: 1.012 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.000914/0.0009139, allocations: 95.78 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.766e-05/1.769e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2956, allocations: 142.4 MB / 1.206 GB, free: 43.84 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.092/1.387, allocations: 151.2 MB / 1.354 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.388, allocations: 69.11 kB / 1.354 GB, free: 18.23 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02391/1.411, allocations: 9.632 MB / 1.363 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.773e-06/1.411, allocations: 1.531 kB / 1.363 GB, free: 33.37 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.874e-05/1.412, allocations: 15.34 kB / 1.363 GB, free: 33.37 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001473/1.413, allocations: 0.8564 MB / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.413, allocations: 7.75 kB / 1.364 GB, free: 32.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/1.413, allocations: 81.53 kB / 1.364 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008946/1.414, allocations: 0.5548 MB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/1.414, allocations: 19.22 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.79e-05/1.414, allocations: 45.39 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006538/1.415, allocations: 372.3 kB / 1.365 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000819/1.416, allocations: 0.5173 MB / 1.366 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/1.416, allocations: 0 / 1.366 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.883e-05/1.416, allocations: 6.641 kB / 1.366 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/1.416, allocations: 11.38 kB / 1.366 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002611/1.418, allocations: 1.822 MB / 1.367 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007932/1.419, allocations: 477.4 kB / 1.368 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002775/1.42, allocations: 226 kB / 1.368 GB, free: 31.85 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.92e-05/1.42, allocations: 8.562 kB / 1.368 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004639/1.42, allocations: 281.4 kB / 1.368 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=51): time 2.745e-06/1.42, allocations: 0 / 1.368 GB, free: 31.78 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51): time 0.0007211/1.421, allocations: 442.8 kB / 1.369 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/1.421, allocations: 110.5 kB / 1.369 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/1.421, allocations: 352.9 kB / 1.369 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.02e-05/1.421, allocations: 35.78 kB / 1.369 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001986/1.422, allocations: 315 kB / 1.37 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.03e-05/1.422, allocations: 137 kB / 1.37 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.126e-05/1.422, allocations: 0 / 1.37 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001919/1.422, allocations: 356.7 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002085/1.422, allocations: 142.9 kB / 1.37 GB, free: 30.88 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002792/1.422, allocations: 266 kB / 1.37 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002264/1.423, allocations: 151.5 kB / 1.371 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.423, allocations: 7.969 kB / 1.371 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005844/1.423, allocations: 423.2 kB / 1.371 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003046/1.424, allocations: 0.618 MB / 1.372 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.424, allocations: 0 / 1.372 GB, free: 30.01 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/1.424, allocations: 11.75 kB / 1.372 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/1.424, allocations: 88.11 kB / 1.372 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.716e-06/1.424, allocations: 7.812 kB / 1.372 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003505/1.424, allocations: 71.95 kB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.455e-05/1.424, allocations: 17.88 kB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.114e-06/1.424, allocations: 3.812 kB / 1.372 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004902/1.425, allocations: 333.3 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.826e-06/1.425, allocations: 0 / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.282e-06/1.425, allocations: 11.88 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/1.425, allocations: 70.92 kB / 1.372 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/1.425, allocations: 7.906 kB / 1.372 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002765/1.425, allocations: 58.64 kB / 1.372 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/1.426, allocations: 18.22 kB / 1.372 GB, free: 29.93 MB / 0.8386 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 () * 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.000168/1.426, allocations: 127.1 kB / 1.372 GB, free: 29.82 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006098/1.426, allocations: 442.3 kB / 1.373 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.79e-05/1.426, allocations: 49.41 kB / 1.373 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/1.427, allocations: 50.48 kB / 1.373 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/1.427, allocations: 7.766 kB / 1.373 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/1.427, allocations: 0 / 1.373 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/1.427, allocations: 3 kB / 1.373 GB, free: 29.71 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001416/1.428, allocations: 1.169 MB / 1.374 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.428, allocations: 0 / 1.374 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003068/1.428, allocations: 66.25 kB / 1.374 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.079e-06/1.428, allocations: 3.969 kB / 1.374 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.596e-05/1.428, allocations: 25.3 kB / 1.374 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/1.428, allocations: 7.938 kB / 1.374 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/1.428, allocations: 0 / 1.374 GB, free: 29.39 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009479/1.429, allocations: 0.759 MB / 1.375 GB, free: 29.21 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.826e-05/1.429, allocations: 126.1 kB / 1.375 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.648e-05/1.429, allocations: 14.06 kB / 1.375 GB, free: 29.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000348/1.43, allocations: 50.83 kB / 1.375 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/1.43, allocations: 58.34 kB / 1.375 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.884e-05/1.43, allocations: 20.23 kB / 1.375 GB, free: 29.08 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002939/1.43, allocations: 262.5 kB / 1.375 GB, free: 29 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.5e-07/1.43, allocations: 0 / 1.375 GB, free: 29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006247/1.431, allocations: 204.7 kB / 1.376 GB, free: 28.95 MB / 0.8386 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) * 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.001383/1.432, allocations: 1.333 MB / 1.377 GB, free: 28.24 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008613/1.433, allocations: 0.5946 MB / 1.377 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.433, allocations: 0 / 1.377 GB, free: 28.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002938/1.434, allocations: 232.2 kB / 1.378 GB, free: 28.19 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005598/1.434, allocations: 81.94 kB / 1.378 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/1.436, allocations: 0.8033 MB / 1.379 GB, free: 27.89 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005449/1.436, allocations: 0.8981 MB / 1.379 GB, free: 27.18 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004385/1.437, allocations: 94.19 kB / 1.379 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003055/1.437, allocations: 229.4 kB / 1.38 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.437, allocations: 0 / 1.38 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03198/1.469, allocations: 10.49 MB / 1.39 GB, free: 23.34 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001879/1.469, allocations: 159 kB / 1.39 GB, free: 23.14 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/4.125, allocations: 0 / 1.39 GB, free: 23.14 MB / 0.8386 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