Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001625/0.001625, 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.001554/0.001554, allocations: 220 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.493/1.493, 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 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.903/2.903, allocations: 476.8 MB / 0.7715 GB, free: 3.914 MB / 0.6231 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.CDL.Logical.Sources.Validation.TimeTable,fileNamePrefix="Buildings_11_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_11_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.002156/0.002156, allocations: 64.02 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4084, allocations: 170 MB / 1.284 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.003196/0.4116, allocations: 0.833 MB / 1.285 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002745/0.4143, allocations: 1.453 MB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002262/0.4146, allocations: 7.938 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0007563/0.4153, allocations: 199.4 kB / 1.287 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002745/0.4156, allocations: 115.6 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.4171, allocations: 364.2 kB / 1.287 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001295/0.4184, allocations: 0.8661 MB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000213/0.4186, allocations: 61.94 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007095/0.4193, allocations: 363.4 kB / 1.288 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006391/0.4199, allocations: 279.3 kB / 1.289 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0003016/0.4202, allocations: 48 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005355/0.4208, allocations: 127.8 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0007061/0.4215, allocations: 359.2 kB / 1.289 GB, free: 5.668 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006538/0.4221, allocations: 239.1 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00144/0.4236, allocations: 0.9147 MB / 1.29 GB, free: 4.52 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.4236, allocations: 4 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.345e-06/0.4236, allocations: 4 kB / 1.29 GB, free: 4.512 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.433e-05/0.4236, allocations: 0 / 1.29 GB, free: 4.512 MB / 0.9825 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.002663/0.4263, allocations: 0.828 MB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.4263, allocations: 12.03 kB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.876e-05/0.4263, allocations: 4.422 kB / 1.291 GB, free: 3.629 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.003e-05/0.4264, allocations: 42.73 kB / 1.291 GB, free: 3.578 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003108/0.4267, allocations: 52.66 kB / 1.291 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.4279, allocations: 0.4926 MB / 1.292 GB, free: 3.008 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/0.4279, allocations: 24.61 kB / 1.292 GB, free: 2.984 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.4281, allocations: 40.38 kB / 1.292 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005384/0.4286, allocations: 321.9 kB / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.4286, allocations: 0 / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.429e-05/0.4287, allocations: 0 / 1.292 GB, free: 2.617 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.4287, allocations: 4 kB / 1.292 GB, free: 2.613 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003885/0.4291, allocations: 223.8 kB / 1.292 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002326/0.4314, allocations: 1.031 MB / 1.293 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006871/0.4321, allocations: 451.8 kB / 1.294 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002555/0.4323, allocations: 178.6 kB / 1.294 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.4323, allocations: 3.938 kB / 1.294 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005136/0.4329, allocations: 337.5 kB / 1.294 GB, free: 312 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=24): time 2.104e-06/0.4329, allocations: 4 kB / 1.294 GB, free: 308 kB / 0.9825 GB Notification: Performance of matching and sorting (n=24): time 0.001216/0.4341, allocations: 0.626 MB / 1.295 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.948e-05/0.4342, allocations: 122.7 kB / 1.295 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008938/0.4351, allocations: 0.5955 MB / 1.295 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001205/0.4352, allocations: 41.7 kB / 1.295 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/0.4354, allocations: 217.7 kB / 1.296 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.4355, allocations: 55.62 kB / 1.296 GB, free: 14.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003034/0.4358, allocations: 185.5 kB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.436, allocations: 358.8 kB / 1.296 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.4362, allocations: 127.9 kB / 1.296 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.438, allocations: 1.775 MB / 1.298 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004594/0.4384, allocations: 301.4 kB / 1.298 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4385, allocations: 256 / 1.298 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008302/0.4393, allocations: 425 kB / 1.299 GB, free: 10.96 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.4393, allocations: 8 kB / 1.299 GB, free: 10.95 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.4393, allocations: 8 kB / 1.299 GB, free: 10.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.4393, allocations: 7.938 kB / 1.299 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.4395, allocations: 43.84 kB / 1.299 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.4395, allocations: 4 kB / 1.299 GB, free: 10.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.4409, allocations: 136 kB / 1.299 GB, free: 10.75 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/0.4409, allocations: 12 kB / 1.299 GB, free: 10.74 MB / 0.9981 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.0004076/0.4413, allocations: 255 kB / 1.299 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.589e-05/0.4414, allocations: 43.72 kB / 1.299 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001122/0.4415, allocations: 59.31 kB / 1.299 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.4415, allocations: 3.984 kB / 1.299 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.866e-06/0.4415, allocations: 4 kB / 1.299 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.4415, allocations: 0 / 1.299 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004507/0.442, allocations: 332.4 kB / 1.3 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.442, allocations: 4 kB / 1.3 GB, free: 10.01 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.642e-05/0.442, allocations: 3.938 kB / 1.3 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.442, allocations: 4 kB / 1.3 GB, free: 10 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.442, allocations: 15.92 kB / 1.3 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4421, allocations: 0 / 1.3 GB, free: 9.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/0.4421, allocations: 8 kB / 1.3 GB, free: 9.977 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000817/0.4429, allocations: 0.5158 MB / 1.3 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001096/0.443, allocations: 51.75 kB / 1.3 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-05/0.443, allocations: 7.938 kB / 1.3 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.4432, allocations: 15.98 kB / 1.3 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.4433, allocations: 31.95 kB / 1.3 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.469e-05/0.4434, allocations: 12 kB / 1.3 GB, free: 9.32 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0005759/0.4439, allocations: 431.1 kB / 1.301 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.4439, allocations: 0 / 1.301 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005458/0.4445, allocations: 111.9 kB / 1.301 GB, free: 8.793 MB / 0.9981 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.001231/0.4457, allocations: 1.105 MB / 1.302 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006805/0.4464, allocations: 347.6 kB / 1.302 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4464, allocations: 4 kB / 1.302 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002679/0.4467, allocations: 163.8 kB / 1.302 GB, free: 7.148 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.447, allocations: 38.7 kB / 1.302 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006424/0.4534, allocations: 4.416 MB / 1.307 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.4537, allocations: 229.4 kB / 1.307 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003183/0.454, allocations: 98.86 kB / 1.307 GB, free: 2.164 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.4543, allocations: 131.4 kB / 1.307 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of SimCode: time 8.51e-07/0.4543, allocations: 0 / 1.307 GB, free: 2.035 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04247/0.4968, allocations: 12.48 MB / 1.319 GB, free: 5.953 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.49, allocations: 7.344 kB / 1.319 GB, free: 5.949 MB / 1.014 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_TimeTable.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 19.45315625506919] Failed to read output from testmodel.py, exit status != 0: 13.254853789927438 12.671532214 12.244635668 Calling exit ...