Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001347/0.001347, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001914/0.001914, allocations: 216.7 kB / 22.25 MB, free: 5.121 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.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.294/3.294, allocations: 0.49 GB / 0.7951 GB, free: 33.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.00212/0.00212, allocations: 71.62 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3365, allocations: 176.1 MB / 1.326 GB, free: 1.992 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002458/0.3389, allocations: 1.156 MB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00192/0.3409, allocations: 1.424 MB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.341, allocations: 7.938 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.026e-05/0.341, allocations: 19.73 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001474/0.3412, allocations: 55.59 kB / 1.328 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007776/0.342, allocations: 293.5 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004861/0.3424, allocations: 411.8 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000207/0.3426, allocations: 88.8 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.3428, allocations: 155.5 kB / 1.329 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.3431, allocations: 159.3 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 6.666e-05/0.3431, allocations: 44 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3432, allocations: 71.91 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.92e-05/0.3433, allocations: 55.84 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001755/0.3435, allocations: 167.3 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005424/0.344, allocations: 486.5 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.344, allocations: 7.938 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.613e-06/0.344, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.344, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 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.0009905/0.345, allocations: 0.5395 MB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3451, allocations: 12.03 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.323e-05/0.3451, allocations: 54.73 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.825e-05/0.3452, allocations: 28.8 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006581/0.3459, allocations: 273.8 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.62e-05/0.3459, allocations: 20.38 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.346, allocations: 24.38 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003067/0.3463, allocations: 186.3 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.3463, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.745e-05/0.3463, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3463, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000217/0.3465, allocations: 112 kB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.3475, allocations: 0.6515 MB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004146/0.3479, allocations: 158.4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/0.348, allocations: 61.12 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.3481, allocations: 3.938 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003093/0.3484, allocations: 143.2 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.3484, allocations: 0 / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.000494/0.3489, allocations: 224.2 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.06e-05/0.3489, allocations: 55.39 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002259/0.3491, allocations: 218.6 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.05e-05/0.3492, allocations: 41.7 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001209/0.3493, allocations: 140.6 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.494e-05/0.3494, allocations: 55.56 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.3495, allocations: 77.67 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3497, allocations: 334.8 kB / 1.334 GB, free: 9.836 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001986/0.3499, allocations: 95.95 kB / 1.334 GB, free: 9.742 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.3501, allocations: 166.7 kB / 1.334 GB, free: 9.555 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002859/0.3504, allocations: 217.3 kB / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3504, allocations: 0 / 1.334 GB, free: 9.316 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005787/0.351, allocations: 361 kB / 1.334 GB, free: 8.949 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.144e-05/0.351, allocations: 71.47 kB / 1.335 GB, free: 8.867 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.351, allocations: 7.984 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.3511, allocations: 3.938 kB / 1.335 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-05/0.3511, allocations: 12 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.3512, allocations: 4 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003759/0.3515, allocations: 79.8 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.3516, allocations: 20 kB / 1.335 GB, free: 8.742 MB / 1.029 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.000167/0.3517, allocations: 152 kB / 1.335 GB, free: 8.582 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.602e-05/0.3518, allocations: 27.73 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.555e-05/0.3518, allocations: 21.81 kB / 1.335 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.3518, allocations: 4 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3518, allocations: 0 / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/0.3518, allocations: 7.984 kB / 1.335 GB, free: 8.523 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.3521, allocations: 268.5 kB / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3521, allocations: 0 / 1.335 GB, free: 8.219 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.628e-05/0.3522, allocations: 15.94 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.33e-06/0.3522, allocations: 3.938 kB / 1.335 GB, free: 8.199 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.794e-05/0.3522, allocations: 7.984 kB / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.3522, allocations: 0 / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3522, allocations: 0 / 1.335 GB, free: 8.191 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.3525, allocations: 198.3 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.3526, allocations: 23.8 kB / 1.335 GB, free: 7.957 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.3526, allocations: 8 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.452e-05/0.3527, allocations: 11.98 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.08e-05/0.3528, allocations: 35.94 kB / 1.335 GB, free: 7.902 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.3528, allocations: 7.938 kB / 1.335 GB, free: 7.895 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001281/0.3529, allocations: 144.6 kB / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3529, allocations: 0 / 1.336 GB, free: 7.754 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002906/0.3532, allocations: 59.89 kB / 1.336 GB, free: 7.695 MB / 1.029 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.0006812/0.3539, allocations: 0.7558 MB / 1.336 GB, free: 6.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005106/0.3544, allocations: 302.7 kB / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3544, allocations: 256 / 1.337 GB, free: 6.59 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001317/0.3545, allocations: 79.84 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.3548, allocations: 39.95 kB / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003242/0.3581, allocations: 2.456 MB / 1.339 GB, free: 3.895 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003614/0.3584, allocations: 0.7402 MB / 1.34 GB, free: 3.129 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.598e-05/0.3585, allocations: 25.94 kB / 1.34 GB, free: 3.105 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.3587, allocations: 79.41 kB / 1.34 GB, free: 3.031 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3587, allocations: 0 / 1.34 GB, free: 3.031 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/0.3949, allocations: 5.648 MB / 1.345 GB, free: 13.55 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.65, allocations: 5.547 kB / 1.345 GB, free: 13.54 MB / 1.045 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.574141285000223] Failed to read output from testmodel.py, exit status != 0: 11.755420928000603 11.78207043 11.433226874 Calling exit ...