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.414/2.414, allocations: 390.5 MB / 398 MB, free: 10.96 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.001229/0.00123, allocations: 184.2 kB / 491.2 MB, free: 1.586 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.68/1.68, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001005/0.001005, allocations: 99.81 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.673e-05/2.677e-05, allocations: 0 / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2832, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8673/1.15, allocations: 152 MB / 1.361 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/1.151, allocations: 68.08 kB / 1.361 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0319/1.183, allocations: 9.645 MB / 1.37 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.142e-06/1.183, allocations: 0 / 1.37 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.501e-05/1.183, allocations: 15.41 kB / 1.37 GB, free: 32.33 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.001806/1.185, allocations: 0.8593 MB / 1.371 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/1.185, allocations: 7.688 kB / 1.371 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002503/1.185, allocations: 81.53 kB / 1.371 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009459/1.186, allocations: 0.5523 MB / 1.372 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.278e-05/1.186, allocations: 19.41 kB / 1.372 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.962e-05/1.186, allocations: 45.33 kB / 1.372 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006664/1.187, allocations: 373.1 kB / 1.372 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007909/1.188, allocations: 0.5072 MB / 1.373 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.535e-05/1.188, allocations: 0 / 1.373 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.782e-05/1.188, allocations: 6.828 kB / 1.373 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/1.188, allocations: 15.38 kB / 1.373 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002642/1.19, allocations: 1.835 MB / 1.375 GB, free: 30.85 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007047/1.191, allocations: 471 kB / 1.375 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/1.191, allocations: 215.6 kB / 1.375 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-05/1.191, allocations: 15.62 kB / 1.375 GB, free: 30.81 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004175/1.192, allocations: 275.4 kB / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=51): time 3.317e-06/1.192, allocations: 0 / 1.375 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=51): time 0.0006439/1.193, allocations: 444 kB / 1.376 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/1.193, allocations: 111 kB / 1.376 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/1.193, allocations: 354.1 kB / 1.376 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/1.193, allocations: 35.92 kB / 1.376 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/1.193, allocations: 311.8 kB / 1.377 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.49e-05/1.193, allocations: 141.5 kB / 1.377 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.186e-05/1.193, allocations: 0 / 1.377 GB, free: 30.16 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.193, allocations: 363.3 kB / 1.377 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/1.194, allocations: 132 kB / 1.377 GB, free: 29.85 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/1.194, allocations: 258.4 kB / 1.378 GB, free: 29.72 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/1.194, allocations: 159.8 kB / 1.378 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.194, allocations: 3.844 kB / 1.378 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0005505/1.195, allocations: 423.4 kB / 1.378 GB, free: 29.62 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001937/1.195, allocations: 0.6198 MB / 1.379 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/1.195, allocations: 3.875 kB / 1.379 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/1.195, allocations: 3.875 kB / 1.379 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003302/1.195, allocations: 93.58 kB / 1.379 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.195, allocations: 6.109 kB / 1.379 GB, free: 28.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003545/1.196, allocations: 69.53 kB / 1.379 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/1.196, allocations: 32.7 kB / 1.379 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/1.196, allocations: 3.844 kB / 1.379 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004438/1.196, allocations: 334.6 kB / 1.379 GB, free: 28.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/1.196, allocations: 8 kB / 1.379 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.981e-06/1.196, allocations: 3.875 kB / 1.379 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002599/1.196, allocations: 73.69 kB / 1.379 GB, free: 28.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.196, allocations: 7.828 kB / 1.379 GB, free: 28.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/1.197, allocations: 58.38 kB / 1.379 GB, free: 28.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/1.197, allocations: 14.44 kB / 1.379 GB, free: 28.89 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.0001364/1.197, allocations: 133.9 kB / 1.379 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005406/1.197, allocations: 435 kB / 1.38 GB, free: 28.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.586e-05/1.198, allocations: 54.31 kB / 1.38 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/1.198, allocations: 55.58 kB / 1.38 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/1.198, allocations: 3.906 kB / 1.38 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/1.198, allocations: 7.938 kB / 1.38 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/1.198, allocations: 1.969 kB / 1.38 GB, free: 28.65 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/1.199, allocations: 1.16 MB / 1.381 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.199, allocations: 2.953 kB / 1.381 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002832/1.199, allocations: 75.84 kB / 1.381 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.922e-06/1.199, allocations: 3.953 kB / 1.381 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.212e-05/1.199, allocations: 9.453 kB / 1.381 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.199, allocations: 3.844 kB / 1.381 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.199, allocations: 0 / 1.381 GB, free: 28.35 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000839/1.2, allocations: 0.7603 MB / 1.382 GB, free: 28.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-05/1.2, allocations: 122.9 kB / 1.382 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.288e-05/1.2, allocations: 11.3 kB / 1.382 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003148/1.201, allocations: 50.05 kB / 1.382 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/1.201, allocations: 60.64 kB / 1.382 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/1.201, allocations: 22.17 kB / 1.382 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002479/1.201, allocations: 267.4 kB / 1.383 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.31e-07/1.201, allocations: 4 kB / 1.383 GB, free: 27.95 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006331/1.202, allocations: 197.6 kB / 1.383 GB, free: 27.9 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.001195/1.203, allocations: 1.33 MB / 1.384 GB, free: 27.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007837/1.204, allocations: 0.595 MB / 1.385 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.204, allocations: 0 / 1.385 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002585/1.204, allocations: 226.3 kB / 1.385 GB, free: 27.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004675/1.204, allocations: 90.16 kB / 1.385 GB, free: 27.14 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/1.206, allocations: 0.8144 MB / 1.386 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004524/1.206, allocations: 0.895 MB / 1.387 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0004195/1.207, allocations: 84.27 kB / 1.387 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/1.207, allocations: 221.8 kB / 1.387 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of SimCode: time 3.5e-07/1.207, allocations: 0 / 1.387 GB, free: 26.11 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03431/1.241, allocations: 10.48 MB / 1.397 GB, free: 21.48 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/1.242, allocations: 173.9 kB / 1.397 GB, free: 21.29 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.242/3.484, allocations: 0 / 1.397 GB, free: 21.29 MB / 0.8386 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