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.005188/0.005188, allocations: 97 kB / 15.73 MB, free: 5.949 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.001294/0.001294, allocations: 192.8 kB / 16.67 MB, free: 5.871 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.16 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 2.413/2.413, allocations: 437 MB / 0.7105 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 59.91 kB / 1.018 GB, free: 9.898 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6338/0.6351, allocations: 151.6 MB / 1.166 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002106/0.6372, allocations: 1.157 MB / 1.167 GB, free: 2.738 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001579/0.6388, allocations: 1.377 MB / 1.169 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.511e-05/0.6389, allocations: 4 kB / 1.169 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 6.38e-05/0.639, allocations: 23.67 kB / 1.169 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.6391, allocations: 43.66 kB / 1.169 GB, free: 1.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006834/0.6398, allocations: 301 kB / 1.169 GB, free: 0.9844 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000383/0.6402, allocations: 423.9 kB / 1.169 GB, free: 0.5664 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/0.6404, allocations: 116.2 kB / 1.169 GB, free: 464 kB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001572/0.6406, allocations: 159.5 kB / 1.17 GB, free: 304 kB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001867/0.6408, allocations: 159.3 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.266e-05/0.6408, allocations: 44 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.6409, allocations: 59.98 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.058e-05/0.641, allocations: 59.77 kB / 1.17 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001505/0.6412, allocations: 163.3 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.6416, allocations: 486 kB / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.6416, allocations: 0 / 1.171 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6416, allocations: 3.938 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.6416, allocations: 4 kB / 1.171 GB, free: 15.34 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.0008015/0.6424, allocations: 0.6225 MB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.6425, allocations: 8.922 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.955e-05/0.6425, allocations: 50.73 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.91e-05/0.6426, allocations: 32.75 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006149/0.6432, allocations: 332 kB / 1.172 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.6433, allocations: 24.33 kB / 1.172 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.185e-05/0.6433, allocations: 32.38 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002836/0.6436, allocations: 177.6 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.6436, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.6437, allocations: 15.94 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.6437, allocations: 4 kB / 1.172 GB, free: 13.94 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002131/0.6439, allocations: 115.9 kB / 1.172 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009058/0.6448, allocations: 0.6837 MB / 1.173 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/0.6452, allocations: 158.8 kB / 1.173 GB, free: 12.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001083/0.6453, allocations: 72.83 kB / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.6453, allocations: 0 / 1.173 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.6456, allocations: 137.5 kB / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=20): time 1.453e-06/0.6456, allocations: 0 / 1.173 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=20): time 0.0004035/0.646, allocations: 217.5 kB / 1.173 GB, free: 12.49 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.527e-05/0.646, allocations: 55.41 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001816/0.6462, allocations: 222.6 kB / 1.173 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.243e-05/0.6463, allocations: 41.7 kB / 1.173 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.6464, allocations: 152.8 kB / 1.174 GB, free: 12 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.6464, allocations: 39.69 kB / 1.174 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.6466, allocations: 77.67 kB / 1.174 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.6467, allocations: 330.8 kB / 1.174 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.6469, allocations: 99.94 kB / 1.174 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.6471, allocations: 170.8 kB / 1.174 GB, free: 11.25 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.6474, allocations: 209.8 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6474, allocations: 4 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005433/0.6479, allocations: 364.7 kB / 1.175 GB, free: 10.65 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.324e-05/0.648, allocations: 71.33 kB / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.648, allocations: 0 / 1.175 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.648, allocations: 7.938 kB / 1.175 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.022e-05/0.6481, allocations: 15.98 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.6481, allocations: 7.938 kB / 1.175 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003921/0.6485, allocations: 79.89 kB / 1.175 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.723e-05/0.6486, allocations: 15.98 kB / 1.175 GB, free: 10.44 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.0001422/0.6487, allocations: 151.5 kB / 1.175 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.6488, allocations: 23.84 kB / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.614e-05/0.6488, allocations: 29.86 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6488, allocations: 4.031 kB / 1.175 GB, free: 10.23 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.6489, allocations: 3.938 kB / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.6489, allocations: 0 / 1.175 GB, free: 10.22 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002514/0.6491, allocations: 293.4 kB / 1.176 GB, free: 9.887 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.6491, allocations: 3.984 kB / 1.176 GB, free: 9.883 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.6492, allocations: 23.94 kB / 1.176 GB, free: 9.859 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.6492, allocations: 7.938 kB / 1.176 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.6492, allocations: 0 / 1.176 GB, free: 9.852 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.6492, allocations: 3.984 kB / 1.176 GB, free: 9.848 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.6493, allocations: 4 kB / 1.176 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.6495, allocations: 195.1 kB / 1.176 GB, free: 9.637 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.405e-05/0.6496, allocations: 101 kB / 1.176 GB, free: 9.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.6496, allocations: 7.984 kB / 1.176 GB, free: 9.512 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.6497, allocations: 11.98 kB / 1.176 GB, free: 9.5 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.571e-05/0.6498, allocations: 35.95 kB / 1.176 GB, free: 9.465 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.246e-05/0.6498, allocations: 7.938 kB / 1.176 GB, free: 9.457 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001071/0.6499, allocations: 148.4 kB / 1.176 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.65, allocations: 4 kB / 1.176 GB, free: 9.309 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000285/0.6502, allocations: 63.83 kB / 1.176 GB, free: 9.246 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.0005639/0.6508, allocations: 0.7552 MB / 1.177 GB, free: 8.461 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004687/0.6513, allocations: 334.6 kB / 1.177 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6513, allocations: 0 / 1.177 GB, free: 8.109 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001509/0.6515, allocations: 83.91 kB / 1.177 GB, free: 8.027 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.6518, allocations: 38.59 kB / 1.177 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.6545, allocations: 2.427 MB / 1.18 GB, free: 5.453 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.6548, allocations: 0.744 MB / 1.18 GB, free: 4.684 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.424e-05/0.6549, allocations: 29.94 kB / 1.18 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.655, allocations: 75.41 kB / 1.18 GB, free: 4.582 MB / 0.9044 GB Notification: Performance of SimCode: time 2.6e-07/0.655, allocations: 3.938 kB / 1.181 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.6754, allocations: 5.446 MB / 1.186 GB, free: 15.29 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/8.178, allocations: 11.67 kB / 1.186 GB, free: 15.28 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)