Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008725/0.008725, allocations: 99.64 kB / 15.73 MB, free: 6.039 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.002181/0.002181, allocations: 192.1 kB / 16.67 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 2.482/2.482, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 4.609/4.609, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002335/0.002336, allocations: 63.89 kB / 1.018 GB, free: 9.934 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.249/1.252, allocations: 151.6 MB / 1.166 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.004417/1.256, allocations: 1.167 MB / 1.167 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.003551/1.26, allocations: 1.37 MB / 1.169 GB, free: 1.258 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000228/1.26, allocations: 4 kB / 1.169 GB, free: 1.254 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001146/1.26, allocations: 27.61 kB / 1.169 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0002673/1.261, allocations: 39.59 kB / 1.169 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/1.262, allocations: 293 kB / 1.169 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0009007/1.263, allocations: 427.9 kB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003848/1.263, allocations: 124.1 kB / 1.169 GB, free: 372 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/1.264, allocations: 151.5 kB / 1.17 GB, free: 220 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004046/1.264, allocations: 155.4 kB / 1.17 GB, free: 64 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0001397/1.264, allocations: 48 kB / 1.17 GB, free: 16 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/1.265, allocations: 55.98 kB / 1.17 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001119/1.265, allocations: 71.7 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0002966/1.265, allocations: 151.4 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0009063/1.266, allocations: 490 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/1.266, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.284e-06/1.266, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 2.345e-05/1.266, allocations: 0 / 1.171 GB, free: 15.27 MB / 0.9044 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.001656/1.268, allocations: 0.6225 MB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 6.788e-05/1.268, allocations: 12.92 kB / 1.171 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.899e-05/1.268, allocations: 50.73 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001529/1.268, allocations: 32.75 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/1.269, allocations: 331.9 kB / 1.172 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.145e-05/1.269, allocations: 28.31 kB / 1.172 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.485e-05/1.269, allocations: 24.38 kB / 1.172 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000556/1.27, allocations: 173.7 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/1.27, allocations: 4 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.419e-05/1.27, allocations: 7.984 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/1.27, allocations: 4 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003927/1.27, allocations: 119.8 kB / 1.172 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/1.272, allocations: 0.6837 MB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007576/1.273, allocations: 168.1 kB / 1.173 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002091/1.273, allocations: 72.83 kB / 1.173 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/1.273, allocations: 4 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003908/1.273, allocations: 137.5 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 3.787e-06/1.273, allocations: 0 / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.0008026/1.274, allocations: 217.5 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.591e-05/1.274, allocations: 55.41 kB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/1.275, allocations: 222.6 kB / 1.173 GB, free: 12.11 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.378e-05/1.275, allocations: 37.69 kB / 1.173 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/1.275, allocations: 148.8 kB / 1.174 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.706e-05/1.275, allocations: 47.69 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/1.275, allocations: 81.66 kB / 1.174 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002287/1.276, allocations: 330.8 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003615/1.276, allocations: 99.89 kB / 1.174 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/1.277, allocations: 158.8 kB / 1.174 GB, free: 11.18 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005208/1.277, allocations: 223.1 kB / 1.175 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/1.277, allocations: 0 / 1.175 GB, free: 10.94 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001093/1.278, allocations: 361.2 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.49e-05/1.278, allocations: 73.95 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/1.278, allocations: 0 / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.278, allocations: 4 kB / 1.175 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001436/1.279, allocations: 19.98 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/1.279, allocations: 7.938 kB / 1.175 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006647/1.279, allocations: 79.77 kB / 1.175 GB, free: 10.38 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.749e-05/1.279, allocations: 23.92 kB / 1.175 GB, free: 10.35 MB / 0.9044 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.0002493/1.28, allocations: 147.6 kB / 1.175 GB, free: 10.2 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-05/1.28, allocations: 23.84 kB / 1.175 GB, free: 10.18 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.486e-05/1.28, allocations: 25.86 kB / 1.175 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/1.28, allocations: 0 / 1.175 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.28, allocations: 0 / 1.175 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/1.28, allocations: 8 kB / 1.175 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/1.28, allocations: 293.4 kB / 1.176 GB, free: 9.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.28, allocations: 3.938 kB / 1.176 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/1.28, allocations: 15.98 kB / 1.176 GB, free: 9.785 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.716e-06/1.28, allocations: 3.938 kB / 1.176 GB, free: 9.781 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.658e-05/1.281, allocations: 4 kB / 1.176 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/1.281, allocations: 4 kB / 1.176 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.281, allocations: 0 / 1.176 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005352/1.281, allocations: 207.1 kB / 1.176 GB, free: 9.555 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/1.281, allocations: 92.95 kB / 1.176 GB, free: 9.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.795e-05/1.281, allocations: 8 kB / 1.176 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/1.281, allocations: 11.98 kB / 1.176 GB, free: 9.426 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/1.282, allocations: 35.89 kB / 1.176 GB, free: 9.391 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/1.282, allocations: 11.98 kB / 1.176 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002164/1.282, allocations: 148.4 kB / 1.176 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.2e-07/1.282, allocations: 0 / 1.176 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0005353/1.282, allocations: 59.83 kB / 1.176 GB, free: 9.176 MB / 0.9044 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.00116/1.284, allocations: 0.7591 MB / 1.177 GB, free: 8.387 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.00106/1.285, allocations: 339.7 kB / 1.177 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/1.285, allocations: 8.25 kB / 1.177 GB, free: 8.023 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0002212/1.285, allocations: 75.92 kB / 1.177 GB, free: 7.949 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004985/1.285, allocations: 39.81 kB / 1.177 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005543/1.291, allocations: 2.431 MB / 1.18 GB, free: 5.367 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005614/1.292, allocations: 0.744 MB / 1.18 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0001587/1.292, allocations: 25.95 kB / 1.18 GB, free: 4.574 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001979/1.292, allocations: 75.41 kB / 1.18 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of SimCode: time 5.41e-07/1.292, allocations: 0 / 1.18 GB, free: 4.5 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07752/1.37, allocations: 5.441 MB / 1.186 GB, free: 15.21 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.2/19.57, allocations: 11.62 kB / 1.186 GB, free: 15.21 MB / 0.92 GB (rm -f Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_10_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1)