Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.0007122/0.0007122, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 13.93 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.001354/0.001354, allocations: 216.7 kB / 23.03 MB, free: 2.965 MB / 13.93 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 0.9906/0.9906, allocations: 230.6 MB / 256.8 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.965/1.965, allocations: 0.5045 GB / 0.8104 GB, free: 2.785 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009933/0.0009933, allocations: 73.94 kB / 1.177 GB, free: 15.48 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3437, allocations: 180 MB / 1.352 GB, free: 9.223 MB / 1.042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001669/0.3454, allocations: 0.6739 MB / 1.353 GB, free: 8.551 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.001923/0.3473, allocations: 1.342 MB / 1.354 GB, free: 7.195 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.739e-05/0.3474, allocations: 7.938 kB / 1.354 GB, free: 7.188 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 0.0006437/0.348, allocations: 191.6 kB / 1.355 GB, free: 7 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.3482, allocations: 103.7 kB / 1.355 GB, free: 6.898 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000929/0.3491, allocations: 238.9 kB / 1.355 GB, free: 6.668 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0004367/0.3495, allocations: 487.7 kB / 1.355 GB, free: 6.191 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/0.3496, allocations: 11.98 kB / 1.355 GB, free: 6.18 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001653/0.3498, allocations: 199.7 kB / 1.356 GB, free: 5.984 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.3501, allocations: 231.5 kB / 1.356 GB, free: 5.758 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 5.368e-05/0.3501, allocations: 20 kB / 1.356 GB, free: 5.738 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001934/0.3503, allocations: 95.91 kB / 1.356 GB, free: 5.645 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002608/0.3506, allocations: 275.4 kB / 1.356 GB, free: 5.375 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001138/0.3507, allocations: 131.4 kB / 1.356 GB, free: 5.246 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003855/0.3511, allocations: 482.8 kB / 1.357 GB, free: 4.773 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.3511, allocations: 4 kB / 1.357 GB, free: 4.77 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3511, allocations: 0 / 1.357 GB, free: 4.77 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3511, allocations: 4 kB / 1.357 GB, free: 4.766 MB / 1.042 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.0007251/0.3518, allocations: 0.5685 MB / 1.357 GB, free: 4.164 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.3519, allocations: 8.922 kB / 1.357 GB, free: 4.156 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.3519, allocations: 38.75 kB / 1.357 GB, free: 4.109 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.428e-05/0.352, allocations: 28.8 kB / 1.357 GB, free: 4.082 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.3524, allocations: 326.5 kB / 1.358 GB, free: 3.738 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.3524, allocations: 16.38 kB / 1.358 GB, free: 3.723 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.603e-05/0.3525, allocations: 28.36 kB / 1.358 GB, free: 3.695 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002622/0.3528, allocations: 184.7 kB / 1.358 GB, free: 3.5 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.3528, allocations: 7.875 kB / 1.358 GB, free: 3.492 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.3528, allocations: 0 / 1.358 GB, free: 3.492 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3528, allocations: 4 kB / 1.358 GB, free: 3.488 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002139/0.353, allocations: 107.9 kB / 1.358 GB, free: 3.383 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.3533, allocations: 298.3 kB / 1.358 GB, free: 3.043 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/0.3536, allocations: 311.7 kB / 1.359 GB, free: 2.711 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001208/0.3537, allocations: 122.5 kB / 1.359 GB, free: 2.582 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.795e-06/0.3537, allocations: 4 kB / 1.359 GB, free: 2.578 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000374/0.3541, allocations: 285.6 kB / 1.359 GB, free: 2.277 MB / 1.042 GB Notification: Performance of pre-optimization done (n=18): time 1.422e-06/0.3541, allocations: 0 / 1.359 GB, free: 2.277 MB / 1.042 GB Notification: Performance of matching and sorting (n=18): time 0.00061/0.3547, allocations: 0.4934 MB / 1.36 GB, free: 1.777 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.3548, allocations: 118.8 kB / 1.36 GB, free: 1.637 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.3551, allocations: 396.5 kB / 1.36 GB, free: 1.238 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.3551, allocations: 41.7 kB / 1.36 GB, free: 1.191 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 9.6e-05/0.3552, allocations: 156.8 kB / 1.36 GB, free: 1.035 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.3552, allocations: 39.7 kB / 1.36 GB, free: 0.9961 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.3554, allocations: 117.6 kB / 1.36 GB, free: 0.875 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.3555, allocations: 346.8 kB / 1.361 GB, free: 0.5273 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.3556, allocations: 83.89 kB / 1.361 GB, free: 456 kB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.3561, allocations: 1.093 MB / 1.362 GB, free: 15.07 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002136/0.3564, allocations: 253.5 kB / 1.362 GB, free: 14.78 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3564, allocations: 0 / 1.362 GB, free: 14.78 MB / 1.057 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003453/0.3567, allocations: 333.1 kB / 1.362 GB, free: 14.45 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3567, allocations: 7.938 kB / 1.362 GB, free: 14.44 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3567, allocations: 4 kB / 1.362 GB, free: 14.43 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.3567, allocations: 4 kB / 1.362 GB, free: 14.43 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.3569, allocations: 39.91 kB / 1.362 GB, free: 14.39 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.166e-06/0.3569, allocations: 8.344 kB / 1.362 GB, free: 14.38 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.3572, allocations: 67.95 kB / 1.363 GB, free: 14.32 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.3572, allocations: 12.62 kB / 1.363 GB, free: 14.3 MB / 1.057 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.0001596/0.3574, allocations: 195.1 kB / 1.363 GB, free: 14.11 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.192e-05/0.3574, allocations: 31.75 kB / 1.363 GB, free: 14.08 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.355e-05/0.3575, allocations: 33.89 kB / 1.363 GB, free: 14.05 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3575, allocations: 8 kB / 1.363 GB, free: 14.04 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.3575, allocations: 0 / 1.363 GB, free: 14.04 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3575, allocations: 3.984 kB / 1.363 GB, free: 14.04 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.3577, allocations: 232.6 kB / 1.363 GB, free: 13.77 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3577, allocations: 0 / 1.363 GB, free: 13.77 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.1e-05/0.3577, allocations: 7.938 kB / 1.363 GB, free: 13.76 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.3577, allocations: 3.938 kB / 1.363 GB, free: 13.75 MB / 1.057 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3577, allocations: 7.984 kB / 1.363 GB, free: 13.75 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.3577, allocations: 7.938 kB / 1.363 GB, free: 13.74 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/0.3577, allocations: 0 / 1.363 GB, free: 13.74 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003845/0.3581, allocations: 432.9 kB / 1.363 GB, free: 13.29 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 3.189e-05/0.3581, allocations: 43.66 kB / 1.363 GB, free: 13.25 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3581, allocations: 8 kB / 1.364 GB, free: 13.24 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.521e-05/0.3582, allocations: 0 / 1.364 GB, free: 13.24 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.3582, allocations: 23.91 kB / 1.364 GB, free: 13.22 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.255e-05/0.3582, allocations: 16 kB / 1.364 GB, free: 13.2 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.000205/0.3585, allocations: 295 kB / 1.364 GB, free: 12.91 MB / 1.057 GB Notification: Performance of sort global known variables: time 7e-08/0.3585, allocations: 0 / 1.364 GB, free: 12.91 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.0002671/0.3587, allocations: 79.92 kB / 1.364 GB, free: 12.84 MB / 1.057 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.0008297/0.3596, allocations: 0.9934 MB / 1.365 GB, free: 11.8 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.0003616/0.3599, allocations: 259.6 kB / 1.365 GB, free: 11.55 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3599, allocations: 0 / 1.365 GB, free: 11.55 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.36, allocations: 123.8 kB / 1.365 GB, free: 11.43 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.3603, allocations: 24.64 kB / 1.365 GB, free: 11.41 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.3631, allocations: 3.261 MB / 1.368 GB, free: 7.957 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001308/0.3632, allocations: 157 kB / 1.369 GB, free: 7.781 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0001378/0.3634, allocations: 49.94 kB / 1.369 GB, free: 7.734 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.3635, allocations: 83.41 kB / 1.369 GB, free: 7.652 MB / 1.057 GB Notification: Performance of SimCode: time 1.212e-06/0.3635, allocations: 0 / 1.369 GB, free: 7.652 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0887/0.4522, allocations: 8.651 MB / 1.377 GB, free: 15.28 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.475/7.927, allocations: 8.359 kB / 1.377 GB, free: 15.27 MB / 1.073 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_fmpy_res.csv --start-time 0 --stop-time 15 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.006 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_TimeTable.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.284013535827398]