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.001266/0.001266, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001387/0.001387, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.521/1.521, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.816/2.816, allocations: 476.7 MB / 0.7678 GB, free: 9.414 MB / 0.6075 GB " [Timeout remaining time 176] 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.002239/0.002239, allocations: 75.83 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.018/1.02, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.002954/1.023, allocations: 1.16 MB / 1.28 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002472/1.026, allocations: 1.414 MB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001748/1.026, allocations: 2.938 kB / 1.281 GB, free: 9.918 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 8.104e-05/1.026, allocations: 23.95 kB / 1.281 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002053/1.026, allocations: 55.28 kB / 1.282 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/1.027, allocations: 285.6 kB / 1.282 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0008537/1.028, allocations: 416.7 kB / 1.282 GB, free: 9.496 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002641/1.029, allocations: 89.06 kB / 1.282 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002816/1.029, allocations: 152.8 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/1.029, allocations: 156.1 kB / 1.283 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.983e-05/1.029, allocations: 46.34 kB / 1.283 GB, free: 9.281 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/1.029, allocations: 66.14 kB / 1.283 GB, free: 9.27 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.575e-05/1.029, allocations: 62.48 kB / 1.283 GB, free: 9.227 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/1.03, allocations: 157.5 kB / 1.283 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007154/1.03, allocations: 496.3 kB / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/1.03, allocations: 0 / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.493e-06/1.03, allocations: 0 / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.496e-06/1.03, allocations: 1.188 kB / 1.283 GB, free: 8.938 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.001081/1.031, allocations: 0.6194 MB / 1.284 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/1.031, allocations: 8.875 kB / 1.284 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.042e-05/1.031, allocations: 13.08 kB / 1.284 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.889e-05/1.031, allocations: 53.59 kB / 1.284 GB, free: 8.332 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.59e-05/1.032, allocations: 30.02 kB / 1.284 GB, free: 8.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007622/1.032, allocations: 329.6 kB / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.256e-05/1.032, allocations: 21.48 kB / 1.284 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.035e-05/1.032, allocations: 25.03 kB / 1.284 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/1.033, allocations: 178.5 kB / 1.285 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.033, allocations: 2.062 kB / 1.285 GB, free: 7.945 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/1.033, allocations: 9.281 kB / 1.285 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/1.033, allocations: 4.172 kB / 1.285 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/1.033, allocations: 120.5 kB / 1.285 GB, free: 7.891 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001196/1.034, allocations: 0.6871 MB / 1.285 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000428/1.035, allocations: 149.8 kB / 1.286 GB, free: 7.359 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/1.035, allocations: 60.34 kB / 1.286 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/1.035, allocations: 3.281 kB / 1.286 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002639/1.035, allocations: 132.1 kB / 1.286 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=20): time 2.053e-06/1.035, allocations: 0 / 1.286 GB, free: 7.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20): time 0.000515/1.036, allocations: 225.7 kB / 1.286 GB, free: 7.152 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/1.036, allocations: 54.5 kB / 1.286 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002531/1.036, allocations: 216.7 kB / 1.286 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.423e-05/1.036, allocations: 36.31 kB / 1.286 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001348/1.036, allocations: 158.3 kB / 1.286 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.071e-05/1.036, allocations: 50.23 kB / 1.286 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/1.036, allocations: 75.36 kB / 1.287 GB, free: 6.699 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001682/1.037, allocations: 336.3 kB / 1.287 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/1.037, allocations: 94.75 kB / 1.287 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003208/1.037, allocations: 161.2 kB / 1.287 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003238/1.037, allocations: 213.2 kB / 1.287 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/1.037, allocations: 3.938 kB / 1.287 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006827/1.038, allocations: 365.8 kB / 1.288 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.8e-05/1.038, allocations: 70.41 kB / 1.288 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/1.038, allocations: 3.281 kB / 1.288 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/1.038, allocations: 1.375 kB / 1.288 GB, free: 5.801 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.783e-05/1.038, allocations: 18.83 kB / 1.288 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/1.038, allocations: 3 kB / 1.288 GB, free: 5.797 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004458/1.039, allocations: 80.33 kB / 1.288 GB, free: 5.781 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.2e-05/1.039, allocations: 18.92 kB / 1.288 GB, free: 5.777 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.0001887/1.039, allocations: 152.4 kB / 1.288 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.003e-05/1.039, allocations: 25.17 kB / 1.288 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.982e-05/1.039, allocations: 23.3 kB / 1.288 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/1.039, allocations: 7.281 kB / 1.288 GB, free: 5.605 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.039, allocations: 9.25 kB / 1.288 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/1.039, allocations: 0.9844 kB / 1.288 GB, free: 5.598 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003255/1.039, allocations: 299.7 kB / 1.288 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.039, allocations: 0 / 1.288 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.237e-05/1.039, allocations: 18.12 kB / 1.288 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.039, allocations: 0 / 1.288 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/1.039, allocations: 7.656 kB / 1.288 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/1.039, allocations: 5.094 kB / 1.288 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/1.039, allocations: 1.031 kB / 1.288 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/1.04, allocations: 195.8 kB / 1.289 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.018e-05/1.04, allocations: 99.69 kB / 1.289 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/1.04, allocations: 7.203 kB / 1.289 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.588e-05/1.04, allocations: 15.11 kB / 1.289 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.04, allocations: 29.19 kB / 1.289 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/1.04, allocations: 11.33 kB / 1.289 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001385/1.04, allocations: 143.2 kB / 1.289 GB, free: 5 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.04, allocations: 0 / 1.289 GB, free: 5 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003415/1.041, allocations: 63.06 kB / 1.289 GB, free: 4.984 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.0007556/1.041, allocations: 0.7566 MB / 1.29 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005575/1.042, allocations: 309 kB / 1.29 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.042, allocations: 4.062 kB / 1.29 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/1.042, allocations: 70.36 kB / 1.29 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/1.042, allocations: 45.19 kB / 1.29 GB, free: 4.082 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/1.046, allocations: 2.46 MB / 1.292 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004064/1.046, allocations: 0.7436 MB / 1.293 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001214/1.046, allocations: 26.52 kB / 1.293 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001373/1.047, allocations: 77.36 kB / 1.293 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of SimCode: time 9.91e-07/1.047, allocations: 1.156 kB / 1.293 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/1.073, allocations: 5.502 MB / 1.299 GB, free: 0.957 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.83/9.903, allocations: 5.719 kB / 1.299 GB, free: 0.957 MB / 0.9981 GB " [Timeout remaining time 290] (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: 16.146865246992093] Failed to read output from testmodel.py, exit status != 0: 10.034682122990489 10.059492904 9.02448768 Calling exit ...