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.001642/0.001642, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002132/0.002132, allocations: 216.3 kB / 22.24 MB, free: 5.258 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.459/1.459, allocations: 230.6 MB / 256 MB, free: 7.793 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.206/3.206, allocations: 0.49 GB / 0.7951 GB, free: 35.54 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.002078/0.002078, allocations: 70.05 kB / 1.154 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3754, allocations: 176.1 MB / 1.326 GB, free: 1.52 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.00262/0.378, allocations: 1.08 MB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002056/0.3801, allocations: 1.404 MB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001044/0.3802, allocations: 0 / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.137e-05/0.3803, allocations: 23.67 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001556/0.3804, allocations: 55.58 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007852/0.3812, allocations: 290.1 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004955/0.3817, allocations: 419.8 kB / 1.329 GB, free: 14.26 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002206/0.3819, allocations: 84.8 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002115/0.3821, allocations: 159.5 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.3823, allocations: 151.4 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.258e-05/0.3824, allocations: 48 kB / 1.329 GB, free: 13.81 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.3825, allocations: 55.98 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.71e-05/0.3826, allocations: 71.7 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001706/0.3828, allocations: 131.5 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005733/0.3834, allocations: 494.5 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3834, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3834, allocations: 0 / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3834, allocations: 4 kB / 1.33 GB, free: 13.07 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.0009204/0.3843, allocations: 0.5433 MB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3843, allocations: 8.031 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.956e-05/0.3844, allocations: 54.73 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.74e-05/0.3845, allocations: 28.8 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006588/0.3851, allocations: 273.8 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.243e-05/0.3852, allocations: 24.38 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.349e-05/0.3852, allocations: 24.38 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003345/0.3856, allocations: 178.3 kB / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.3856, allocations: 0 / 1.331 GB, free: 11.87 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.015e-05/0.3856, allocations: 8 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.3856, allocations: 4 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002242/0.3858, allocations: 115.9 kB / 1.331 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000998/0.3868, allocations: 0.5775 MB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004173/0.3872, allocations: 154.7 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.3873, allocations: 65.11 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.167e-05/0.3874, allocations: 7.938 kB / 1.332 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002615/0.3876, allocations: 133.2 kB / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.774e-06/0.3876, allocations: 0 / 1.332 GB, free: 10.74 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004624/0.3881, allocations: 218.8 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.307e-05/0.3881, allocations: 55.41 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002214/0.3884, allocations: 226.8 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.255e-05/0.3884, allocations: 41.69 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.3885, allocations: 136.6 kB / 1.333 GB, free: 10.04 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.081e-05/0.3886, allocations: 51.58 kB / 1.333 GB, free: 9.992 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.3887, allocations: 77.67 kB / 1.333 GB, free: 9.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3889, allocations: 338.8 kB / 1.333 GB, free: 9.57 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.3892, allocations: 163.3 kB / 1.334 GB, free: 9.398 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003529/0.3895, allocations: 307.2 kB / 1.334 GB, free: 9.043 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.3898, allocations: 217.8 kB / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3898, allocations: 0 / 1.334 GB, free: 8.805 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006544/0.3905, allocations: 429 kB / 1.334 GB, free: 8.355 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 7.106e-05/0.3906, allocations: 71.33 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.3906, allocations: 4 kB / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.3906, allocations: 0 / 1.335 GB, free: 8.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.365e-05/0.3907, allocations: 12 kB / 1.335 GB, free: 8.258 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.3907, allocations: 7.938 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.3911, allocations: 83.92 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.3911, allocations: 12 kB / 1.335 GB, free: 8.156 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.0001752/0.3913, allocations: 156.1 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.3913, allocations: 27.8 kB / 1.335 GB, free: 7.965 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.145e-05/0.3914, allocations: 21.81 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3914, allocations: 4 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3914, allocations: 0 / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.3914, allocations: 3.984 kB / 1.335 GB, free: 7.938 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.3917, allocations: 244.5 kB / 1.335 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3917, allocations: 3.938 kB / 1.335 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.957e-05/0.3917, allocations: 19.92 kB / 1.335 GB, free: 7.633 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.09e-06/0.3917, allocations: 3.938 kB / 1.335 GB, free: 7.629 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.3918, allocations: 8 kB / 1.335 GB, free: 7.621 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3918, allocations: 4 kB / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3918, allocations: 0 / 1.335 GB, free: 7.617 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.3921, allocations: 198.4 kB / 1.335 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.3921, allocations: 23.8 kB / 1.335 GB, free: 7.383 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.3922, allocations: 7.938 kB / 1.335 GB, free: 7.375 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.575e-05/0.3922, allocations: 15.98 kB / 1.335 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.266e-05/0.3923, allocations: 31.94 kB / 1.335 GB, free: 7.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/0.3924, allocations: 8 kB / 1.335 GB, free: 7.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001403/0.3925, allocations: 148.4 kB / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3925, allocations: 0 / 1.336 GB, free: 7.176 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003136/0.3928, allocations: 67.88 kB / 1.336 GB, free: 7.109 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.0007396/0.3936, allocations: 0.756 MB / 1.336 GB, free: 6.324 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005788/0.3941, allocations: 366.1 kB / 1.337 GB, free: 5.93 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3941, allocations: 0 / 1.337 GB, free: 5.93 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001343/0.3943, allocations: 71.91 kB / 1.337 GB, free: 5.859 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.3946, allocations: 41.17 kB / 1.337 GB, free: 5.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003449/0.398, allocations: 2.71 MB / 1.339 GB, free: 2.941 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001358/0.3982, allocations: 138.2 kB / 1.34 GB, free: 2.785 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.372e-05/0.3983, allocations: 21.95 kB / 1.34 GB, free: 2.766 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000119/0.3984, allocations: 79.41 kB / 1.34 GB, free: 2.691 MB / 1.029 GB Notification: Performance of SimCode: time 4.3e-07/0.3984, allocations: 0 / 1.34 GB, free: 2.691 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03555/0.4339, allocations: 6.357 MB / 1.346 GB, free: 12.53 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.29/11.73, allocations: 5.656 kB / 1.346 GB, free: 12.53 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.562794247001875] Failed to read output from testmodel.py, exit status != 0: 11.839398102019913 11.86503072 11.477085009 Calling exit ...