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.001586/0.001586, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002234/0.002234, allocations: 220.1 kB / 23.03 MB, free: 4.945 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.265/3.265, allocations: 0.49 GB / 0.7959 GB, free: 35.53 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="cs",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="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.002072/0.002072, allocations: 66.06 kB / 1.155 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3906, allocations: 176.1 MB / 1.327 GB, free: 1.57 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates): time 0.003118/0.3938, allocations: 1.093 MB / 1.328 GB, free: 492 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.3959, allocations: 1.404 MB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.396, allocations: 4 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 6.872e-05/0.3961, allocations: 23.67 kB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.3962, allocations: 47.61 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007716/0.397, allocations: 302.4 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004904/0.3975, allocations: 407.8 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.3977, allocations: 88.78 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001934/0.3979, allocations: 159.5 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.3981, allocations: 159.3 kB / 1.33 GB, free: 13.89 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.729e-05/0.3982, allocations: 47.94 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.3983, allocations: 59.98 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 6.369e-05/0.3984, allocations: 51.84 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.3985, allocations: 139.5 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005756/0.3991, allocations: 498.5 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.3991, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3991, allocations: 0 / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.3991, allocations: 0 / 1.331 GB, free: 13.11 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.0009517/0.4001, allocations: 0.5394 MB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.4001, allocations: 12.03 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.057e-05/0.4002, allocations: 4.188 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.373e-05/0.4002, allocations: 54.72 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.856e-05/0.4003, allocations: 32.8 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006723/0.401, allocations: 269.9 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.401, allocations: 20.38 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.999e-05/0.4011, allocations: 28.36 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.4014, allocations: 174.2 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.4014, allocations: 0 / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.173e-05/0.4015, allocations: 7.984 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-06/0.4015, allocations: 4 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002432/0.4017, allocations: 119.8 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009948/0.4027, allocations: 0.5853 MB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004277/0.4031, allocations: 158.7 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.4032, allocations: 61.11 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.781e-05/0.4033, allocations: 3.938 kB / 1.333 GB, free: 10.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003172/0.4036, allocations: 137.2 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of pre-optimization done (n=20): time 1.633e-06/0.4036, allocations: 0 / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of matching and sorting (n=20): time 0.0004729/0.4041, allocations: 222.4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.4041, allocations: 59.39 kB / 1.333 GB, free: 10.47 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002258/0.4043, allocations: 218.8 kB / 1.334 GB, free: 10.25 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.975e-05/0.4044, allocations: 37.7 kB / 1.334 GB, free: 10.21 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.4045, allocations: 140.6 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.375e-05/0.4046, allocations: 51.58 kB / 1.334 GB, free: 10.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001564/0.4047, allocations: 77.67 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4049, allocations: 330.8 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002774/0.4052, allocations: 163.4 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.4055, allocations: 311.2 kB / 1.335 GB, free: 9.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/0.4058, allocations: 209.8 kB / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.4058, allocations: 0 / 1.335 GB, free: 8.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006716/0.4065, allocations: 434.6 kB / 1.335 GB, free: 8.387 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.499e-05/0.4066, allocations: 63.39 kB / 1.335 GB, free: 8.312 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.4066, allocations: 8.125 kB / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4066, allocations: 0 / 1.335 GB, free: 8.305 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.217e-05/0.4067, allocations: 23.92 kB / 1.335 GB, free: 8.281 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.427e-06/0.4067, allocations: 4 kB / 1.335 GB, free: 8.277 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003866/0.4071, allocations: 75.81 kB / 1.335 GB, free: 8.203 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.192e-05/0.4071, allocations: 19.92 kB / 1.335 GB, free: 8.184 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.0001748/0.4073, allocations: 156.1 kB / 1.336 GB, free: 8.023 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.734e-05/0.4073, allocations: 23.8 kB / 1.336 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.054e-05/0.4074, allocations: 25.8 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.4074, allocations: 4 kB / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4074, allocations: 0 / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4074, allocations: 0 / 1.336 GB, free: 7.973 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.4077, allocations: 252.5 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.4077, allocations: 0 / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.373e-05/0.4078, allocations: 23.94 kB / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.4078, allocations: 0 / 1.336 GB, free: 7.66 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.4078, allocations: 7.984 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.7e-06/0.4078, allocations: 3.938 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4078, allocations: 0 / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.4081, allocations: 194.3 kB / 1.336 GB, free: 7.441 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.4082, allocations: 27.78 kB / 1.336 GB, free: 7.414 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.4082, allocations: 4 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.441e-05/0.4083, allocations: 11.98 kB / 1.336 GB, free: 7.398 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.129e-05/0.4084, allocations: 39.88 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.4084, allocations: 8 kB / 1.336 GB, free: 7.352 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000132/0.4085, allocations: 148.4 kB / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4085, allocations: 0 / 1.336 GB, free: 7.207 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000307/0.4088, allocations: 63.89 kB / 1.336 GB, free: 7.145 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.0007228/0.4095, allocations: 0.7502 MB / 1.337 GB, free: 6.363 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005692/0.4101, allocations: 375.3 kB / 1.337 GB, free: 5.961 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.4101, allocations: 4.062 kB / 1.337 GB, free: 5.957 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.4102, allocations: 69.47 kB / 1.338 GB, free: 5.891 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000319/0.4106, allocations: 31.97 kB / 1.338 GB, free: 5.859 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003665/0.4142, allocations: 2.71 MB / 1.34 GB, free: 2.977 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001356/0.4144, allocations: 130.2 kB / 1.34 GB, free: 2.828 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 9.759e-05/0.4145, allocations: 33.97 kB / 1.34 GB, free: 2.797 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000131/0.4146, allocations: 75.41 kB / 1.34 GB, free: 2.727 MB / 1.029 GB Notification: Performance of SimCode: time 7.41e-07/0.4146, allocations: 0 / 1.34 GB, free: 2.727 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02891/0.4435, allocations: 5.934 MB / 1.346 GB, free: 13.04 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.18, allocations: 11.94 kB / 1.346 GB, free: 13.03 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.ASHRAE.G36.ThermalZones.Validation.ZoneStates_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_ASHRAE_G36_ThermalZones_Validation_ZoneStates_fmu --startTime=0 --stopTime=3 --timeout=400 --tolerance=1e-06 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: 19.09284653805662] Failed to read output from testmodel.py, exit status != 0: 12.349395692930557 12.380289754 11.975895039 Calling exit ...