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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 111.1 kB / 17.96 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 193.5 kB / 21.22 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 249.9 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.837/2.837, allocations: 476.7 MB / 0.7635 GB, free: 10.13 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002025/0.002025, allocations: 67.89 kB / 1.108 GB, free: 7.262 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8336/0.8357, allocations: 168.7 MB / 1.272 GB, free: 4.461 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002963/0.8386, allocations: 1.16 MB / 1.274 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002358/0.841, allocations: 1.373 MB / 1.275 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001653/0.8411, allocations: 8 kB / 1.275 GB, free: 1.91 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 8.252e-05/0.8412, allocations: 23.67 kB / 1.275 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.8414, allocations: 47.59 kB / 1.275 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008999/0.8423, allocations: 293.6 kB / 1.275 GB, free: 1.559 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0004994/0.8428, allocations: 415.8 kB / 1.276 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002337/0.843, allocations: 93.73 kB / 1.276 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.8432, allocations: 155.5 kB / 1.276 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000241/0.8435, allocations: 159.3 kB / 1.276 GB, free: 0.7422 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.71e-05/0.8435, allocations: 44 kB / 1.276 GB, free: 0.6992 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000128/0.8437, allocations: 63.92 kB / 1.276 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 6.326e-05/0.8437, allocations: 59.83 kB / 1.276 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001758/0.8439, allocations: 163.2 kB / 1.276 GB, free: 428 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005921/0.8445, allocations: 488.1 kB / 1.277 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.8445, allocations: 0 / 1.277 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8445, allocations: 0 / 1.277 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.148e-05/0.8445, allocations: 0 / 1.277 GB, free: 15.94 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.00098/0.8455, allocations: 0.6264 MB / 1.277 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.8455, allocations: 12.03 kB / 1.277 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.936e-05/0.8456, allocations: 46.73 kB / 1.277 GB, free: 15.19 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.379e-05/0.8457, allocations: 36.75 kB / 1.277 GB, free: 15.15 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006813/0.8464, allocations: 324 kB / 1.278 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.8464, allocations: 20.38 kB / 1.278 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.386e-05/0.8464, allocations: 36.36 kB / 1.278 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.8468, allocations: 173.6 kB / 1.278 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.8468, allocations: 4 kB / 1.278 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.248e-05/0.8468, allocations: 7.984 kB / 1.278 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.8469, allocations: 4 kB / 1.278 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002459/0.8471, allocations: 112 kB / 1.278 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001248/0.8483, allocations: 0.6875 MB / 1.279 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.8488, allocations: 158.8 kB / 1.279 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.8489, allocations: 64.83 kB / 1.279 GB, free: 13.47 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.849, allocations: 4 kB / 1.279 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002812/0.8492, allocations: 137.8 kB / 1.279 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.8492, allocations: 0 / 1.279 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=20): time 0.0004917/0.8497, allocations: 217.4 kB / 1.279 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.243e-05/0.8498, allocations: 59.36 kB / 1.279 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002525/0.8501, allocations: 218.7 kB / 1.28 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.615e-05/0.8501, allocations: 37.69 kB / 1.28 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001388/0.8503, allocations: 152.8 kB / 1.28 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.401e-05/0.8503, allocations: 51.62 kB / 1.28 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001608/0.8505, allocations: 81.61 kB / 1.28 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.8507, allocations: 334.8 kB / 1.28 GB, free: 12.14 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.8509, allocations: 95.95 kB / 1.28 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002715/0.8512, allocations: 166.8 kB / 1.281 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003204/0.8515, allocations: 218.2 kB / 1.281 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.8515, allocations: 0 / 1.281 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006543/0.8521, allocations: 356.8 kB / 1.281 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.441e-05/0.8522, allocations: 71.33 kB / 1.281 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.8522, allocations: 0 / 1.281 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.229e-05/0.8523, allocations: 4 kB / 1.281 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.208e-05/0.8523, allocations: 23.88 kB / 1.281 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.8524, allocations: 3.984 kB / 1.281 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004104/0.8528, allocations: 83.86 kB / 1.281 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.212e-05/0.8528, allocations: 15.98 kB / 1.281 GB, free: 11.04 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.0001912/0.853, allocations: 151.5 kB / 1.281 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.853, allocations: 19.84 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.102e-05/0.8531, allocations: 25.86 kB / 1.281 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.8531, allocations: 4 kB / 1.281 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.8531, allocations: 7.938 kB / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.8531, allocations: 0 / 1.281 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.8535, allocations: 293.4 kB / 1.282 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.8535, allocations: 0 / 1.282 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.028e-05/0.8536, allocations: 19.92 kB / 1.282 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.8536, allocations: 3.938 kB / 1.282 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.8536, allocations: 8 kB / 1.282 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8536, allocations: 0 / 1.282 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.8536, allocations: 0 / 1.282 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.8539, allocations: 207 kB / 1.282 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.294e-05/0.854, allocations: 92.95 kB / 1.282 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.854, allocations: 8 kB / 1.282 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.714e-05/0.8541, allocations: 15.98 kB / 1.282 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.926e-05/0.8542, allocations: 31.95 kB / 1.282 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.8542, allocations: 11.98 kB / 1.282 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001543/0.8544, allocations: 140.6 kB / 1.282 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8544, allocations: 3.938 kB / 1.282 GB, free: 9.922 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003077/0.8547, allocations: 67.84 kB / 1.282 GB, free: 9.855 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.0007737/0.8555, allocations: 0.7506 MB / 1.283 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005411/0.856, allocations: 316.4 kB / 1.283 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.856, allocations: 0 / 1.283 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.8562, allocations: 67.92 kB / 1.283 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.8565, allocations: 47.84 kB / 1.283 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.8601, allocations: 2.44 MB / 1.286 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000421/0.8605, allocations: 0.748 MB / 1.287 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.8606, allocations: 21.95 kB / 1.287 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.8607, allocations: 79.41 kB / 1.287 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of SimCode: time 1.042e-06/0.8607, allocations: 0 / 1.287 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/0.8932, allocations: 5.445 MB / 1.292 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.325/9.218, allocations: 6.844 kB / 1.292 GB, free: 15.88 MB / 0.9981 GB " [Timeout remaining time 291] (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.39743570308201] Failed to read output from testmodel.py, exit status != 0: 9.292709606001154 9.319738497 8.470436904 Calling exit ...