Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001737/0.001737, allocations: 114.6 kB / 17.16 MB, free: 6.004 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.002072/0.002072, allocations: 212.6 kB / 20.13 MB, free: 3.055 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.593/1.593, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.125/3.125, allocations: 0.5003 GB / 0.8026 GB, free: 6.707 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates",fmuType="cs",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.00207/0.00207, allocations: 63.91 kB / 1.165 GB, free: 472 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9603/0.9623, allocations: 178.9 MB / 1.34 GB, free: 16.21 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002374/0.9647, allocations: 1.166 MB / 1.341 GB, free: 15.43 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00199/0.9667, allocations: 1.41 MB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.9668, allocations: 3.531 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.157e-05/0.9669, allocations: 23.58 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001723/0.9671, allocations: 46.31 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008286/0.9679, allocations: 295.7 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005572/0.9685, allocations: 416.3 kB / 1.343 GB, free: 13.96 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002401/0.9687, allocations: 85.39 kB / 1.343 GB, free: 13.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000212/0.9689, allocations: 155.3 kB / 1.344 GB, free: 13.84 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002862/0.9692, allocations: 153.7 kB / 1.344 GB, free: 13.76 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 8.309e-05/0.9693, allocations: 53.12 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001425/0.9694, allocations: 62.8 kB / 1.344 GB, free: 13.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 6.863e-05/0.9695, allocations: 62.77 kB / 1.344 GB, free: 13.7 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001873/0.9697, allocations: 161.2 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007773/0.9705, allocations: 492.4 kB / 1.345 GB, free: 13.41 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.9705, allocations: 0 / 1.345 GB, free: 13.41 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9705, allocations: 0 / 1.345 GB, free: 13.41 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.805e-05/0.9705, allocations: 1.375 kB / 1.345 GB, free: 13.41 MB / 1.061 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.0008914/0.9714, allocations: 0.6152 MB / 1.345 GB, free: 12.87 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.9714, allocations: 9.625 kB / 1.345 GB, free: 12.87 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.162e-05/0.9715, allocations: 12.25 kB / 1.345 GB, free: 12.86 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.9715, allocations: 52.56 kB / 1.345 GB, free: 12.81 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.6e-05/0.9716, allocations: 35.28 kB / 1.345 GB, free: 12.8 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006215/0.9722, allocations: 328.9 kB / 1.346 GB, free: 12.53 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.9723, allocations: 25.27 kB / 1.346 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.54e-05/0.9723, allocations: 25.66 kB / 1.346 GB, free: 12.51 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.9726, allocations: 172 kB / 1.346 GB, free: 12.43 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.9726, allocations: 4 kB / 1.346 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.825e-05/0.9726, allocations: 5.375 kB / 1.346 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.9726, allocations: 4.125 kB / 1.346 GB, free: 12.42 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001978/0.9728, allocations: 116.3 kB / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.9739, allocations: 0.6919 MB / 1.347 GB, free: 11.91 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004505/0.9743, allocations: 145.7 kB / 1.347 GB, free: 11.84 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.9744, allocations: 65.52 kB / 1.347 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.9744, allocations: 2.344 kB / 1.347 GB, free: 11.81 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003465/0.9748, allocations: 136.2 kB / 1.347 GB, free: 11.73 MB / 1.061 GB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.9748, allocations: 0 / 1.347 GB, free: 11.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=20): time 0.0005145/0.9753, allocations: 215.6 kB / 1.347 GB, free: 11.64 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.9754, allocations: 62.81 kB / 1.347 GB, free: 11.57 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.9756, allocations: 215.1 kB / 1.347 GB, free: 11.42 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.9756, allocations: 41.78 kB / 1.347 GB, free: 11.38 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.582e-05/0.9757, allocations: 150.3 kB / 1.348 GB, free: 11.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.799e-05/0.9757, allocations: 52.17 kB / 1.348 GB, free: 11.21 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.9759, allocations: 76.73 kB / 1.348 GB, free: 11.18 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.026e-05/0.9759, allocations: 334.4 kB / 1.348 GB, free: 10.86 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002008/0.9761, allocations: 105.5 kB / 1.348 GB, free: 10.81 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.9764, allocations: 160.2 kB / 1.348 GB, free: 10.71 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002458/0.9766, allocations: 218.8 kB / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.9766, allocations: 0 / 1.348 GB, free: 10.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005509/0.9772, allocations: 367.6 kB / 1.349 GB, free: 10.34 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.412e-05/0.9772, allocations: 67.56 kB / 1.349 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9772, allocations: 9.875 kB / 1.349 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/0.9772, allocations: 1.531 kB / 1.349 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.9773, allocations: 20.09 kB / 1.349 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.9773, allocations: 3.125 kB / 1.349 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/0.9777, allocations: 79.36 kB / 1.349 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.163e-05/0.9778, allocations: 22.66 kB / 1.349 GB, free: 10.24 MB / 1.061 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.000134/0.9779, allocations: 149.1 kB / 1.349 GB, free: 10.1 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.113e-05/0.9779, allocations: 21.2 kB / 1.349 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.086e-05/0.978, allocations: 23.7 kB / 1.349 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.978, allocations: 2.594 kB / 1.349 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.978, allocations: 0 / 1.349 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.978, allocations: 2.672 kB / 1.349 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002583/0.9783, allocations: 297 kB / 1.35 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.9783, allocations: 1.672 kB / 1.35 GB, free: 9.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.826e-05/0.9784, allocations: 21.25 kB / 1.35 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.9784, allocations: 1.344 kB / 1.35 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.9784, allocations: 2.984 kB / 1.35 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.9784, allocations: 1.219 kB / 1.35 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.9784, allocations: 1.984 kB / 1.35 GB, free: 9.812 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002846/0.9787, allocations: 197.4 kB / 1.35 GB, free: 9.691 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.9787, allocations: 104.2 kB / 1.35 GB, free: 9.578 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.9787, allocations: 11.36 kB / 1.35 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.957e-05/0.9788, allocations: 10.59 kB / 1.35 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.562e-05/0.9789, allocations: 33.41 kB / 1.35 GB, free: 9.562 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.9789, allocations: 6.203 kB / 1.35 GB, free: 9.562 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0001094/0.979, allocations: 147.5 kB / 1.35 GB, free: 9.465 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.979, allocations: 0 / 1.35 GB, free: 9.465 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003172/0.9794, allocations: 63.77 kB / 1.35 GB, free: 9.449 MB / 1.061 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.0004917/0.9799, allocations: 0.7559 MB / 1.351 GB, free: 8.785 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004624/0.9803, allocations: 308.2 kB / 1.351 GB, free: 8.59 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.9803, allocations: 1.375 kB / 1.351 GB, free: 8.59 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001372/0.9805, allocations: 73.78 kB / 1.351 GB, free: 8.562 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.9808, allocations: 43.55 kB / 1.351 GB, free: 8.543 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002765/0.9835, allocations: 2.448 MB / 1.354 GB, free: 6.809 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001765/0.9837, allocations: 0.7422 MB / 1.354 GB, free: 6.109 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001015/0.9838, allocations: 26.3 kB / 1.354 GB, free: 6.105 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.9839, allocations: 74.09 kB / 1.354 GB, free: 6.055 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.9839, allocations: 0 / 1.354 GB, free: 6.055 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/1.009, allocations: 5.503 MB / 1.36 GB, free: 5.434 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.695/9.704, allocations: 8.281 kB / 1.36 GB, free: 5.43 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates.fmu > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.3717034769943] Failed to read output from testmodel.py, exit status != 0: 9.834794997004792 9.856603359 8.881830072 Calling exit ...