Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.736/1.736, allocations: 297.4 MB / 312.6 MB, free: 2.918 MB / 234.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.001087/0.001087, allocations: 186 kB / 382.3 MB, free: 14.83 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.573/1.573, allocations: 225.7 MB / 0.6617 GB, free: 7.191 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008084/0.0008085, allocations: 100 kB / 0.7789 GB, free: 46.89 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003674, allocations: 12 kB / 0.9059 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6679/0.6683, allocations: 119.2 MB / 1.022 GB, free: 58.17 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable): time 0.0011/0.6695, allocations: 0.5547 MB / 1.023 GB, free: 57.94 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.6715, allocations: 1.739 MB / 1.025 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.719e-05/0.6715, allocations: 3.344 kB / 1.025 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005103/0.6721, allocations: 195.9 kB / 1.025 GB, free: 56.78 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.000159/0.6722, allocations: 110.6 kB / 1.025 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009454/0.6732, allocations: 344.9 kB / 1.025 GB, free: 56.61 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0008176/0.674, allocations: 0.7576 MB / 1.026 GB, free: 56.37 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001979/0.6742, allocations: 92.22 kB / 1.026 GB, free: 56.34 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003135/0.6745, allocations: 303.6 kB / 1.026 GB, free: 56.27 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.6748, allocations: 231.5 kB / 1.026 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.6749, allocations: 16.75 kB / 1.027 GB, free: 56.22 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.6752, allocations: 79.02 kB / 1.027 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003686/0.6756, allocations: 294.9 kB / 1.027 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003068/0.6759, allocations: 265.2 kB / 1.027 GB, free: 55.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008248/0.6767, allocations: 0.8618 MB / 1.028 GB, free: 55.76 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6767, allocations: 0 / 1.028 GB, free: 55.76 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6768, allocations: 2.062 kB / 1.028 GB, free: 55.76 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.6768, allocations: 0 / 1.028 GB, free: 55.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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001098/0.6779, allocations: 0.6962 MB / 1.029 GB, free: 55.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.6779, allocations: 10.78 kB / 1.029 GB, free: 55.21 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001517/0.6781, allocations: 55.08 kB / 1.029 GB, free: 55.18 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007391/0.6788, allocations: 0.5462 MB / 1.029 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.6789, allocations: 19.89 kB / 1.029 GB, free: 54.84 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.679, allocations: 43.08 kB / 1.029 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004023/0.6794, allocations: 308.4 kB / 1.03 GB, free: 54.69 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.6794, allocations: 192 / 1.03 GB, free: 54.69 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.6794, allocations: 11.83 kB / 1.03 GB, free: 54.68 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.6794, allocations: 2.75 kB / 1.03 GB, free: 54.68 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003441/0.6798, allocations: 224.6 kB / 1.03 GB, free: 54.61 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00161/0.6814, allocations: 1.188 MB / 1.031 GB, free: 53.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005352/0.682, allocations: 462.4 kB / 1.031 GB, free: 53.73 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.6822, allocations: 181.8 kB / 1.032 GB, free: 53.65 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.858e-06/0.6822, allocations: 7.375 kB / 1.032 GB, free: 53.65 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004104/0.6826, allocations: 336.4 kB / 1.032 GB, free: 53.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=24): time 1.754e-06/0.6826, allocations: 0.7188 kB / 1.032 GB, free: 53.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=24): time 0.0008796/0.6835, allocations: 0.6211 MB / 1.033 GB, free: 53.29 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.6836, allocations: 119.1 kB / 1.033 GB, free: 53.16 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006367/0.6842, allocations: 0.5898 MB / 1.033 GB, free: 52.93 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.085e-05/0.6843, allocations: 45.84 kB / 1.033 GB, free: 52.89 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.6845, allocations: 226.5 kB / 1.033 GB, free: 52.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.6845, allocations: 54 kB / 1.034 GB, free: 52.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/0.6846, allocations: 5.938 kB / 1.034 GB, free: 52.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.279e-05/0.6846, allocations: 358.5 kB / 1.034 GB, free: 52.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001587/0.6848, allocations: 128.5 kB / 1.034 GB, free: 52.29 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006172/0.6854, allocations: 0.7195 MB / 1.035 GB, free: 51.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.6857, allocations: 294.1 kB / 1.035 GB, free: 51.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6857, allocations: 1.656 kB / 1.035 GB, free: 51.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0005192/0.6863, allocations: 417.3 kB / 1.035 GB, free: 51.36 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.6863, allocations: 10.12 kB / 1.035 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6863, allocations: 4.531 kB / 1.035 GB, free: 51.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.795e-05/0.6863, allocations: 10.25 kB / 1.035 GB, free: 51.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001648/0.6865, allocations: 40.67 kB / 1.035 GB, free: 51.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.6865, allocations: 8.438 kB / 1.035 GB, free: 51.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.6876, allocations: 139.9 kB / 1.036 GB, free: 51.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.736e-05/0.6876, allocations: 15.69 kB / 1.036 GB, free: 51.3 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.0003/0.688, allocations: 254.2 kB / 1.036 GB, free: 51.14 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.688, allocations: 37.25 kB / 1.036 GB, free: 51.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.551e-05/0.6881, allocations: 57.16 kB / 1.036 GB, free: 51.1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.6881, allocations: 5.469 kB / 1.036 GB, free: 51.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6881, allocations: 0 / 1.036 GB, free: 51.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.6881, allocations: 7 kB / 1.036 GB, free: 51.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.6884, allocations: 412.4 kB / 1.036 GB, free: 50.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6885, allocations: 2.625 kB / 1.036 GB, free: 50.82 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.364e-05/0.6885, allocations: 8.578 kB / 1.036 GB, free: 50.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.6885, allocations: 3.984 kB / 1.036 GB, free: 50.81 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.6885, allocations: 12.78 kB / 1.036 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.6885, allocations: 2.344 kB / 1.036 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6885, allocations: 0 / 1.036 GB, free: 50.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006112/0.6891, allocations: 0.5119 MB / 1.037 GB, free: 50.58 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001116/0.6893, allocations: 139.4 kB / 1.037 GB, free: 50.46 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.957e-05/0.6893, allocations: 13.23 kB / 1.037 GB, free: 50.45 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001429/0.6895, allocations: 13.92 kB / 1.037 GB, free: 50.45 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.6896, allocations: 33.44 kB / 1.037 GB, free: 50.44 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.6896, allocations: 9.609 kB / 1.037 GB, free: 50.44 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004538/0.69, allocations: 431 kB / 1.037 GB, free: 50.26 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/0.6901, allocations: 5.312 kB / 1.037 GB, free: 50.26 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004294/0.6905, allocations: 111.2 kB / 1.038 GB, free: 50.24 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.000251/0.6908, allocations: 158.1 kB / 1.038 GB, free: 50.13 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000541/0.6913, allocations: 347 kB / 1.038 GB, free: 50.04 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.6913, allocations: 4.25 kB / 1.038 GB, free: 50.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.6916, allocations: 190.5 kB / 1.038 GB, free: 49.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003352/0.6919, allocations: 42.72 kB / 1.038 GB, free: 49.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.6931, allocations: 0.9255 MB / 1.039 GB, free: 49.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.6934, allocations: 0.8331 MB / 1.04 GB, free: 48.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002583/0.6937, allocations: 96 kB / 1.04 GB, free: 48.71 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.654e-05/0.6938, allocations: 36.16 kB / 1.04 GB, free: 48.7 MB / 0.698 GB Notification: Performance of SimCode: time 7.42e-07/0.6938, allocations: 0 / 1.04 GB, free: 48.7 MB / 0.698 GB Notification: Performance of Templates: time 0.01253/0.7063, allocations: 7.592 MB / 1.048 GB, free: 48.25 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.TimeTable.pipe 2>&1)