Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.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.001743/0.001743, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002332/0.002332, allocations: 218.9 kB / 23.04 MB, free: 5.078 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.561/1.561, allocations: 230.6 MB / 256.8 MB, free: 8 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.83/2.83, allocations: 476.7 MB / 0.7715 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] 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.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_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.001998/0.001998, allocations: 71.8 kB / 1.118 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3825/0.3845, allocations: 169.9 MB / 1.284 GB, free: 3.867 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.002582/0.3871, allocations: 0.6919 MB / 1.285 GB, free: 3.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002353/0.3895, allocations: 1.386 MB / 1.286 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001219/0.3896, allocations: 7.938 kB / 1.286 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005824/0.3902, allocations: 191.5 kB / 1.286 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001847/0.3903, allocations: 99.73 kB / 1.286 GB, free: 1.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009242/0.3913, allocations: 246.7 kB / 1.287 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007142/0.392, allocations: 499.7 kB / 1.287 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.559e-05/0.392, allocations: 4 kB / 1.287 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003957/0.3924, allocations: 207.7 kB / 1.287 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004552/0.3929, allocations: 231.5 kB / 1.288 GB, free: 336 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.393, allocations: 20 kB / 1.288 GB, free: 316 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003002/0.3933, allocations: 95.91 kB / 1.288 GB, free: 220 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0004655/0.3938, allocations: 279.4 kB / 1.288 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.394, allocations: 147.3 kB / 1.288 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000661/0.3947, allocations: 486.7 kB / 1.289 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3947, allocations: 0 / 1.289 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.073e-06/0.3947, allocations: 0 / 1.289 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.3947, allocations: 0 / 1.289 GB, free: 15.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001347/0.3961, allocations: 0.5684 MB / 1.289 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.3961, allocations: 12.03 kB / 1.289 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.856e-05/0.3961, allocations: 192 / 1.289 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.449e-05/0.3962, allocations: 42.73 kB / 1.289 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001879/0.3964, allocations: 36.75 kB / 1.289 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00065/0.397, allocations: 326.5 kB / 1.29 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.397, allocations: 16.38 kB / 1.29 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.28e-05/0.3971, allocations: 20.38 kB / 1.29 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003453/0.3975, allocations: 192.4 kB / 1.29 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3975, allocations: 0 / 1.29 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.3975, allocations: 7.938 kB / 1.29 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.3975, allocations: 4 kB / 1.29 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.3977, allocations: 111.9 kB / 1.29 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/0.3982, allocations: 354.2 kB / 1.29 GB, free: 13.52 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005135/0.3988, allocations: 319.6 kB / 1.291 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.3989, allocations: 126.6 kB / 1.291 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.796e-06/0.399, allocations: 0 / 1.291 GB, free: 13.05 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005306/0.3995, allocations: 285.6 kB / 1.291 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.3995, allocations: 0 / 1.291 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0009326/0.4004, allocations: 0.4901 MB / 1.291 GB, free: 12.25 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.827e-05/0.4005, allocations: 118.8 kB / 1.291 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004782/0.401, allocations: 400.4 kB / 1.292 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.149e-05/0.4011, allocations: 41.69 kB / 1.292 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.4012, allocations: 156.8 kB / 1.292 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.951e-05/0.4013, allocations: 31.78 kB / 1.292 GB, free: 11.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.4015, allocations: 121.6 kB / 1.292 GB, free: 11.35 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4016, allocations: 342.8 kB / 1.293 GB, free: 11.01 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.4018, allocations: 83.95 kB / 1.293 GB, free: 10.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005956/0.4024, allocations: 464.2 kB / 1.293 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003503/0.4027, allocations: 253.5 kB / 1.293 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.4027, allocations: 4 kB / 1.293 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006097/0.4033, allocations: 341 kB / 1.294 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.4033, allocations: 6.188 kB / 1.294 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4034, allocations: 4.156 kB / 1.294 GB, free: 9.699 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.24e-05/0.4034, allocations: 8 kB / 1.294 GB, free: 9.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.4036, allocations: 31.91 kB / 1.294 GB, free: 9.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/0.4036, allocations: 7.984 kB / 1.294 GB, free: 9.652 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007806/0.4044, allocations: 80.17 kB / 1.294 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/0.4044, allocations: 12 kB / 1.294 GB, free: 9.562 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 26 (tabOneRow.idx,$PRE.tabOneRow.idx,tabOneRow.y[1],$PRE.tabOneRow.y[1],$whenCondition10,intTimTab1.idx,$PRE.intTimTab1.idx,intTimTab1.y[2],$PRE.intTimTab1.y[2],intTimTab1.y[1],$PRE.intTimTab1.y[1],$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab.idx,$PRE.intTimTab.idx,intTimTab.y[2],$PRE.intTimTab.y[2],intTimTab.y[1],$PRE.intTimTab.y[1],$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002641/0.4047, allocations: 191.7 kB / 1.294 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.729e-05/0.4047, allocations: 35.75 kB / 1.294 GB, free: 9.332 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.172e-05/0.4048, allocations: 33.89 kB / 1.294 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.75e-06/0.4048, allocations: 4 kB / 1.294 GB, free: 9.297 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.4048, allocations: 4 kB / 1.294 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.487e-06/0.4048, allocations: 3.984 kB / 1.294 GB, free: 9.289 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003145/0.4051, allocations: 252.6 kB / 1.294 GB, free: 9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.4051, allocations: 3.938 kB / 1.294 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.928e-05/0.4052, allocations: 11.92 kB / 1.294 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.4052, allocations: 0 / 1.294 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.4052, allocations: 4 kB / 1.294 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.788e-06/0.4052, allocations: 4 kB / 1.294 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.4052, allocations: 0 / 1.294 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006153/0.4058, allocations: 442.4 kB / 1.295 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.312e-05/0.4059, allocations: 39.72 kB / 1.295 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.4059, allocations: 48 / 1.295 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.847e-05/0.406, allocations: 11.98 kB / 1.295 GB, free: 8.469 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.855e-05/0.4061, allocations: 19.97 kB / 1.295 GB, free: 8.449 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.602e-05/0.4061, allocations: 8 kB / 1.295 GB, free: 8.441 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003416/0.4064, allocations: 287 kB / 1.295 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.4064, allocations: 4 kB / 1.295 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004239/0.4068, allocations: 79.92 kB / 1.295 GB, free: 8.078 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: 18 ($whenCondition10,tabOneRow.y[1],tabOneRow.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,intTimTab1.y[1],intTimTab1.y[2],intTimTab1.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intTimTab.y[1],intTimTab.y[2],intTimTab.idx) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001096/0.4079, allocations: 1.01 MB / 1.296 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004789/0.4084, allocations: 251.7 kB / 1.296 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4084, allocations: 0 / 1.296 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.4086, allocations: 115.9 kB / 1.296 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.4089, allocations: 21.45 kB / 1.297 GB, free: 6.652 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004685/0.4136, allocations: 3.277 MB / 1.3 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.414, allocations: 0.7638 MB / 1.3 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001479/0.4142, allocations: 49.94 kB / 1.3 GB, free: 2.34 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/0.4143, allocations: 83.41 kB / 1.301 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of SimCode: time 7.11e-07/0.4143, allocations: 0 / 1.301 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.448, allocations: 7.85 MB / 1.308 GB, free: 10.66 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.95, allocations: 8.562 kB / 1.308 GB, free: 10.66 MB / 1.014 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.879229319049045] Failed to read output from testmodel.py, exit status != 0: 12.121244854992256 12.148090863 11.74803907 Calling exit ...