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.001834/0.001834, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001678/0.001678, allocations: 218.2 kB / 23.04 MB, free: 5.074 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.855/2.855, allocations: 476.7 MB / 0.7714 GB, free: 4.297 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="cs",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="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.002049/0.002049, allocations: 67.86 kB / 1.118 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3834, allocations: 169.9 MB / 1.284 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002589/0.386, allocations: 1.162 MB / 1.285 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002032/0.388, allocations: 1.42 MB / 1.287 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.3881, allocations: 0 / 1.287 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 6.722e-05/0.3882, allocations: 27.67 kB / 1.287 GB, free: 1.273 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.3883, allocations: 47.64 kB / 1.287 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007532/0.3891, allocations: 290.6 kB / 1.287 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004669/0.3896, allocations: 415.8 kB / 1.287 GB, free: 0.543 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.3897, allocations: 84.78 kB / 1.287 GB, free: 468 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001892/0.3899, allocations: 163.5 kB / 1.288 GB, free: 304 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.3902, allocations: 159.3 kB / 1.288 GB, free: 144 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 6.652e-05/0.3902, allocations: 48 kB / 1.288 GB, free: 96 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001105/0.3903, allocations: 63.98 kB / 1.288 GB, free: 32 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.17e-05/0.3904, allocations: 63.78 kB / 1.288 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.3906, allocations: 163.3 kB / 1.288 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005511/0.3912, allocations: 482.5 kB / 1.289 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3912, allocations: 4 kB / 1.289 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.3912, allocations: 3.938 kB / 1.289 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.3912, allocations: 3.984 kB / 1.289 GB, free: 15.32 MB / 0.9981 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.0009356/0.3921, allocations: 0.5434 MB / 1.289 GB, free: 14.74 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.3922, allocations: 8.031 kB / 1.289 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.237e-05/0.3922, allocations: 4.188 kB / 1.289 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.104e-05/0.3922, allocations: 50.73 kB / 1.289 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.205e-05/0.3923, allocations: 28.8 kB / 1.289 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006936/0.393, allocations: 278 kB / 1.289 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.393, allocations: 20.38 kB / 1.289 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.494e-05/0.3931, allocations: 28.38 kB / 1.29 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003258/0.3934, allocations: 169.5 kB / 1.29 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.3934, allocations: 3.938 kB / 1.29 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.959e-05/0.3934, allocations: 4 kB / 1.29 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.3935, allocations: 4 kB / 1.29 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.3937, allocations: 115.9 kB / 1.29 GB, free: 14 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001161/0.3949, allocations: 0.6515 MB / 1.29 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004723/0.3953, allocations: 158.8 kB / 1.291 GB, free: 13.14 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.3955, allocations: 61.12 kB / 1.291 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.309e-05/0.3955, allocations: 0 / 1.291 GB, free: 13.07 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000342/0.3958, allocations: 135.2 kB / 1.291 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.3958, allocations: 0 / 1.291 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.0004823/0.3963, allocations: 223.2 kB / 1.291 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.3964, allocations: 59.39 kB / 1.291 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002331/0.3966, allocations: 218.9 kB / 1.291 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.328e-05/0.3966, allocations: 37.7 kB / 1.291 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001375/0.3968, allocations: 140.6 kB / 1.291 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.176e-05/0.3968, allocations: 55.56 kB / 1.291 GB, free: 12.18 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001469/0.397, allocations: 81.61 kB / 1.292 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001808/0.3972, allocations: 334.8 kB / 1.292 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.3974, allocations: 103.9 kB / 1.292 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.3977, allocations: 155.6 kB / 1.292 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003087/0.398, allocations: 214 kB / 1.292 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.398, allocations: 11.94 kB / 1.292 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006382/0.3986, allocations: 368.1 kB / 1.293 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/0.3987, allocations: 63.39 kB / 1.293 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3987, allocations: 0 / 1.293 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3987, allocations: 4 kB / 1.293 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.893e-05/0.3988, allocations: 19.94 kB / 1.293 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.3988, allocations: 7.938 kB / 1.293 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/0.3992, allocations: 83.92 kB / 1.293 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.297e-05/0.3992, allocations: 8 kB / 1.293 GB, free: 10.66 MB / 0.9981 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.0001803/0.3994, allocations: 151.6 kB / 1.293 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.647e-05/0.3995, allocations: 31.8 kB / 1.293 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.069e-05/0.3995, allocations: 21.81 kB / 1.293 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3995, allocations: 0 / 1.293 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.3995, allocations: 0 / 1.293 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3995, allocations: 3.984 kB / 1.293 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003044/0.3998, allocations: 264.5 kB / 1.293 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.3998, allocations: 0 / 1.293 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.013e-05/0.3999, allocations: 23.86 kB / 1.293 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3999, allocations: 0 / 1.293 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.59e-05/0.3999, allocations: 4 kB / 1.293 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.3999, allocations: 4 kB / 1.293 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.3999, allocations: 4 kB / 1.293 GB, free: 10.11 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.4003, allocations: 199.1 kB / 1.294 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.4003, allocations: 23.73 kB / 1.294 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.544e-05/0.4003, allocations: 8 kB / 1.294 GB, free: 9.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.62e-05/0.4004, allocations: 11.98 kB / 1.294 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.255e-05/0.4005, allocations: 35.94 kB / 1.294 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.589e-05/0.4005, allocations: 8 kB / 1.294 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001408/0.4007, allocations: 148.4 kB / 1.294 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4007, allocations: 0 / 1.294 GB, free: 9.668 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000293/0.401, allocations: 63.88 kB / 1.294 GB, free: 9.605 MB / 0.9981 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.0007045/0.4017, allocations: 0.7528 MB / 1.295 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005159/0.4022, allocations: 298.7 kB / 1.295 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4022, allocations: 4 kB / 1.295 GB, free: 8.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.4023, allocations: 74.31 kB / 1.295 GB, free: 8.43 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.4026, allocations: 48.16 kB / 1.295 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003332/0.406, allocations: 2.446 MB / 1.297 GB, free: 5.812 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.4064, allocations: 0.744 MB / 1.298 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001075/0.4065, allocations: 29.94 kB / 1.298 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.4066, allocations: 79.34 kB / 1.298 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of SimCode: time 6.91e-07/0.4066, allocations: 0 / 1.298 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02888/0.4355, allocations: 5.681 MB / 1.304 GB, free: 15.44 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.2, allocations: 3.031 kB / 1.304 GB, free: 15.44 MB / 1.014 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=400 --tolerance=1e-06 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: 18.88337781804148] Failed to read output from testmodel.py, exit status != 0: 12.363635920977686 12.389659813 11.993713159 Calling exit ...