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.001918/0.001918, allocations: 108.9 kB / 16.46 MB, free: 6.453 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.001497/0.001497, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.559/1.559, allocations: 230.6 MB / 252.8 MB, free: 8.949 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.318/3.318, allocations: 0.49 GB / 0.7916 GB, free: 33.29 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.00202/0.00202, allocations: 70.11 kB / 1.149 GB, free: 26.58 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3695/0.3715, allocations: 176.1 MB / 1.321 GB, free: 3.504 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.003902/0.3754, allocations: 1.162 MB / 1.322 GB, free: 2.348 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002771/0.3782, allocations: 1.416 MB / 1.323 GB, free: 0.918 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001881/0.3783, allocations: 4 kB / 1.323 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.338e-05/0.3784, allocations: 23.67 kB / 1.323 GB, free: 0.8906 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001957/0.3786, allocations: 51.59 kB / 1.323 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.3797, allocations: 290.3 kB / 1.324 GB, free: 0.5625 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0007534/0.3805, allocations: 411.8 kB / 1.324 GB, free: 160 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.3807, allocations: 92.23 kB / 1.324 GB, free: 64 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.381, allocations: 155.5 kB / 1.324 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.3813, allocations: 159.3 kB / 1.324 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.3814, allocations: 44 kB / 1.324 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.3816, allocations: 55.98 kB / 1.325 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.927e-05/0.3817, allocations: 67.75 kB / 1.325 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.3819, allocations: 155.3 kB / 1.325 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006993/0.3826, allocations: 498.4 kB / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3826, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3826, allocations: 0 / 1.325 GB, free: 14.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.678e-05/0.3827, allocations: 3.938 kB / 1.325 GB, free: 14.95 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.001181/0.3838, allocations: 0.6187 MB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.3839, allocations: 11.98 kB / 1.326 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.833e-05/0.384, allocations: 54.73 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001059/0.3841, allocations: 28.8 kB / 1.326 GB, free: 14.16 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007522/0.3848, allocations: 331.7 kB / 1.326 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.3849, allocations: 24.38 kB / 1.326 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.301e-05/0.3849, allocations: 24.38 kB / 1.326 GB, free: 13.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.3853, allocations: 177.7 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.3853, allocations: 0 / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.3853, allocations: 8 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.3853, allocations: 7.938 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.3855, allocations: 115.9 kB / 1.327 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001199/0.3867, allocations: 0.6914 MB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004804/0.3872, allocations: 150.8 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.3874, allocations: 68.83 kB / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.3874, allocations: 0 / 1.327 GB, free: 12.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002964/0.3877, allocations: 132.9 kB / 1.328 GB, free: 12.33 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 2.424e-06/0.3877, allocations: 0 / 1.328 GB, free: 12.33 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0005404/0.3882, allocations: 226.9 kB / 1.328 GB, free: 12.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.981e-05/0.3883, allocations: 51.41 kB / 1.328 GB, free: 12.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002732/0.3886, allocations: 222.6 kB / 1.328 GB, free: 11.82 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.857e-05/0.3886, allocations: 41.7 kB / 1.328 GB, free: 11.77 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.3888, allocations: 148.8 kB / 1.328 GB, free: 11.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.3888, allocations: 43.64 kB / 1.328 GB, free: 11.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.389, allocations: 77.67 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002159/0.3892, allocations: 334.8 kB / 1.329 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002381/0.3895, allocations: 99.89 kB / 1.329 GB, free: 11.06 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.3897, allocations: 163.5 kB / 1.329 GB, free: 10.88 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003346/0.3901, allocations: 210.5 kB / 1.329 GB, free: 10.65 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3901, allocations: 3.938 kB / 1.329 GB, free: 10.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007018/0.3908, allocations: 368.7 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-05/0.3909, allocations: 71.33 kB / 1.33 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.3909, allocations: 4 kB / 1.33 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.3909, allocations: 0 / 1.33 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/0.391, allocations: 15.94 kB / 1.33 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.391, allocations: 4 kB / 1.33 GB, free: 10.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000473/0.3915, allocations: 83.92 kB / 1.33 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.3915, allocations: 16 kB / 1.33 GB, free: 10.06 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.0002115/0.3917, allocations: 157.2 kB / 1.33 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.046e-05/0.3918, allocations: 23.8 kB / 1.33 GB, free: 9.875 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.475e-05/0.3919, allocations: 25.88 kB / 1.33 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/0.3919, allocations: 7.938 kB / 1.33 GB, free: 9.836 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.3919, allocations: 3.984 kB / 1.33 GB, free: 9.832 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3919, allocations: 4 kB / 1.33 GB, free: 9.828 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003708/0.3922, allocations: 289.5 kB / 1.33 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.3922, allocations: 0 / 1.33 GB, free: 9.496 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.3923, allocations: 19.98 kB / 1.33 GB, free: 9.477 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.3923, allocations: 7.875 kB / 1.33 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.721e-05/0.3923, allocations: 4 kB / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3924, allocations: 0 / 1.33 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3924, allocations: 4 kB / 1.33 GB, free: 9.461 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.3927, allocations: 199 kB / 1.33 GB, free: 9.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.267e-05/0.3928, allocations: 100.8 kB / 1.33 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.3928, allocations: 8 kB / 1.33 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.723e-05/0.3929, allocations: 7.984 kB / 1.331 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.393, allocations: 35.95 kB / 1.331 GB, free: 9.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.393, allocations: 7.984 kB / 1.331 GB, free: 9.074 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001443/0.3932, allocations: 148.6 kB / 1.331 GB, free: 8.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3932, allocations: 0 / 1.331 GB, free: 8.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003086/0.3935, allocations: 63.89 kB / 1.331 GB, free: 8.867 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.0007257/0.3942, allocations: 0.745 MB / 1.331 GB, free: 8.09 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0006124/0.3948, allocations: 316.7 kB / 1.332 GB, free: 7.758 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3948, allocations: 0 / 1.332 GB, free: 7.758 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.395, allocations: 63.92 kB / 1.332 GB, free: 7.695 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.3953, allocations: 39.95 kB / 1.332 GB, free: 7.656 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003571/0.3989, allocations: 2.449 MB / 1.334 GB, free: 5.09 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004351/0.3993, allocations: 0.744 MB / 1.335 GB, free: 4.32 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001104/0.3994, allocations: 29.94 kB / 1.335 GB, free: 4.293 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.3996, allocations: 75.41 kB / 1.335 GB, free: 4.223 MB / 1.029 GB Notification: Performance of SimCode: time 6.11e-07/0.3996, allocations: 0 / 1.335 GB, free: 4.223 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03208/0.4316, allocations: 5.456 MB / 1.34 GB, free: 14.94 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.569/9.001, allocations: 17.53 kB / 1.34 GB, free: 14.93 MB / 1.045 GB " [Timeout remaining time 291] (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: 15.993758870055899] Failed to read output from testmodel.py, exit status != 0: 9.076350857969373 9.103057185 8.71540614 Calling exit ...