Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_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_latest_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.007393/0.007393, allocations: 97.27 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001822/0.001822, allocations: 201.9 kB / 16.68 MB, free: 5.961 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.655/2.655, allocations: 469.4 MB / 0.7422 GB, free: 7.559 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 59.91 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2519, allocations: 159.1 MB / 1.22 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002199/0.2542, allocations: 1.15 MB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.2558, allocations: 1.365 MB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.2559, allocations: 7.938 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.584e-05/0.256, allocations: 19.73 kB / 1.222 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.2561, allocations: 55.53 kB / 1.222 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006981/0.2569, allocations: 299.8 kB / 1.223 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000403/0.2573, allocations: 419.8 kB / 1.223 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002167/0.2575, allocations: 124.2 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001657/0.2577, allocations: 155.5 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001935/0.2579, allocations: 159.3 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.403e-05/0.2579, allocations: 44 kB / 1.223 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.946e-05/0.258, allocations: 59.98 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.653e-05/0.2581, allocations: 59.78 kB / 1.224 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001394/0.2582, allocations: 163.3 kB / 1.224 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004466/0.2587, allocations: 482.3 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.2587, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2587, allocations: 0 / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.664e-06/0.2587, allocations: 4 kB / 1.224 GB, free: 10.08 MB / 0.9825 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.0008137/0.2596, allocations: 0.6186 MB / 1.225 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2596, allocations: 12.03 kB / 1.225 GB, free: 9.391 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.367e-05/0.2597, allocations: 50.73 kB / 1.225 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.962e-05/0.2597, allocations: 40.73 kB / 1.225 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006462/0.2604, allocations: 328 kB / 1.225 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.726e-05/0.2604, allocations: 20.38 kB / 1.225 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.394e-05/0.2605, allocations: 24.38 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.2608, allocations: 181.6 kB / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.166e-06/0.2608, allocations: 0 / 1.225 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.2608, allocations: 8 kB / 1.225 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2608, allocations: 4 kB / 1.225 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.2611, allocations: 112 kB / 1.226 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009597/0.262, allocations: 0.6914 MB / 1.226 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/0.2624, allocations: 164.8 kB / 1.226 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.2625, allocations: 80.8 kB / 1.226 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.2626, allocations: 4 kB / 1.226 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002315/0.2628, allocations: 132.8 kB / 1.227 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.2628, allocations: 0 / 1.227 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004108/0.2632, allocations: 215.7 kB / 1.227 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.2633, allocations: 63.36 kB / 1.227 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.2635, allocations: 218.9 kB / 1.227 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.45e-05/0.2635, allocations: 37.7 kB / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.2636, allocations: 148.8 kB / 1.227 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.388e-05/0.2637, allocations: 51.62 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001336/0.2638, allocations: 81.61 kB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2639, allocations: 326.8 kB / 1.228 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.2641, allocations: 103.9 kB / 1.228 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002416/0.2644, allocations: 175.2 kB / 1.228 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002685/0.2646, allocations: 211.8 kB / 1.228 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2647, allocations: 4 kB / 1.228 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005579/0.2652, allocations: 354.8 kB / 1.228 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.554e-05/0.2653, allocations: 67.33 kB / 1.229 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.2653, allocations: 4 kB / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.2653, allocations: 0 / 1.229 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.136e-05/0.2654, allocations: 23.92 kB / 1.229 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.2654, allocations: 4 kB / 1.229 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004187/0.2658, allocations: 83.89 kB / 1.229 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.2659, allocations: 15.98 kB / 1.229 GB, free: 5.172 MB / 0.9825 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.0001376/0.266, allocations: 155.5 kB / 1.229 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.2661, allocations: 23.84 kB / 1.229 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.215e-05/0.2661, allocations: 25.86 kB / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.2661, allocations: 0 / 1.229 GB, free: 4.961 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.2661, allocations: 4 kB / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.2661, allocations: 0 / 1.229 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.2664, allocations: 297.4 kB / 1.229 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2664, allocations: 0 / 1.229 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.991e-05/0.2665, allocations: 15.94 kB / 1.229 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2665, allocations: 3.938 kB / 1.229 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.2665, allocations: 7.984 kB / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.2665, allocations: 4 kB / 1.229 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2665, allocations: 4 kB / 1.229 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002698/0.2668, allocations: 192.9 kB / 1.229 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.756e-05/0.2669, allocations: 96.94 kB / 1.229 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.2669, allocations: 8 kB / 1.229 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.09e-05/0.267, allocations: 11.98 kB / 1.229 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.72e-05/0.2671, allocations: 35.95 kB / 1.229 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.2671, allocations: 8 kB / 1.23 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001068/0.2672, allocations: 156.1 kB / 1.23 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2672, allocations: 0 / 1.23 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002829/0.2675, allocations: 59.84 kB / 1.23 GB, free: 3.988 MB / 0.9825 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.0005442/0.2681, allocations: 0.763 MB / 1.23 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004748/0.2685, allocations: 334.6 kB / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2685, allocations: 0 / 1.231 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.2687, allocations: 83.91 kB / 1.231 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.269, allocations: 53.66 kB / 1.231 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002717/0.2717, allocations: 2.427 MB / 1.233 GB, free: 176 kB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.272, allocations: 0.7404 MB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 8.927e-05/0.2721, allocations: 33.97 kB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.2722, allocations: 75.41 kB / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/0.2722, allocations: 0 / 1.234 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02042/0.2926, allocations: 5.442 MB / 1.239 GB, free: 10.03 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.425/7.717, allocations: 15.61 kB / 1.239 GB, free: 10.02 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1)