Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.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.001595/0.001595, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001929/0.001929, allocations: 218.8 kB / 23.03 MB, free: 4.922 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.366/3.366, allocations: 0.5003 GB / 0.8062 GB, free: 28.23 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable",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.002062/0.002062, allocations: 68.86 kB / 1.171 GB, free: 19.6 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.428, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002433/0.4304, allocations: 0.8244 MB / 1.346 GB, free: 15.08 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002528/0.433, allocations: 1.451 MB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001709/0.4331, allocations: 7.938 kB / 1.348 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.000676/0.4338, allocations: 199.4 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.4341, allocations: 111.6 kB / 1.348 GB, free: 13.3 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.4354, allocations: 370.1 kB / 1.348 GB, free: 12.95 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001331/0.4368, allocations: 0.8814 MB / 1.349 GB, free: 12.06 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002181/0.437, allocations: 52.55 kB / 1.349 GB, free: 12.01 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000776/0.4377, allocations: 359.4 kB / 1.349 GB, free: 11.66 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006256/0.4384, allocations: 279.3 kB / 1.35 GB, free: 11.39 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.000258/0.4386, allocations: 51.94 kB / 1.35 GB, free: 11.34 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004286/0.4391, allocations: 123.8 kB / 1.35 GB, free: 11.21 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0006437/0.4397, allocations: 371.2 kB / 1.35 GB, free: 10.85 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0005946/0.4403, allocations: 239 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001564/0.4419, allocations: 0.9193 MB / 1.351 GB, free: 9.695 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.4419, allocations: 0 / 1.351 GB, free: 9.695 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4419, allocations: 0 / 1.351 GB, free: 9.695 MB / 1.045 GB Notification: Performance of Transformations before backend: time 3.63e-05/0.4419, allocations: 0 / 1.351 GB, free: 9.695 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.003093/0.445, allocations: 0.8318 MB / 1.352 GB, free: 8.82 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 6.199e-05/0.4451, allocations: 8.031 kB / 1.352 GB, free: 8.812 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.611e-05/0.4451, allocations: 4.422 kB / 1.352 GB, free: 8.809 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.982e-05/0.4452, allocations: 46.73 kB / 1.352 GB, free: 8.754 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002824/0.4454, allocations: 56.66 kB / 1.352 GB, free: 8.699 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009318/0.4464, allocations: 0.4926 MB / 1.353 GB, free: 8.18 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/0.4464, allocations: 20.61 kB / 1.353 GB, free: 8.16 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001245/0.4465, allocations: 32.38 kB / 1.353 GB, free: 8.129 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005259/0.4471, allocations: 315.1 kB / 1.353 GB, free: 7.809 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.4471, allocations: 0 / 1.353 GB, free: 7.809 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.4471, allocations: 4 kB / 1.353 GB, free: 7.805 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.4471, allocations: 7.984 kB / 1.353 GB, free: 7.797 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003562/0.4475, allocations: 223.8 kB / 1.353 GB, free: 7.578 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002147/0.4496, allocations: 1.027 MB / 1.354 GB, free: 6.5 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007767/0.4504, allocations: 471.7 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002656/0.4506, allocations: 174.6 kB / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.4507, allocations: 0 / 1.355 GB, free: 5.832 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005533/0.4512, allocations: 338.4 kB / 1.355 GB, free: 5.484 MB / 1.045 GB Notification: Performance of pre-optimization done (n=24): time 1.954e-06/0.4512, allocations: 0 / 1.355 GB, free: 5.484 MB / 1.045 GB Notification: Performance of matching and sorting (n=24): time 0.001172/0.4524, allocations: 0.6227 MB / 1.356 GB, free: 4.855 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.4525, allocations: 122.9 kB / 1.356 GB, free: 4.711 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008063/0.4533, allocations: 0.6032 MB / 1.357 GB, free: 4.102 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001021/0.4534, allocations: 41.7 kB / 1.357 GB, free: 4.055 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002535/0.4537, allocations: 213.7 kB / 1.357 GB, free: 3.84 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 6.315e-05/0.4537, allocations: 55.58 kB / 1.357 GB, free: 3.785 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002926/0.454, allocations: 185.5 kB / 1.357 GB, free: 3.598 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001958/0.4542, allocations: 358.8 kB / 1.357 GB, free: 3.238 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001915/0.4544, allocations: 123.9 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001837/0.4562, allocations: 1.776 MB / 1.359 GB, free: 0.9023 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.4567, allocations: 296.6 kB / 1.36 GB, free: 0.5664 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.4567, allocations: 4 kB / 1.36 GB, free: 0.5625 MB / 1.045 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007866/0.4575, allocations: 433 kB / 1.36 GB, free: 136 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.4575, allocations: 8 kB / 1.36 GB, free: 128 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/0.4575, allocations: 4 kB / 1.36 GB, free: 124 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/0.4575, allocations: 11.88 kB / 1.36 GB, free: 112 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.4577, allocations: 35.91 kB / 1.36 GB, free: 76 kB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/0.4577, allocations: 4.375 kB / 1.36 GB, free: 72 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.459, allocations: 130.5 kB / 1.36 GB, free: 15.95 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.433e-05/0.4591, allocations: 8 kB / 1.36 GB, free: 15.94 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.intTimTab.idx,$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[1],booTimTab.y[2],booTimTab.y[1],$whenCondition5,booTimTabOneRow.intTimTab.idx,$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.y[2],booTimTabOneRow.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.intTimTab.idx,$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.y[2],booTimTabTwi.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * 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.0004167/0.4595, allocations: 261.6 kB / 1.36 GB, free: 15.68 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.067e-05/0.4596, allocations: 43.72 kB / 1.36 GB, free: 15.63 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001013/0.4597, allocations: 59.3 kB / 1.36 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.4597, allocations: 4 kB / 1.36 GB, free: 15.57 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4597, allocations: 3.938 kB / 1.36 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.4597, allocations: 3.984 kB / 1.361 GB, free: 15.56 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004303/0.4601, allocations: 328.5 kB / 1.361 GB, free: 15.2 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.4601, allocations: 4 kB / 1.361 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.4602, allocations: 4 kB / 1.361 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4602, allocations: 0 / 1.361 GB, free: 15.19 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.4602, allocations: 23.92 kB / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.489e-06/0.4602, allocations: 4 kB / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4602, allocations: 0 / 1.361 GB, free: 15.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000742/0.4609, allocations: 0.5109 MB / 1.361 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.4611, allocations: 51.75 kB / 1.361 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.4611, allocations: 11.94 kB / 1.361 GB, free: 14.56 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001541/0.4613, allocations: 15.92 kB / 1.361 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.4614, allocations: 31.95 kB / 1.361 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.4614, allocations: 19.94 kB / 1.361 GB, free: 14.5 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005592/0.4619, allocations: 427.1 kB / 1.362 GB, free: 14.08 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4619, allocations: 4 kB / 1.362 GB, free: 14.07 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004931/0.4624, allocations: 119.8 kB / 1.362 GB, free: 13.96 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,booTimTab.y[1],booTimTab.y[2],booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[2],booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001284/0.4637, allocations: 1.102 MB / 1.363 GB, free: 12.82 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000631/0.4644, allocations: 344.6 kB / 1.363 GB, free: 12.49 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4644, allocations: 0 / 1.363 GB, free: 12.49 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002676/0.4646, allocations: 171.9 kB / 1.364 GB, free: 12.32 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.465, allocations: 37.95 kB / 1.364 GB, free: 12.29 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006581/0.4716, allocations: 4.405 MB / 1.368 GB, free: 7.699 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/0.4719, allocations: 233.4 kB / 1.368 GB, free: 7.449 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003645/0.4723, allocations: 98.91 kB / 1.368 GB, free: 7.352 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.4725, allocations: 127.4 kB / 1.368 GB, free: 7.227 MB / 1.061 GB Notification: Performance of SimCode: time 1.684e-06/0.4725, allocations: 0 / 1.368 GB, free: 7.227 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04005/0.5126, allocations: 12.49 MB / 1.381 GB, free: 11.07 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.09/12.6, allocations: 5.953 kB / 1.381 GB, free: 11.07 MB / 1.076 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 19.67447795800399] Failed to read output from testmodel.py, exit status != 0: 12.775941056897864 12.799973006 12.353655514 Calling exit ...