Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.932/1.932, allocations: 306.1 MB / 321.4 MB, free: 10.72 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001012, allocations: 187.1 kB / 393.1 MB, free: 4.07 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.508/1.508, allocations: 225.7 MB / 0.6743 GB, free: 12.6 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008512/0.0008513, allocations: 96.91 kB / 0.7935 GB, free: 40.14 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0006188/0.0006189, allocations: 12 kB / 0.9225 GB, free: 8.617 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.7595, allocations: 121.3 MB / 1.041 GB, free: 58.91 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.001187/0.7608, allocations: 400.2 kB / 1.041 GB, free: 58.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002172/0.763, allocations: 1.618 MB / 1.043 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.699e-05/0.763, allocations: 1.156 kB / 1.043 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005507/0.7636, allocations: 198.4 kB / 1.043 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001315/0.7637, allocations: 105.9 kB / 1.043 GB, free: 57.36 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006312/0.7644, allocations: 208.5 kB / 1.043 GB, free: 57.27 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0005265/0.7649, allocations: 446.8 kB / 1.044 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 5.43e-05/0.765, allocations: 12.25 kB / 1.044 GB, free: 57.14 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002076/0.7652, allocations: 190.8 kB / 1.044 GB, free: 57.1 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003167/0.7655, allocations: 198 kB / 1.044 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.409e-05/0.7656, allocations: 9.469 kB / 1.044 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00024/0.7659, allocations: 79.03 kB / 1.044 GB, free: 57.03 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003889/0.7663, allocations: 238.2 kB / 1.044 GB, free: 56.97 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002318/0.7665, allocations: 171 kB / 1.045 GB, free: 56.87 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006358/0.7671, allocations: 452.7 kB / 1.045 GB, free: 56.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.493e-06/0.7672, allocations: 0 / 1.045 GB, free: 56.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7672, allocations: 0 / 1.045 GB, free: 56.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.7672, allocations: 2.5 kB / 1.045 GB, free: 56.76 MB / 0.698 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.000808/0.768, allocations: 0.5208 MB / 1.046 GB, free: 56.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.7681, allocations: 9.469 kB / 1.046 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.7682, allocations: 36.59 kB / 1.046 GB, free: 56.28 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005344/0.7687, allocations: 379.7 kB / 1.046 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.307e-05/0.7687, allocations: 14.02 kB / 1.046 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.174e-05/0.7688, allocations: 23.61 kB / 1.046 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.7692, allocations: 196.6 kB / 1.046 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.7692, allocations: 0 / 1.046 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.7692, allocations: 0 / 1.046 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/0.7692, allocations: 1.062 kB / 1.046 GB, free: 55.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001857/0.7694, allocations: 114.6 kB / 1.046 GB, free: 55.89 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004579/0.7699, allocations: 386.1 kB / 1.047 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004537/0.7703, allocations: 315.8 kB / 1.047 GB, free: 55.48 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001787/0.7705, allocations: 124.8 kB / 1.047 GB, free: 55.44 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.491e-05/0.7705, allocations: 2.25 kB / 1.047 GB, free: 55.44 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000473/0.771, allocations: 292.6 kB / 1.047 GB, free: 55.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 1.382e-06/0.771, allocations: 3.938 kB / 1.047 GB, free: 55.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.0008426/0.7719, allocations: 0.489 MB / 1.048 GB, free: 55.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.856e-05/0.772, allocations: 119.5 kB / 1.048 GB, free: 55.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004535/0.7724, allocations: 394 kB / 1.048 GB, free: 54.85 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.035e-05/0.7725, allocations: 47.22 kB / 1.048 GB, free: 54.81 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001289/0.7726, allocations: 147 kB / 1.049 GB, free: 54.69 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.324e-05/0.7727, allocations: 40.95 kB / 1.049 GB, free: 54.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.366e-05/0.7727, allocations: 7.438 kB / 1.049 GB, free: 54.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.413e-05/0.7728, allocations: 339.7 kB / 1.049 GB, free: 54.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.7729, allocations: 86.36 kB / 1.049 GB, free: 54.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004729/0.7734, allocations: 465.7 kB / 1.049 GB, free: 53.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.7737, allocations: 247.4 kB / 1.05 GB, free: 53.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-06/0.7737, allocations: 5 kB / 1.05 GB, free: 53.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005525/0.7742, allocations: 329.5 kB / 1.05 GB, free: 53.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.7743, allocations: 8.75 kB / 1.05 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.7743, allocations: 3.906 kB / 1.05 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.445e-05/0.7743, allocations: 6.656 kB / 1.05 GB, free: 53.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001708/0.7745, allocations: 32.5 kB / 1.05 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/0.7745, allocations: 7.5 kB / 1.05 GB, free: 53.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006773/0.7752, allocations: 82.58 kB / 1.05 GB, free: 53.58 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.7752, allocations: 15.84 kB / 1.05 GB, free: 53.57 MB / 0.698 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 ($PRE.tabOneRow.y[1],tabOneRow.y[1],$PRE.tabOneRow.idx,tabOneRow.idx,$whenCondition10,$PRE.intTimTab1.y[1],intTimTab1.y[1],$PRE.intTimTab1.y[2],intTimTab1.y[2],$PRE.intTimTab1.idx,intTimTab1.idx,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$PRE.intTimTab.y[1],intTimTab.y[1],$PRE.intTimTab.y[2],intTimTab.y[2],$PRE.intTimTab.idx,intTimTab.idx,$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.0002241/0.7755, allocations: 197.6 kB / 1.05 GB, free: 53.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.025e-05/0.7755, allocations: 35.23 kB / 1.05 GB, free: 53.41 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.729e-05/0.7756, allocations: 35.88 kB / 1.05 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.7756, allocations: 2.5 kB / 1.05 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.7756, allocations: 1.5 kB / 1.05 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.7756, allocations: 1.188 kB / 1.05 GB, free: 53.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003256/0.776, allocations: 287.3 kB / 1.051 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.776, allocations: 0 / 1.051 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.614e-05/0.776, allocations: 4.797 kB / 1.051 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.776, allocations: 4.906 kB / 1.051 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.877e-05/0.776, allocations: 7.75 kB / 1.051 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.776, allocations: 3.625 kB / 1.051 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.7761, allocations: 0 / 1.051 GB, free: 53.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006201/0.7767, allocations: 436.1 kB / 1.051 GB, free: 52.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.541e-05/0.7768, allocations: 118 kB / 1.051 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.7768, allocations: 4.016 kB / 1.051 GB, free: 52.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.935e-05/0.7769, allocations: 8 kB / 1.051 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.777, allocations: 18.34 kB / 1.051 GB, free: 52.85 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.777, allocations: 11.34 kB / 1.051 GB, free: 52.85 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003676/0.7774, allocations: 286.1 kB / 1.052 GB, free: 52.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7774, allocations: 0 / 1.052 GB, free: 52.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004052/0.7778, allocations: 79.05 kB / 1.052 GB, free: 52.71 MB / 0.698 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.0003065/0.7781, allocations: 146.2 kB / 1.052 GB, free: 52.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004779/0.7786, allocations: 257.6 kB / 1.052 GB, free: 52.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.7786, allocations: 3.938 kB / 1.052 GB, free: 52.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.7788, allocations: 142.6 kB / 1.052 GB, free: 52.49 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002795/0.7791, allocations: 37.34 kB / 1.052 GB, free: 52.47 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009413/0.7801, allocations: 0.6102 MB / 1.053 GB, free: 52.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.7804, allocations: 0.7708 MB / 1.054 GB, free: 51.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.7805, allocations: 45.22 kB / 1.054 GB, free: 51.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.682e-05/0.7806, allocations: 26.89 kB / 1.054 GB, free: 51.43 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.7806, allocations: 3.938 kB / 1.054 GB, free: 51.43 MB / 0.698 GB Notification: Performance of Templates: time 0.009336/0.7899, allocations: 4.773 MB / 1.058 GB, free: 51.11 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)