Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.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.706/1.706, allocations: 297.4 MB / 312.6 MB, free: 2.938 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.001077/0.001077, allocations: 178 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.641/1.641, allocations: 225.7 MB / 0.6617 GB, free: 7.211 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.0008428/0.0008427, allocations: 92.38 kB / 0.7789 GB, free: 47.07 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003872/0.0003873, allocations: 10 kB / 0.9059 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7011/0.7015, allocations: 119.2 MB / 1.022 GB, free: 58.43 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.003007/0.7046, allocations: 2.078 MB / 1.024 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002543/0.7072, allocations: 1.643 MB / 1.026 GB, free: 56.2 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.7074, allocations: 12.62 kB / 1.026 GB, free: 56.19 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007098/0.7081, allocations: 308.4 kB / 1.026 GB, free: 56.12 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0005422/0.7087, allocations: 303.5 kB / 1.027 GB, free: 55.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009829/0.7097, allocations: 407.8 kB / 1.027 GB, free: 55.78 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0006457/0.7103, allocations: 0.6614 MB / 1.028 GB, free: 55.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001971/0.7105, allocations: 76.09 kB / 1.028 GB, free: 55.47 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.7108, allocations: 283.6 kB / 1.028 GB, free: 55.36 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003179/0.7112, allocations: 304.4 kB / 1.028 GB, free: 55.26 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 4.892e-05/0.7112, allocations: 14.97 kB / 1.028 GB, free: 55.26 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.7114, allocations: 56.02 kB / 1.028 GB, free: 55.25 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.7116, allocations: 173.8 kB / 1.028 GB, free: 55.2 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002088/0.7118, allocations: 278.2 kB / 1.029 GB, free: 54.99 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0006949/0.7125, allocations: 0.708 MB / 1.029 GB, free: 54.75 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.7126, allocations: 1.188 kB / 1.029 GB, free: 54.75 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.264e-06/0.7126, allocations: 0 / 1.029 GB, free: 54.75 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.7126, allocations: 5.719 kB / 1.029 GB, free: 54.75 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001243/0.7138, allocations: 0.8957 MB / 1.03 GB, free: 54.05 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.7139, allocations: 8.969 kB / 1.03 GB, free: 54.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.714, allocations: 74.81 kB / 1.03 GB, free: 54.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007946/0.7148, allocations: 0.6189 MB / 1.031 GB, free: 53.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.113e-05/0.7148, allocations: 13.78 kB / 1.031 GB, free: 53.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.509e-05/0.7149, allocations: 16.91 kB / 1.031 GB, free: 53.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003691/0.7153, allocations: 202.9 kB / 1.031 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.7153, allocations: 0 / 1.031 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.188e-05/0.7153, allocations: 7.5 kB / 1.031 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.7153, allocations: 5.562 kB / 1.031 GB, free: 53.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.7156, allocations: 100.4 kB / 1.031 GB, free: 53.44 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.7167, allocations: 1.062 MB / 1.032 GB, free: 52.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005305/0.7173, allocations: 276.4 kB / 1.033 GB, free: 52.49 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001918/0.7175, allocations: 102.7 kB / 1.033 GB, free: 52.42 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.168e-05/0.7175, allocations: 8.531 kB / 1.033 GB, free: 52.42 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003893/0.7179, allocations: 224.6 kB / 1.033 GB, free: 52.28 MB / 0.698 GB Notification: Performance of pre-optimization done (n=25): time 1.603e-06/0.7179, allocations: 0 / 1.033 GB, free: 52.28 MB / 0.698 GB Notification: Performance of matching and sorting (n=25): time 0.0008946/0.7188, allocations: 418 kB / 1.033 GB, free: 52.12 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.719, allocations: 170.8 kB / 1.033 GB, free: 51.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.7202, allocations: 1.022 MB / 1.034 GB, free: 51.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.7203, allocations: 38.2 kB / 1.035 GB, free: 51.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.7205, allocations: 289.5 kB / 1.035 GB, free: 51.27 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.7205, allocations: 78.77 kB / 1.035 GB, free: 51.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.307e-05/0.7205, allocations: 12.12 kB / 1.035 GB, free: 51.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.26e-05/0.7206, allocations: 326 kB / 1.035 GB, free: 50.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.721, allocations: 216.1 kB / 1.035 GB, free: 50.82 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003756/0.7213, allocations: 304.6 kB / 1.036 GB, free: 50.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005694/0.7219, allocations: 402.1 kB / 1.036 GB, free: 50.45 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7219, allocations: 3.828 kB / 1.036 GB, free: 50.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001089/0.723, allocations: 0.6656 MB / 1.037 GB, free: 50.18 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.7231, allocations: 12.38 kB / 1.037 GB, free: 50.18 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.7231, allocations: 0 / 1.037 GB, free: 50.18 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.468e-05/0.7231, allocations: 6.312 kB / 1.037 GB, free: 50.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004131/0.7235, allocations: 116.4 kB / 1.037 GB, free: 50.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/0.7235, allocations: 13.62 kB / 1.037 GB, free: 50.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002721/0.7238, allocations: 44.06 kB / 1.037 GB, free: 50.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.523e-05/0.7239, allocations: 25.41 kB / 1.037 GB, free: 50.13 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * 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.0002814/0.7242, allocations: 278.7 kB / 1.037 GB, free: 49.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.7243, allocations: 74.78 kB / 1.037 GB, free: 49.91 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.7244, allocations: 70.77 kB / 1.037 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.7244, allocations: 5.391 kB / 1.037 GB, free: 49.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.7244, allocations: 11.28 kB / 1.037 GB, free: 49.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.7244, allocations: 7.281 kB / 1.037 GB, free: 49.87 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004335/0.7249, allocations: 463.3 kB / 1.038 GB, free: 49.57 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.7249, allocations: 6.625 kB / 1.038 GB, free: 49.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.399e-05/0.7249, allocations: 16.33 kB / 1.038 GB, free: 49.57 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.725, allocations: 6.406 kB / 1.038 GB, free: 49.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.725, allocations: 10.88 kB / 1.038 GB, free: 49.56 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.725, allocations: 9.062 kB / 1.038 GB, free: 49.56 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.725, allocations: 8.516 kB / 1.038 GB, free: 49.55 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005588/0.7256, allocations: 380.5 kB / 1.038 GB, free: 49.35 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001303/0.7257, allocations: 165.1 kB / 1.038 GB, free: 49.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.184e-05/0.7258, allocations: 12.66 kB / 1.038 GB, free: 49.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001687/0.726, allocations: 21.59 kB / 1.038 GB, free: 49.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.726, allocations: 28.86 kB / 1.038 GB, free: 49.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.7261, allocations: 16.81 kB / 1.038 GB, free: 49.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006566/0.7267, allocations: 0.5941 MB / 1.039 GB, free: 48.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7267, allocations: 1.125 kB / 1.039 GB, free: 48.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004283/0.7272, allocations: 120.1 kB / 1.039 GB, free: 48.93 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.001128/0.7283, allocations: 0.5535 MB / 1.04 GB, free: 48.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007019/0.729, allocations: 407.4 kB / 1.04 GB, free: 48.52 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.729, allocations: 4.062 kB / 1.04 GB, free: 48.52 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.7292, allocations: 104.9 kB / 1.04 GB, free: 48.48 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009352/0.7302, allocations: 204.6 kB / 1.04 GB, free: 48.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.7319, allocations: 1.23 MB / 1.042 GB, free: 47.73 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.7324, allocations: 0.929 MB / 1.042 GB, free: 47 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003107/0.7327, allocations: 108.7 kB / 1.043 GB, free: 46.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.7328, allocations: 57.95 kB / 1.043 GB, free: 46.96 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.7328, allocations: 0 / 1.043 GB, free: 46.96 MB / 0.698 GB Notification: Performance of Templates: time 0.01368/0.7465, allocations: 7.308 MB / 1.05 GB, free: 46.41 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)