Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.903/1.903, allocations: 306.1 MB / 321.4 MB, free: 10.74 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.001007/0.001007, allocations: 179.5 kB / 393.1 MB, free: 4.082 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.657/1.657, allocations: 225.7 MB / 0.6743 GB, free: 12.61 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.0008116/0.0008116, allocations: 100 kB / 0.7935 GB, free: 40.19 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000413/0.000413, allocations: 9.656 kB / 0.9224 GB, free: 8.645 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.748/0.7484, allocations: 121.3 MB / 1.041 GB, free: 59.24 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.001114/0.7496, allocations: 0.5598 MB / 1.041 GB, free: 58.95 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002057/0.7517, allocations: 1.728 MB / 1.043 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.726e-05/0.7518, allocations: 6.188 kB / 1.043 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005202/0.7523, allocations: 196.3 kB / 1.043 GB, free: 57.51 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001396/0.7525, allocations: 111.8 kB / 1.043 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009635/0.7534, allocations: 327.8 kB / 1.044 GB, free: 57.33 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001105/0.7545, allocations: 0.7681 MB / 1.044 GB, free: 57.08 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000262/0.7548, allocations: 93.47 kB / 1.045 GB, free: 57.06 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004556/0.7553, allocations: 306.8 kB / 1.045 GB, free: 56.98 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004005/0.7557, allocations: 231.4 kB / 1.045 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001093/0.7558, allocations: 14.88 kB / 1.045 GB, free: 56.93 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002749/0.7561, allocations: 76.27 kB / 1.045 GB, free: 56.91 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004714/0.7566, allocations: 301.3 kB / 1.045 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003877/0.757, allocations: 263.9 kB / 1.046 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.758, allocations: 0.8649 MB / 1.047 GB, free: 56.47 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.7581, allocations: 0.8438 kB / 1.047 GB, free: 56.47 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7581, allocations: 0 / 1.047 GB, free: 56.47 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.7581, allocations: 2.062 kB / 1.047 GB, free: 56.47 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001257/0.7593, allocations: 0.696 MB / 1.047 GB, free: 55.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7594, allocations: 9.875 kB / 1.047 GB, free: 55.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.7595, allocations: 55.64 kB / 1.047 GB, free: 55.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007818/0.7603, allocations: 0.5447 MB / 1.048 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.7604, allocations: 18.86 kB / 1.048 GB, free: 55.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/0.7605, allocations: 39.5 kB / 1.048 GB, free: 55.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004813/0.761, allocations: 311.4 kB / 1.048 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.761, allocations: 0 / 1.048 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.745e-05/0.7611, allocations: 6.656 kB / 1.048 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.7611, allocations: 5.5 kB / 1.048 GB, free: 55.41 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.7614, allocations: 219.9 kB / 1.048 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.7633, allocations: 1.187 MB / 1.05 GB, free: 54.66 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/0.7639, allocations: 467.1 kB / 1.05 GB, free: 54.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002193/0.7642, allocations: 185.9 kB / 1.05 GB, free: 54.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.7642, allocations: 0 / 1.05 GB, free: 54.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004424/0.7646, allocations: 328.9 kB / 1.051 GB, free: 54.23 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.7646, allocations: 5.594 kB / 1.051 GB, free: 54.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.0009393/0.7656, allocations: 0.6245 MB / 1.051 GB, free: 54.01 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/0.7657, allocations: 113.7 kB / 1.051 GB, free: 53.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007376/0.7664, allocations: 0.5955 MB / 1.052 GB, free: 53.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.684e-05/0.7665, allocations: 40.61 kB / 1.052 GB, free: 53.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.7667, allocations: 227.8 kB / 1.052 GB, free: 53.42 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.7668, allocations: 52.39 kB / 1.052 GB, free: 53.38 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/0.7668, allocations: 14.75 kB / 1.052 GB, free: 53.37 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.7669, allocations: 353.9 kB / 1.052 GB, free: 53.04 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.7671, allocations: 126 kB / 1.053 GB, free: 53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000815/0.7679, allocations: 0.7194 MB / 1.053 GB, free: 52.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003257/0.7683, allocations: 294.1 kB / 1.054 GB, free: 52.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.7683, allocations: 1.031 kB / 1.054 GB, free: 52.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005634/0.7689, allocations: 421.3 kB / 1.054 GB, free: 52.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.7689, allocations: 16.88 kB / 1.054 GB, free: 52.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.7689, allocations: 0.7031 kB / 1.054 GB, free: 52.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.7689, allocations: 5.906 kB / 1.054 GB, free: 52.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.7691, allocations: 31.67 kB / 1.054 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.7691, allocations: 8.656 kB / 1.054 GB, free: 52.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.7703, allocations: 143.1 kB / 1.054 GB, free: 52.02 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.7703, allocations: 12.88 kB / 1.054 GB, free: 52.02 MB / 0.698 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.y[1],booTimTab.y[2],$PRE.booTimTab.intTimTab.y[1],booTimTab.intTimTab.y[1],$PRE.booTimTab.intTimTab.y[2],booTimTab.intTimTab.y[2],$PRE.booTimTab.intTimTab.idx,booTimTab.intTimTab.idx,$whenCondition5,booTimTabOneRow.y[1],booTimTabOneRow.y[2],$PRE.booTimTabOneRow.intTimTab.y[1],booTimTabOneRow.intTimTab.y[1],$PRE.booTimTabOneRow.intTimTab.y[2],booTimTabOneRow.intTimTab.y[2],$PRE.booTimTabOneRow.intTimTab.idx,booTimTabOneRow.intTimTab.idx,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booTimTabTwi.y[1],booTimTabTwi.y[2],$PRE.booTimTabTwi.intTimTab.y[1],booTimTabTwi.intTimTab.y[1],$PRE.booTimTabTwi.intTimTab.y[2],booTimTabTwi.intTimTab.y[2],$PRE.booTimTabTwi.intTimTab.idx,booTimTabTwi.intTimTab.idx) * 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.0002823/0.7706, allocations: 253.3 kB / 1.054 GB, free: 51.86 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.858e-05/0.7706, allocations: 45.91 kB / 1.054 GB, free: 51.84 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.529e-05/0.7707, allocations: 53.59 kB / 1.055 GB, free: 51.81 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.7707, allocations: 4.5 kB / 1.055 GB, free: 51.81 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.368e-06/0.7708, allocations: 0 / 1.055 GB, free: 51.81 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.7708, allocations: 3.938 kB / 1.055 GB, free: 51.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004108/0.7712, allocations: 415.8 kB / 1.055 GB, free: 51.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.7712, allocations: 0 / 1.055 GB, free: 51.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.497e-05/0.7713, allocations: 8.812 kB / 1.055 GB, free: 51.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.7713, allocations: 5.25 kB / 1.055 GB, free: 51.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/0.7713, allocations: 9.281 kB / 1.055 GB, free: 51.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.7713, allocations: 2.312 kB / 1.055 GB, free: 51.52 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.7713, allocations: 4.75 kB / 1.055 GB, free: 51.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000619/0.7719, allocations: 0.5097 MB / 1.055 GB, free: 51.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.7721, allocations: 143.6 kB / 1.056 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.818e-05/0.7721, allocations: 5.203 kB / 1.056 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001409/0.7723, allocations: 18.42 kB / 1.056 GB, free: 51.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/0.7723, allocations: 34.2 kB / 1.056 GB, free: 51.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.409e-05/0.7724, allocations: 16.7 kB / 1.056 GB, free: 51.14 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004686/0.7729, allocations: 431.1 kB / 1.056 GB, free: 50.97 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7729, allocations: 0 / 1.056 GB, free: 50.97 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004431/0.7733, allocations: 110.5 kB / 1.056 GB, free: 50.95 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: 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.0002365/0.7736, allocations: 152.6 kB / 1.056 GB, free: 50.85 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004965/0.7741, allocations: 358 kB / 1.057 GB, free: 50.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.7741, allocations: 0 / 1.057 GB, free: 50.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002297/0.7743, allocations: 191.9 kB / 1.057 GB, free: 50.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.7746, allocations: 38.38 kB / 1.057 GB, free: 50.66 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.7758, allocations: 0.9276 MB / 1.058 GB, free: 50.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.7761, allocations: 0.8337 MB / 1.059 GB, free: 49.44 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000235/0.7764, allocations: 98.61 kB / 1.059 GB, free: 49.43 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.158e-05/0.7765, allocations: 35.27 kB / 1.059 GB, free: 49.42 MB / 0.698 GB Notification: Performance of SimCode: time 3.41e-07/0.7765, allocations: 0 / 1.059 GB, free: 49.42 MB / 0.698 GB Notification: Performance of Templates: time 0.01184/0.7883, allocations: 7.585 MB / 1.066 GB, free: 48.96 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)