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.001477/0.001477, allocations: 80.55 kB / 19.96 MB, free: 4.605 MB / 18.57 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.000998/0.000998, allocations: 173.2 kB / 23.24 MB, free: 1.328 MB / 18.57 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.9696/0.9696, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.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.916/1.916, allocations: 389.6 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.465e-06/2.465e-06, allocations: 0 / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.259e-05, allocations: 6.281 kB / 1.001 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001433/0.001456, allocations: 0.6647 MB / 1.001 GB, free: 12.85 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001418/0.002873, allocations: 1.346 MB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.682e-05/0.00294, allocations: 7.938 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0003999/0.00334, allocations: 187.5 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.772e-05/0.003418, allocations: 107.6 kB / 1.003 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005565/0.003974, allocations: 241.5 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.000405/0.004379, allocations: 487.8 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.004421, allocations: 7.938 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002383/0.004659, allocations: 255.6 kB / 1.004 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003031/0.004962, allocations: 219.6 kB / 1.004 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.54e-05/0.005027, allocations: 20 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.005219, allocations: 99.78 kB / 1.004 GB, free: 9.895 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000247/0.005466, allocations: 275.4 kB / 1.004 GB, free: 9.625 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.005647, allocations: 111.8 kB / 1.005 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004888/0.006136, allocations: 0.5221 MB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.00614, allocations: 4 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.874e-06/0.006142, allocations: 4 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.006147, allocations: 0 / 1.005 GB, free: 8.984 MB / 0.9636 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.0007148/0.006862, allocations: 0.5708 MB / 1.006 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.006902, allocations: 9.344 kB / 1.006 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.019e-05/0.006943, allocations: 38.73 kB / 1.006 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.979e-05/0.007032, allocations: 36.75 kB / 1.006 GB, free: 8.289 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003579/0.00739, allocations: 325.7 kB / 1.006 GB, free: 7.941 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.007407, allocations: 20.36 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.007446, allocations: 20.38 kB / 1.006 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.00767, allocations: 188.6 kB / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.007678, allocations: 192 / 1.006 GB, free: 7.703 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.007692, allocations: 8.359 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.007697, allocations: 4.125 kB / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.007821, allocations: 111.9 kB / 1.006 GB, free: 7.582 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002633/0.008084, allocations: 282.4 kB / 1.007 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.00842, allocations: 315.6 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.008541, allocations: 122.6 kB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.021e-06/0.008547, allocations: 8 kB / 1.007 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003563/0.008903, allocations: 287.8 kB / 1.007 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=18): time 1.022e-06/0.008905, allocations: 0 / 1.007 GB, free: 6.484 MB / 0.9636 GB Notification: Performance of matching and sorting (n=18): time 0.0006022/0.009507, allocations: 0.4972 MB / 1.008 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.466e-05/0.009571, allocations: 114.7 kB / 1.008 GB, free: 5.844 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003149/0.009886, allocations: 400.5 kB / 1.008 GB, free: 5.445 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.009928, allocations: 41.7 kB / 1.008 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 9.328e-05/0.01002, allocations: 160.7 kB / 1.009 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.162e-05/0.01005, allocations: 35.8 kB / 1.009 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001044/0.01016, allocations: 113.6 kB / 1.009 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.228e-05/0.01025, allocations: 342.8 kB / 1.009 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.839e-05/0.01034, allocations: 87.95 kB / 1.009 GB, free: 4.652 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005123/0.01085, allocations: 1.087 MB / 1.01 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002062/0.01106, allocations: 253.5 kB / 1.01 GB, free: 2.988 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.01106, allocations: 0 / 1.01 GB, free: 2.988 MB / 0.9636 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003435/0.0114, allocations: 337 kB / 1.011 GB, free: 2.652 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.01142, allocations: 8 kB / 1.011 GB, free: 2.645 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.01143, allocations: 4 kB / 1.011 GB, free: 2.641 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.01144, allocations: 7.938 kB / 1.011 GB, free: 2.633 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.01157, allocations: 27.92 kB / 1.011 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.01158, allocations: 4 kB / 1.011 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003832/0.01196, allocations: 79.67 kB / 1.011 GB, free: 2.527 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.715e-05/0.01198, allocations: 15.98 kB / 1.011 GB, free: 2.512 MB / 0.9636 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.0001593/0.01214, allocations: 198.2 kB / 1.011 GB, free: 2.312 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.562e-05/0.01217, allocations: 35.81 kB / 1.011 GB, free: 2.277 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.199e-05/0.01222, allocations: 33.95 kB / 1.011 GB, free: 2.242 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.01222, allocations: 3.938 kB / 1.011 GB, free: 2.238 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.01223, allocations: 7.938 kB / 1.011 GB, free: 2.23 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.01223, allocations: 8 kB / 1.011 GB, free: 2.223 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004554/0.01269, allocations: 228.6 kB / 1.011 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.01269, allocations: 7.984 kB / 1.011 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.237e-06/0.0127, allocations: 0 / 1.011 GB, free: 1.949 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.01271, allocations: 4 kB / 1.011 GB, free: 1.945 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.01272, allocations: 8 kB / 1.011 GB, free: 1.938 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01272, allocations: 3.938 kB / 1.011 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01272, allocations: 0 / 1.011 GB, free: 1.934 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.0131, allocations: 430.4 kB / 1.012 GB, free: 1.488 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.936e-05/0.01313, allocations: 27.8 kB / 1.012 GB, free: 1.461 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.01316, allocations: 8 kB / 1.012 GB, free: 1.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.883e-05/0.01322, allocations: 11.92 kB / 1.012 GB, free: 1.441 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.01326, allocations: 15.98 kB / 1.012 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.051e-05/0.01328, allocations: 11.98 kB / 1.012 GB, free: 1.414 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002042/0.01348, allocations: 295 kB / 1.012 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.01348, allocations: 0 / 1.012 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002779/0.01376, allocations: 75.88 kB / 1.012 GB, free: 1.055 MB / 0.9636 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.0006731/0.01443, allocations: 0.9955 MB / 1.013 GB, free: 28 kB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000328/0.01476, allocations: 260.2 kB / 1.013 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.01476, allocations: 0 / 1.013 GB, free: 15.77 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.01488, allocations: 119.9 kB / 1.014 GB, free: 15.66 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002037/0.01509, allocations: 24.95 kB / 1.014 GB, free: 15.63 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.01782, allocations: 3.262 MB / 1.017 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.01794, allocations: 149.2 kB / 1.017 GB, free: 12.01 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 9.905e-05/0.01804, allocations: 58.05 kB / 1.017 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.01815, allocations: 84.47 kB / 1.017 GB, free: 11.88 MB / 0.9792 GB Notification: Performance of SimCode: time 1.202e-06/0.01815, allocations: 0 / 1.017 GB, free: 11.88 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08785/0.106, allocations: 8.744 MB / 1.026 GB, free: 3.402 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.193/7.299, allocations: 11.92 kB / 1.026 GB, free: 3.391 MB / 0.9792 GB " [Timeout remaining time 293] (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: 11.998606245033443]