Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.385/2.385, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001101/0.001102, allocations: 184.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.001115/0.001115, allocations: 92 kB / 0.9317 GB, free: 5.684 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.054e-05/4.075e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4172, allocations: 143 MB / 1.219 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.136/1.553, allocations: 152.7 MB / 1.368 GB, free: 1.398 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002312/1.554, allocations: 64.91 kB / 1.368 GB, free: 1.363 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02654/1.58, allocations: 9.73 MB / 1.378 GB, free: 9.121 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.298e-06/1.58, allocations: 3.984 kB / 1.378 GB, free: 9.117 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.363e-05/1.58, allocations: 16 kB / 1.378 GB, free: 9.102 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.001726/1.582, allocations: 0.853 MB / 1.378 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.44e-05/1.582, allocations: 12.03 kB / 1.378 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001313/1.582, allocations: 105.2 kB / 1.378 GB, free: 8.156 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/1.582, allocations: 79.06 kB / 1.379 GB, free: 8.078 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/1.583, allocations: 0.5502 MB / 1.379 GB, free: 7.598 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.057e-05/1.583, allocations: 49.81 kB / 1.379 GB, free: 7.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001031/1.584, allocations: 65.67 kB / 1.379 GB, free: 7.523 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/1.585, allocations: 0.5954 MB / 1.38 GB, free: 7.117 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/1.585, allocations: 0.7656 kB / 1.38 GB, free: 7.117 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.043e-05/1.585, allocations: 35.36 kB / 1.38 GB, free: 7.102 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/1.585, allocations: 12 kB / 1.38 GB, free: 7.09 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007376/1.586, allocations: 401.2 kB / 1.38 GB, free: 6.852 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/1.589, allocations: 1.958 MB / 1.382 GB, free: 5.359 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009057/1.59, allocations: 0.4984 MB / 1.383 GB, free: 5.035 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/1.59, allocations: 244.1 kB / 1.383 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.274e-05/1.59, allocations: 4 kB / 1.383 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005408/1.591, allocations: 307.8 kB / 1.383 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=51): time 3.557e-06/1.591, allocations: 0 / 1.383 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51): time 0.0009901/1.592, allocations: 481.8 kB / 1.384 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.792e-05/1.592, allocations: 111.2 kB / 1.384 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006111/1.592, allocations: 448.7 kB / 1.384 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 6.463e-05/1.592, allocations: 40.45 kB / 1.384 GB, free: 3.797 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002602/1.593, allocations: 305.4 kB / 1.384 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/1.593, allocations: 147.3 kB / 1.385 GB, free: 3.465 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.388e-05/1.593, allocations: 13.06 kB / 1.385 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002034/1.593, allocations: 372.6 kB / 1.385 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/1.593, allocations: 147.8 kB / 1.385 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003695/1.594, allocations: 271.1 kB / 1.385 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002822/1.594, allocations: 155 kB / 1.386 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/1.594, allocations: 8 kB / 1.386 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.000749/1.595, allocations: 477.7 kB / 1.386 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003453/1.595, allocations: 0.613 MB / 1.387 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.595, allocations: 0 / 1.387 GB, free: 1.699 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.966e-05/1.595, allocations: 8 kB / 1.387 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000405/1.596, allocations: 94.88 kB / 1.387 GB, free: 1.602 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.004e-05/1.596, allocations: 8.062 kB / 1.387 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004152/1.596, allocations: 90.86 kB / 1.387 GB, free: 1.512 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/1.596, allocations: 18.94 kB / 1.387 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/1.596, allocations: 4 kB / 1.387 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006152/1.597, allocations: 390.7 kB / 1.387 GB, free: 1.238 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.597, allocations: 4 kB / 1.387 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.975e-06/1.597, allocations: 12.14 kB / 1.387 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002884/1.597, allocations: 75.53 kB / 1.387 GB, free: 1.152 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/1.597, allocations: 4 kB / 1.387 GB, free: 1.148 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003373/1.597, allocations: 69.47 kB / 1.387 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.792e-05/1.597, allocations: 15.06 kB / 1.387 GB, free: 1.078 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.0001912/1.598, allocations: 156 kB / 1.387 GB, free: 0.9375 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.577e-05/1.598, allocations: 63.19 kB / 1.388 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001721/1.598, allocations: 62.98 kB / 1.388 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/1.598, allocations: 11.95 kB / 1.388 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/1.598, allocations: 0 / 1.388 GB, free: 0.8359 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/1.598, allocations: 3.984 kB / 1.388 GB, free: 0.832 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/1.6, allocations: 1.284 MB / 1.389 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.6, allocations: 0 / 1.389 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003227/1.6, allocations: 71.3 kB / 1.389 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/1.6, allocations: 0 / 1.389 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/1.6, allocations: 14.86 kB / 1.389 GB, free: 15.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/1.6, allocations: 8 kB / 1.389 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.093e-06/1.6, allocations: 3.938 kB / 1.389 GB, free: 15.79 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/1.602, allocations: 0.8162 MB / 1.39 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/1.602, allocations: 142.9 kB / 1.39 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.071e-05/1.602, allocations: 22.5 kB / 1.39 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003562/1.602, allocations: 51.83 kB / 1.39 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/1.602, allocations: 62.33 kB / 1.39 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/1.602, allocations: 19.11 kB / 1.39 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0004817/1.603, allocations: 338.7 kB / 1.39 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.6e-07/1.603, allocations: 0 / 1.39 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007485/1.604, allocations: 219.5 kB / 1.391 GB, free: 14.49 MB / 0.8542 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.001737/1.605, allocations: 1.387 MB / 1.392 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00122/1.607, allocations: 0.6384 MB / 1.393 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/1.607, allocations: 0 / 1.393 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0003646/1.607, allocations: 242.1 kB / 1.393 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/1.608, allocations: 97.05 kB / 1.393 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/1.61, allocations: 0.8654 MB / 1.394 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006039/1.61, allocations: 0.8967 MB / 1.395 GB, free: 11 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004895/1.611, allocations: 96.81 kB / 1.395 GB, free: 10.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/1.611, allocations: 227 kB / 1.395 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of SimCode: time 4.659e-06/1.611, allocations: 0 / 1.395 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0346/1.646, allocations: 11.99 MB / 1.407 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002903/1.646, allocations: 189.2 kB / 1.407 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.45/4.096, allocations: 0 / 1.407 GB, free: 14.85 MB / 0.8698 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ControlLoops.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ControlLoops_res.mat does not exist to compare? outputFormat=mat