Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 195.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.182/1.182, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.07/2.07, allocations: 390.2 MB / 0.6647 GB, free: 468 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 67.91 kB / 0.8127 GB, free: 14.35 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.4868, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.001922/0.4887, allocations: 1.156 MB / 0.9509 GB, free: 8.301 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.4899, allocations: 1.367 MB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.303e-05/0.49, allocations: 2.25 kB / 0.9522 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.59e-05/0.49, allocations: 28.7 kB / 0.9522 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.997e-05/0.4901, allocations: 42.86 kB / 0.9523 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005511/0.4907, allocations: 287.3 kB / 0.9525 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002852/0.491, allocations: 428.7 kB / 0.953 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.4912, allocations: 117.5 kB / 0.9531 GB, free: 6.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001176/0.4913, allocations: 158.3 kB / 0.9532 GB, free: 6.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.4914, allocations: 144.2 kB / 0.9534 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.755e-05/0.4915, allocations: 44.66 kB / 0.9534 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.68e-05/0.4916, allocations: 59.23 kB / 0.9535 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.4916, allocations: 65.44 kB / 0.9535 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.4917, allocations: 157.9 kB / 0.9537 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.4921, allocations: 482.7 kB / 0.9541 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4921, allocations: 0 / 0.9541 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4921, allocations: 0 / 0.9541 GB, free: 5.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.4921, allocations: 0 / 0.9541 GB, free: 5.809 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.0006376/0.4927, allocations: 0.6144 MB / 0.9547 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.4928, allocations: 10.09 kB / 0.9547 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.825e-05/0.4928, allocations: 48.45 kB / 0.9548 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.979e-05/0.4929, allocations: 34.06 kB / 0.9548 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005415/0.4934, allocations: 327.9 kB / 0.9551 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.458e-05/0.4935, allocations: 29.08 kB / 0.9552 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.4935, allocations: 32.69 kB / 0.9552 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.4937, allocations: 168.4 kB / 0.9553 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.4938, allocations: 0 / 0.9553 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.657e-05/0.4938, allocations: 5.281 kB / 0.9554 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4938, allocations: 4.125 kB / 0.9554 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.494, allocations: 115 kB / 0.9555 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007044/0.4947, allocations: 0.6966 MB / 0.9561 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003266/0.495, allocations: 163 kB / 0.9563 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.941e-05/0.4951, allocations: 68.95 kB / 0.9564 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.4951, allocations: 1.75 kB / 0.9564 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001939/0.4953, allocations: 141.6 kB / 0.9565 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.4953, allocations: 0 / 0.9565 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=20): time 0.0003605/0.4957, allocations: 218.8 kB / 0.9567 GB, free: 3.703 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.4957, allocations: 62.97 kB / 0.9568 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.4959, allocations: 220.5 kB / 0.957 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.359e-05/0.4959, allocations: 33.83 kB / 0.957 GB, free: 3.43 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.496, allocations: 150.4 kB / 0.9572 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.496, allocations: 43.7 kB / 0.9572 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.4961, allocations: 77.42 kB / 0.9573 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.082e-05/0.4962, allocations: 327 kB / 0.9576 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.4964, allocations: 97.45 kB / 0.9577 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.4965, allocations: 166.4 kB / 0.9578 GB, free: 2.711 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002065/0.4967, allocations: 218.1 kB / 0.958 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4968, allocations: 0 / 0.958 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004593/0.4972, allocations: 362.7 kB / 0.9584 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.044e-05/0.4973, allocations: 68.8 kB / 0.9585 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.4973, allocations: 1.5 kB / 0.9585 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.4973, allocations: 1.406 kB / 0.9585 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.005e-05/0.4974, allocations: 16.77 kB / 0.9585 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.4974, allocations: 2.156 kB / 0.9585 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.4977, allocations: 79.02 kB / 0.9586 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.4978, allocations: 20.36 kB / 0.9586 GB, free: 2.199 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 22 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,uHea.booPul.y,$PRE.uHea.booPul.y,uCoo.booPul.y,$PRE.uCoo.booPul.y,zonSta.addInt.y,zonSta.notHea.y,zonSta.hysU.y,$PRE.zonSta.hysU.y,zonSta.isCoo.y,zonSta.hysUCoo.y,$PRE.zonSta.hysUCoo.y,zonSta.hysUHea.y,$PRE.zonSta.hysUHea.y,zonSta.booToIntDea.y,zonSta.isDea.y,zonSta.booToIntCoo.y,zonSta.booToIntHea.y,zonSta.yZonSta) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000104/0.4979, allocations: 151.1 kB / 0.9587 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.4979, allocations: 24.19 kB / 0.9587 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.628e-05/0.498, allocations: 26.08 kB / 0.9588 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.498, allocations: 2.219 kB / 0.9588 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.498, allocations: 0.9375 kB / 0.9588 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.498, allocations: 0 / 0.9588 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001739/0.4982, allocations: 298.1 kB / 0.9591 GB, free: 1.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4982, allocations: 4 kB / 0.9591 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.002e-05/0.4982, allocations: 27.23 kB / 0.9591 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.4982, allocations: 1.156 kB / 0.9591 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.4983, allocations: 9.812 kB / 0.9591 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.4983, allocations: 1.812 kB / 0.9591 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.4983, allocations: 0 / 0.9591 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.4985, allocations: 205 kB / 0.9593 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.42e-05/0.4986, allocations: 94.27 kB / 0.9594 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.298e-05/0.4986, allocations: 11.08 kB / 0.9594 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.155e-05/0.4987, allocations: 15.23 kB / 0.9594 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.4988, allocations: 33.28 kB / 0.9594 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.4988, allocations: 9.547 kB / 0.9594 GB, free: 1.418 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.101e-05/0.4989, allocations: 146.8 kB / 0.9596 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4989, allocations: 0 / 0.9596 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002538/0.4991, allocations: 59.03 kB / 0.9596 GB, free: 1.297 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,zonSta.yZonSta,zonSta.booToIntHea.y,zonSta.booToIntCoo.y,zonSta.isDea.y,zonSta.booToIntDea.y,zonSta.hysUHea.y,zonSta.hysUCoo.y,zonSta.isCoo.y,zonSta.hysU.y,zonSta.notHea.y,zonSta.addInt.y,uCoo.booPul.y,uHea.booPul.y) * Number of discrete states: 3 (zonSta.hysU.y,zonSta.hysUCoo.y,zonSta.hysUHea.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000385/0.4995, allocations: 0.7618 MB / 0.9604 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004066/0.4999, allocations: 340.6 kB / 0.9607 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.5, allocations: 0 / 0.9607 GB, free: 392 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.5001, allocations: 84.91 kB / 0.9608 GB, free: 352 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.5003, allocations: 40.41 kB / 0.9608 GB, free: 332 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.5027, allocations: 2.427 MB / 0.9632 GB, free: 14.45 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002243/0.503, allocations: 0.7413 MB / 0.9639 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.476e-05/0.5031, allocations: 27.53 kB / 0.9639 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.742e-05/0.5032, allocations: 82.22 kB / 0.964 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.5032, allocations: 3.938 kB / 0.964 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01943/0.5226, allocations: 5.384 MB / 0.9693 GB, free: 11 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.453/6.975, allocations: 15.59 kB / 0.9693 GB, free: 10.99 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1)