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.367/2.367, allocations: 387.1 MB / 399.7 MB, free: 9.492 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.001166/0.001166, allocations: 172.9 kB / 492.3 MB, free: 0.6133 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.819/1.819, allocations: 221.3 MB / 0.7872 GB, free: 12.93 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.0008882/0.0008881, allocations: 101.7 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.253e-05/3.256e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2969, allocations: 142.3 MB / 1.213 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.064/1.361, allocations: 151.8 MB / 1.361 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000226/1.361, allocations: 71.34 kB / 1.361 GB, free: 19.02 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02411/1.385, allocations: 9.713 MB / 1.37 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.474e-06/1.385, allocations: 3.844 kB / 1.37 GB, free: 34.13 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.072e-05/1.386, allocations: 15.38 kB / 1.37 GB, free: 34.13 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.001956/1.388, allocations: 0.8572 MB / 1.371 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/1.388, allocations: 11.75 kB / 1.371 GB, free: 33.6 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002426/1.388, allocations: 104.3 kB / 1.371 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/1.388, allocations: 81.66 kB / 1.371 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001168/1.389, allocations: 0.5459 MB / 1.372 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.855e-05/1.389, allocations: 56.11 kB / 1.372 GB, free: 33.24 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/1.389, allocations: 71.66 kB / 1.372 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/1.391, allocations: 0.5952 MB / 1.373 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/1.391, allocations: 0 / 1.373 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.054e-05/1.391, allocations: 27.7 kB / 1.373 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/1.391, allocations: 15.44 kB / 1.373 GB, free: 33.16 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000713/1.391, allocations: 406.9 kB / 1.373 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/1.395, allocations: 1.958 MB / 1.375 GB, free: 32.56 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008529/1.395, allocations: 0.4958 MB / 1.375 GB, free: 32.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003071/1.396, allocations: 245.1 kB / 1.376 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/1.396, allocations: 7.688 kB / 1.376 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004613/1.396, allocations: 290.3 kB / 1.376 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=51): time 2.384e-06/1.396, allocations: 4 kB / 1.376 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51): time 0.0007826/1.397, allocations: 483.1 kB / 1.376 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.116e-05/1.397, allocations: 121.2 kB / 1.377 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000524/1.398, allocations: 441.2 kB / 1.377 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/1.398, allocations: 47.2 kB / 1.377 GB, free: 32.09 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/1.398, allocations: 300.7 kB / 1.377 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.945e-05/1.398, allocations: 146.3 kB / 1.377 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/1.398, allocations: 13.94 kB / 1.377 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001417/1.398, allocations: 371.2 kB / 1.378 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/1.399, allocations: 143 kB / 1.378 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/1.399, allocations: 273 kB / 1.378 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/1.399, allocations: 159.6 kB / 1.378 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/1.399, allocations: 0 / 1.378 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0006764/1.4, allocations: 481.1 kB / 1.379 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002054/1.4, allocations: 0.6193 MB / 1.379 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/1.4, allocations: 3.5 kB / 1.379 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/1.4, allocations: 3.875 kB / 1.379 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003439/1.4, allocations: 89.77 kB / 1.38 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/1.4, allocations: 3.844 kB / 1.38 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000381/1.401, allocations: 99.8 kB / 1.38 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.403e-05/1.401, allocations: 14.62 kB / 1.38 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.024e-05/1.401, allocations: 3.875 kB / 1.38 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005455/1.401, allocations: 391.1 kB / 1.38 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/1.401, allocations: 0 / 1.38 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.685e-06/1.401, allocations: 3.688 kB / 1.38 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/1.402, allocations: 81.92 kB / 1.38 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/1.402, allocations: 7.938 kB / 1.38 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/1.402, allocations: 73.2 kB / 1.38 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.073e-05/1.402, allocations: 19.34 kB / 1.38 GB, free: 30.57 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.0001532/1.402, allocations: 151.9 kB / 1.38 GB, free: 30.45 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.218e-05/1.402, allocations: 58.41 kB / 1.38 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001397/1.402, allocations: 60.64 kB / 1.38 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/1.403, allocations: 3.906 kB / 1.38 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.403, allocations: 3.953 kB / 1.38 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/1.403, allocations: 3 kB / 1.38 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001595/1.404, allocations: 1.294 MB / 1.382 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/1.404, allocations: 0 / 1.382 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000298/1.404, allocations: 67.08 kB / 1.382 GB, free: 30.08 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/1.404, allocations: 11.8 kB / 1.382 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/1.405, allocations: 20.17 kB / 1.382 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/1.405, allocations: 0 / 1.382 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.405, allocations: 3.844 kB / 1.382 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/1.406, allocations: 0.8105 MB / 1.383 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.667e-05/1.406, allocations: 138.7 kB / 1.383 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.678e-05/1.406, allocations: 22.47 kB / 1.383 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/1.406, allocations: 56.58 kB / 1.383 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001197/1.406, allocations: 56.56 kB / 1.383 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/1.406, allocations: 25.67 kB / 1.383 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003688/1.407, allocations: 338 kB / 1.383 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.81e-07/1.407, allocations: 0 / 1.383 GB, free: 29.66 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005918/1.407, allocations: 216.5 kB / 1.383 GB, free: 29.62 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.001243/1.409, allocations: 1.393 MB / 1.385 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0009045/1.409, allocations: 0.6345 MB / 1.385 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/1.409, allocations: 2.719 kB / 1.385 GB, free: 28.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002828/1.41, allocations: 239.3 kB / 1.386 GB, free: 28.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000494/1.41, allocations: 98.23 kB / 1.386 GB, free: 28.85 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/1.412, allocations: 0.8798 MB / 1.387 GB, free: 28.54 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004508/1.412, allocations: 0.8958 MB / 1.387 GB, free: 27.74 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004438/1.413, allocations: 99.08 kB / 1.388 GB, free: 27.69 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003155/1.413, allocations: 224.1 kB / 1.388 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of SimCode: time 4.41e-07/1.413, allocations: 0 / 1.388 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02577/1.439, allocations: 12 MB / 1.399 GB, free: 22.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/1.439, allocations: 175.4 kB / 1.4 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.336/3.776, allocations: 4 kB / 1.4 GB, free: 21.92 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