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.001863/0.001863, allocations: 116.8 kB / 17.17 MB, free: 6.004 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.002291/0.002291, allocations: 214.4 kB / 20.13 MB, free: 3.051 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.655/1.655, allocations: 230.6 MB / 253.5 MB, free: 15.07 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.058/3.058, allocations: 0.5003 GB / 0.8026 GB, free: 6.824 MB / 0.6387 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.001935/0.001935, allocations: 67.91 kB / 1.165 GB, free: 484 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.095/1.096, allocations: 178.9 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.002176/1.099, allocations: 0.8652 MB / 1.341 GB, free: 15.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001963/1.101, allocations: 1.491 MB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.247e-05/1.101, allocations: 2.219 kB / 1.342 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005888/1.101, allocations: 201 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001695/1.101, allocations: 114.6 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001078/1.103, allocations: 363.6 kB / 1.343 GB, free: 14.34 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.001/1.104, allocations: 0.879 MB / 1.344 GB, free: 14 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001964/1.104, allocations: 71.09 kB / 1.344 GB, free: 13.97 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004811/1.104, allocations: 348.5 kB / 1.344 GB, free: 13.86 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004895/1.105, allocations: 291.5 kB / 1.345 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001426/1.105, allocations: 44.19 kB / 1.345 GB, free: 13.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/1.105, allocations: 107.7 kB / 1.345 GB, free: 13.76 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004782/1.106, allocations: 360.1 kB / 1.345 GB, free: 13.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0003354/1.106, allocations: 269.2 kB / 1.345 GB, free: 13.48 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/1.107, allocations: 0.9192 MB / 1.346 GB, free: 13.2 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/1.107, allocations: 1.219 kB / 1.346 GB, free: 13.2 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.194e-06/1.107, allocations: 0 / 1.346 GB, free: 13.2 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.292e-05/1.107, allocations: 0 / 1.346 GB, free: 13.2 MB / 1.061 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.001744/1.109, allocations: 0.9021 MB / 1.347 GB, free: 12.57 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/1.109, allocations: 9.094 kB / 1.347 GB, free: 12.57 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.335e-05/1.109, allocations: 8.047 kB / 1.347 GB, free: 12.56 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/1.109, allocations: 42.61 kB / 1.347 GB, free: 12.52 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/1.109, allocations: 58.09 kB / 1.347 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008353/1.11, allocations: 0.543 MB / 1.348 GB, free: 12.16 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.452e-05/1.11, allocations: 26.22 kB / 1.348 GB, free: 12.15 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/1.11, allocations: 37.3 kB / 1.348 GB, free: 12.14 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000523/1.111, allocations: 314.8 kB / 1.348 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/1.111, allocations: 0 / 1.348 GB, free: 12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.896e-05/1.111, allocations: 12.08 kB / 1.348 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/1.111, allocations: 2.75 kB / 1.348 GB, free: 11.99 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003482/1.111, allocations: 217.8 kB / 1.348 GB, free: 11.93 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/1.113, allocations: 1.188 MB / 1.35 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006961/1.114, allocations: 456.3 kB / 1.35 GB, free: 11.03 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/1.114, allocations: 181.6 kB / 1.35 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/1.114, allocations: 7.016 kB / 1.35 GB, free: 10.95 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005318/1.115, allocations: 330.9 kB / 1.35 GB, free: 10.81 MB / 1.061 GB Notification: Performance of pre-optimization done (n=24): time 1.443e-06/1.115, allocations: 0 / 1.35 GB, free: 10.81 MB / 1.061 GB Notification: Performance of matching and sorting (n=24): time 0.001267/1.116, allocations: 0.6369 MB / 1.351 GB, free: 10.58 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.462e-05/1.116, allocations: 115.5 kB / 1.351 GB, free: 10.45 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008781/1.117, allocations: 0.6 MB / 1.352 GB, free: 10.21 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/1.117, allocations: 45.25 kB / 1.352 GB, free: 10.17 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002196/1.118, allocations: 212.3 kB / 1.352 GB, free: 10 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/1.118, allocations: 57.34 kB / 1.352 GB, free: 9.961 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003371/1.118, allocations: 182.8 kB / 1.352 GB, free: 9.906 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.118, allocations: 365.2 kB / 1.353 GB, free: 9.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002089/1.118, allocations: 126.1 kB / 1.353 GB, free: 9.535 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008687/1.119, allocations: 0.7144 MB / 1.353 GB, free: 8.977 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003549/1.119, allocations: 303.1 kB / 1.354 GB, free: 8.77 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/1.119, allocations: 1.25 kB / 1.354 GB, free: 8.77 MB / 1.061 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007777/1.12, allocations: 419.1 kB / 1.354 GB, free: 8.605 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.374e-05/1.12, allocations: 5.812 kB / 1.354 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/1.12, allocations: 4.516 kB / 1.354 GB, free: 8.605 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.227e-05/1.12, allocations: 9.906 kB / 1.354 GB, free: 8.602 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/1.12, allocations: 35.06 kB / 1.354 GB, free: 8.594 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/1.121, allocations: 8.969 kB / 1.354 GB, free: 8.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/1.122, allocations: 132.3 kB / 1.354 GB, free: 8.555 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.175e-05/1.122, allocations: 16.28 kB / 1.354 GB, free: 8.551 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.0004098/1.122, allocations: 257.6 kB / 1.355 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.973e-05/1.122, allocations: 43.08 kB / 1.355 GB, free: 8.367 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/1.123, allocations: 56.5 kB / 1.355 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/1.123, allocations: 2.188 kB / 1.355 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.123, allocations: 5.062 kB / 1.355 GB, free: 8.332 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/1.123, allocations: 2.453 kB / 1.355 GB, free: 8.332 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000497/1.123, allocations: 416.5 kB / 1.355 GB, free: 8.051 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.123, allocations: 1.75 kB / 1.355 GB, free: 8.051 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.824e-05/1.123, allocations: 9.234 kB / 1.355 GB, free: 8.047 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/1.123, allocations: 1.188 kB / 1.355 GB, free: 8.047 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/1.123, allocations: 13.89 kB / 1.355 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/1.123, allocations: 2.984 kB / 1.355 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.123, allocations: 5.234 kB / 1.355 GB, free: 8.035 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000757/1.124, allocations: 0.5166 MB / 1.356 GB, free: 7.809 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/1.124, allocations: 122.5 kB / 1.356 GB, free: 7.691 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/1.124, allocations: 15.91 kB / 1.356 GB, free: 7.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/1.124, allocations: 18.11 kB / 1.356 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.475e-05/1.124, allocations: 29.58 kB / 1.356 GB, free: 7.668 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.467e-05/1.124, allocations: 16.45 kB / 1.356 GB, free: 7.664 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005641/1.125, allocations: 430.3 kB / 1.356 GB, free: 7.488 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.125, allocations: 0 / 1.356 GB, free: 7.488 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0006002/1.125, allocations: 116.3 kB / 1.356 GB, free: 7.465 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.001017/1.126, allocations: 1.101 MB / 1.357 GB, free: 6.695 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006574/1.127, allocations: 350 kB / 1.358 GB, free: 6.598 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.127, allocations: 4.125 kB / 1.358 GB, free: 6.594 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002581/1.127, allocations: 166.9 kB / 1.358 GB, free: 6.543 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/1.128, allocations: 36.69 kB / 1.358 GB, free: 6.527 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005719/1.133, allocations: 4.417 MB / 1.362 GB, free: 4.148 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/1.134, allocations: 0.8413 MB / 1.363 GB, free: 3.422 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000341/1.134, allocations: 95.48 kB / 1.363 GB, free: 3.414 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001929/1.134, allocations: 127.7 kB / 1.363 GB, free: 3.324 MB / 1.061 GB Notification: Performance of SimCode: time 7.52e-07/1.134, allocations: 0 / 1.363 GB, free: 3.324 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03893/1.173, allocations: 11.64 MB / 1.375 GB, free: 2.324 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.966/10.14, allocations: 10.39 kB / 1.375 GB, free: 2.316 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.950391036982182] Failed to read output from testmodel.py, exit status != 0: 10.269808205019217 10.285167341 9.174683533 Calling exit ...