Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 110 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002234/0.002234, allocations: 213.7 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.481/1.481, allocations: 230.6 MB / 252.8 MB, free: 8.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.801/2.801, allocations: 476.7 MB / 0.7672 GB, free: 5.203 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_11_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_11_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00233/0.00233, allocations: 71.89 kB / 1.112 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8314/0.8337, allocations: 169.9 MB / 1.278 GB, free: 13.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002472/0.8362, allocations: 1.167 MB / 1.279 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001879/0.838, allocations: 1.404 MB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001061/0.8381, allocations: 0 / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.506e-05/0.8382, allocations: 23.67 kB / 1.281 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.8384, allocations: 51.59 kB / 1.281 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000769/0.8391, allocations: 298.2 kB / 1.281 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004611/0.8396, allocations: 407.9 kB / 1.282 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001988/0.8398, allocations: 88.22 kB / 1.282 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.84, allocations: 163.5 kB / 1.282 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002082/0.8402, allocations: 151.4 kB / 1.282 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.827e-05/0.8402, allocations: 44 kB / 1.282 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.8403, allocations: 59.98 kB / 1.282 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.417e-05/0.8404, allocations: 71.7 kB / 1.282 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001647/0.8406, allocations: 151.4 kB / 1.282 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005258/0.8411, allocations: 488.1 kB / 1.283 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.8411, allocations: 7.984 kB / 1.283 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.502e-06/0.8411, allocations: 0 / 1.283 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.8411, allocations: 4 kB / 1.283 GB, free: 8.852 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.0009115/0.842, allocations: 0.6147 MB / 1.283 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.8421, allocations: 12.03 kB / 1.283 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.521e-05/0.8421, allocations: 46.73 kB / 1.283 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.497e-05/0.8422, allocations: 32.8 kB / 1.283 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000687/0.8429, allocations: 335.8 kB / 1.284 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.341e-05/0.8429, allocations: 28.27 kB / 1.284 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.719e-05/0.843, allocations: 32.36 kB / 1.284 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.8433, allocations: 173.7 kB / 1.284 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.8433, allocations: 3.984 kB / 1.284 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.8433, allocations: 8 kB / 1.284 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.8434, allocations: 7.984 kB / 1.284 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002343/0.8436, allocations: 119.9 kB / 1.284 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.8447, allocations: 0.6797 MB / 1.285 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000417/0.8451, allocations: 158.8 kB / 1.285 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.8452, allocations: 60.83 kB / 1.285 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.8452, allocations: 4 kB / 1.285 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002375/0.8454, allocations: 133.3 kB / 1.285 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.803e-06/0.8454, allocations: 0 / 1.285 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004609/0.8459, allocations: 221.5 kB / 1.285 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.846, allocations: 55.41 kB / 1.285 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002171/0.8462, allocations: 214.9 kB / 1.286 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.309e-05/0.8462, allocations: 37.69 kB / 1.286 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.8463, allocations: 144.8 kB / 1.286 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.8464, allocations: 51.62 kB / 1.286 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.8465, allocations: 77.67 kB / 1.286 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.8467, allocations: 334.8 kB / 1.286 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002203/0.8469, allocations: 103.9 kB / 1.286 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002616/0.8472, allocations: 159.6 kB / 1.286 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003267/0.8475, allocations: 217.6 kB / 1.287 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.8475, allocations: 0 / 1.287 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006364/0.8481, allocations: 368.6 kB / 1.287 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.826e-05/0.8482, allocations: 67.33 kB / 1.287 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.8482, allocations: 0 / 1.287 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.8482, allocations: 4 kB / 1.287 GB, free: 4.09 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.818e-05/0.8483, allocations: 16 kB / 1.287 GB, free: 4.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.273e-05/0.8483, allocations: 16.05 kB / 1.287 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004171/0.8487, allocations: 67.81 kB / 1.287 GB, free: 3.992 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.175e-05/0.8488, allocations: 19.98 kB / 1.287 GB, free: 3.973 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.0001635/0.8489, allocations: 149.3 kB / 1.287 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.849, allocations: 23.8 kB / 1.287 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.579e-05/0.849, allocations: 29.86 kB / 1.287 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.8491, allocations: 8.031 kB / 1.287 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.8491, allocations: 0 / 1.287 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8491, allocations: 0 / 1.287 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.8494, allocations: 293.4 kB / 1.288 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8494, allocations: 0 / 1.288 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.382e-05/0.8494, allocations: 19.92 kB / 1.288 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.8494, allocations: 15.88 kB / 1.288 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.8495, allocations: 4 kB / 1.288 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8495, allocations: 0 / 1.288 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.8495, allocations: 0 / 1.288 GB, free: 3.387 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.8498, allocations: 198.6 kB / 1.288 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.28e-05/0.8498, allocations: 100.9 kB / 1.288 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.043e-05/0.8499, allocations: 4 kB / 1.288 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.411e-05/0.85, allocations: 19.98 kB / 1.288 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.8501, allocations: 31.95 kB / 1.288 GB, free: 3.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.796e-05/0.8501, allocations: 15.98 kB / 1.288 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001421/0.8502, allocations: 144.4 kB / 1.288 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8502, allocations: 0 / 1.288 GB, free: 2.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002959/0.8505, allocations: 59.89 kB / 1.288 GB, free: 2.789 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.0007357/0.8513, allocations: 0.7646 MB / 1.289 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005224/0.8518, allocations: 309.5 kB / 1.289 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.8518, allocations: 0 / 1.289 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.8519, allocations: 67.92 kB / 1.289 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.8522, allocations: 40.22 kB / 1.289 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.8556, allocations: 2.448 MB / 1.292 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003701/0.8559, allocations: 0.744 MB / 1.292 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 9.848e-05/0.856, allocations: 25.95 kB / 1.292 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001325/0.8562, allocations: 75.41 kB / 1.293 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/0.8562, allocations: 0 / 1.293 GB, free: 14.14 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02925/0.8854, allocations: 5.464 MB / 1.298 GB, free: 8.852 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.654/9.539, allocations: 1.25 kB / 1.298 GB, free: 8.852 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.csv --start-time 0 --stop-time 3 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.662586963968351] Failed to read output from testmodel.py, exit status != 0: 9.613015102921054 9.627570795 8.783533913 Calling exit ...