Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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.Integers.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Integers.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.801/1.801, allocations: 297.4 MB / 312.6 MB, free: 2.965 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.001591/0.001591, allocations: 190 kB / 382.3 MB, free: 14.84 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.47/1.47, allocations: 225.7 MB / 0.6617 GB, free: 7.152 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.0009731/0.000973, allocations: 95.89 kB / 0.7789 GB, free: 46.88 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.000382, allocations: 8 kB / 0.9059 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7934/0.7938, allocations: 119.2 MB / 1.022 GB, free: 57.88 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable): time 0.00112/0.7949, allocations: 405.7 kB / 1.023 GB, free: 57.71 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002174/0.7971, allocations: 1.626 MB / 1.024 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.684e-05/0.7972, allocations: 1.062 kB / 1.024 GB, free: 56.67 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005619/0.7978, allocations: 193.3 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001632/0.798, allocations: 101.8 kB / 1.025 GB, free: 56.62 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007329/0.7987, allocations: 205.6 kB / 1.025 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006217/0.7993, allocations: 447.2 kB / 1.025 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 6.549e-05/0.7994, allocations: 9.344 kB / 1.025 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000262/0.7997, allocations: 193.3 kB / 1.025 GB, free: 56.43 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.8, allocations: 202.5 kB / 1.026 GB, free: 56.4 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.152e-05/0.8001, allocations: 11.03 kB / 1.026 GB, free: 56.4 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002068/0.8003, allocations: 73.83 kB / 1.026 GB, free: 56.38 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002873/0.8006, allocations: 237.3 kB / 1.026 GB, free: 56.32 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001887/0.8008, allocations: 171.3 kB / 1.026 GB, free: 56.21 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005102/0.8013, allocations: 454.7 kB / 1.026 GB, free: 56.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.8013, allocations: 0 / 1.026 GB, free: 56.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.893e-06/0.8013, allocations: 2.375 kB / 1.026 GB, free: 56.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.8013, allocations: 0 / 1.026 GB, free: 56.1 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.0007591/0.8021, allocations: 0.5225 MB / 1.027 GB, free: 55.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.8022, allocations: 8.125 kB / 1.027 GB, free: 55.63 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001052/0.8023, allocations: 34.16 kB / 1.027 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004662/0.8027, allocations: 383.3 kB / 1.027 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.345e-05/0.8028, allocations: 12.59 kB / 1.027 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.728e-05/0.8029, allocations: 21.83 kB / 1.027 GB, free: 55.34 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002917/0.8032, allocations: 189.4 kB / 1.028 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.8032, allocations: 2.844 kB / 1.028 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.8032, allocations: 5.438 kB / 1.028 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.8032, allocations: 4.562 kB / 1.028 GB, free: 55.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001731/0.8034, allocations: 118.3 kB / 1.028 GB, free: 55.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.8038, allocations: 385 kB / 1.028 GB, free: 54.95 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/0.8043, allocations: 316.9 kB / 1.028 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001712/0.8044, allocations: 121.2 kB / 1.029 GB, free: 54.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.415e-06/0.8044, allocations: 7.984 kB / 1.029 GB, free: 54.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005862/0.805, allocations: 281 kB / 1.029 GB, free: 54.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=18): time 3.557e-06/0.8051, allocations: 1.125 kB / 1.029 GB, free: 54.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=18): time 0.001072/0.8061, allocations: 0.4971 MB / 1.029 GB, free: 54.49 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.78e-05/0.8062, allocations: 112.3 kB / 1.029 GB, free: 54.37 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005367/0.8068, allocations: 402.6 kB / 1.03 GB, free: 54.19 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.196e-05/0.8068, allocations: 40.42 kB / 1.03 GB, free: 54.15 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.807, allocations: 152.6 kB / 1.03 GB, free: 54.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.939e-05/0.8071, allocations: 35.06 kB / 1.03 GB, free: 54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.8071, allocations: 5.188 kB / 1.03 GB, free: 53.99 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001341/0.8072, allocations: 347.1 kB / 1.03 GB, free: 53.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.8074, allocations: 81.56 kB / 1.03 GB, free: 53.65 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006301/0.808, allocations: 466.3 kB / 1.031 GB, free: 53.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003562/0.8084, allocations: 252.7 kB / 1.031 GB, free: 53.08 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.219e-06/0.8084, allocations: 0.9062 kB / 1.031 GB, free: 53.08 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000508/0.8089, allocations: 329.8 kB / 1.031 GB, free: 52.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.287e-05/0.8089, allocations: 5.438 kB / 1.031 GB, free: 52.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.8089, allocations: 7.906 kB / 1.031 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/0.809, allocations: 5.75 kB / 1.031 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.8092, allocations: 33.83 kB / 1.031 GB, free: 52.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/0.8092, allocations: 10.45 kB / 1.031 GB, free: 52.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00071/0.8099, allocations: 88.12 kB / 1.032 GB, free: 52.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.81, allocations: 10.94 kB / 1.032 GB, free: 52.91 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.0002319/0.8102, allocations: 196.7 kB / 1.032 GB, free: 52.77 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.807e-05/0.8103, allocations: 34.67 kB / 1.032 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.366e-05/0.8103, allocations: 36.39 kB / 1.032 GB, free: 52.73 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.8103, allocations: 3.703 kB / 1.032 GB, free: 52.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.8104, allocations: 1.312 kB / 1.032 GB, free: 52.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.8104, allocations: 2.656 kB / 1.032 GB, free: 52.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002998/0.8107, allocations: 285.6 kB / 1.032 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.8107, allocations: 4 kB / 1.032 GB, free: 52.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-05/0.8107, allocations: 6.844 kB / 1.032 GB, free: 52.49 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.8107, allocations: 2.859 kB / 1.032 GB, free: 52.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/0.8107, allocations: 9.203 kB / 1.032 GB, free: 52.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.8108, allocations: 1.094 kB / 1.032 GB, free: 52.49 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8108, allocations: 1.281 kB / 1.032 GB, free: 52.49 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005696/0.8113, allocations: 431.2 kB / 1.033 GB, free: 52.31 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.784e-05/0.8114, allocations: 122.3 kB / 1.033 GB, free: 52.19 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.895e-05/0.8115, allocations: 7.234 kB / 1.033 GB, free: 52.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.776e-05/0.8116, allocations: 4.578 kB / 1.033 GB, free: 52.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.8117, allocations: 14.72 kB / 1.033 GB, free: 52.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.906e-05/0.8117, allocations: 12.28 kB / 1.033 GB, free: 52.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000332/0.8121, allocations: 290.5 kB / 1.033 GB, free: 52.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8121, allocations: 0 / 1.033 GB, free: 52.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004489/0.8125, allocations: 81.14 kB / 1.033 GB, free: 52.04 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.000284/0.8128, allocations: 153.2 kB / 1.033 GB, free: 51.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0004522/0.8133, allocations: 246.6 kB / 1.033 GB, free: 51.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8133, allocations: 0 / 1.033 GB, free: 51.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001901/0.8135, allocations: 145.3 kB / 1.034 GB, free: 51.83 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003072/0.8138, allocations: 45.5 kB / 1.034 GB, free: 51.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009474/0.8148, allocations: 0.6165 MB / 1.034 GB, free: 51.47 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002442/0.815, allocations: 0.7669 MB / 1.035 GB, free: 50.76 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001484/0.8152, allocations: 45.72 kB / 1.035 GB, free: 50.76 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.611e-05/0.8153, allocations: 30.78 kB / 1.035 GB, free: 50.75 MB / 0.698 GB Notification: Performance of SimCode: time 3.1e-07/0.8153, allocations: 4 kB / 1.035 GB, free: 50.74 MB / 0.698 GB Notification: Performance of Templates: time 0.009785/0.8251, allocations: 4.755 MB / 1.04 GB, free: 50.45 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.TimeTable.pipe 2>&1)