Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009247/0.009247, allocations: 107.2 kB / 15.06 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001102/0.001102, allocations: 181.5 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.112/2.112, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.189/2.189, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.000473, allocations: 16 kB / 0.587 GB, free: 2.121 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5758/0.5763, allocations: 98.7 MB / 0.6834 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable): time 0.002655/0.579, allocations: 1.984 MB / 0.6853 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003242/0.5822, allocations: 1.753 MB / 0.687 GB, free: 14 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003156/0.5826, allocations: 14.62 kB / 0.687 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009961/0.5836, allocations: 269.1 kB / 0.6873 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0009328/0.5846, allocations: 230.1 kB / 0.6875 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.5862, allocations: 247.8 kB / 0.6877 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001182/0.5874, allocations: 398.9 kB / 0.6881 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002721/0.5877, allocations: 70.23 kB / 0.6882 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005575/0.5883, allocations: 248.2 kB / 0.6884 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005006/0.5888, allocations: 232.6 kB / 0.6886 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 8.367e-05/0.5889, allocations: 10.25 kB / 0.6887 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006984/0.5896, allocations: 100.4 kB / 0.6887 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003453/0.59, allocations: 158.4 kB / 0.6889 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.5902, allocations: 123.7 kB / 0.689 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.5917, allocations: 0.6422 MB / 0.6896 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.886e-06/0.5917, allocations: 0 / 0.6896 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.778e-06/0.5917, allocations: 3.938 kB / 0.6896 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.5917, allocations: 0 / 0.6896 GB, free: 12.99 MB / 0.5261 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.001996/0.5937, allocations: 1.135 MB / 0.6908 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/0.5938, allocations: 9.969 kB / 0.6908 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000236/0.5941, allocations: 72.72 kB / 0.6908 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.5957, allocations: 0.5475 MB / 0.6914 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.334e-05/0.5958, allocations: 14.11 kB / 0.6914 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-05/0.5959, allocations: 19.42 kB / 0.6914 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008268/0.5967, allocations: 209.3 kB / 0.6916 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.5968, allocations: 1.312 kB / 0.6916 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/0.5968, allocations: 2.516 kB / 0.6916 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.5968, allocations: 7.578 kB / 0.6916 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006713/0.5975, allocations: 103.7 kB / 0.6917 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002373/0.5999, allocations: 1.075 MB / 0.6928 GB, free: 10.61 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.6014, allocations: 292.8 kB / 0.693 GB, free: 10.42 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-05/0.6015, allocations: 9.828 kB / 0.693 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009204/0.6025, allocations: 233.4 kB / 0.6933 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 5.981e-06/0.6025, allocations: 0 / 0.6933 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002533/0.6051, allocations: 435 kB / 0.6937 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.6052, allocations: 163.8 kB / 0.6938 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002695/0.6079, allocations: 0.9241 MB / 0.6947 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001235/0.608, allocations: 37.12 kB / 0.6948 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.6085, allocations: 277.9 kB / 0.695 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.6086, allocations: 69.69 kB / 0.6951 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-05/0.6087, allocations: 12.38 kB / 0.6951 GB, free: 9.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002214/0.609, allocations: 382.7 kB / 0.6955 GB, free: 8.91 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007724/0.6098, allocations: 129.7 kB / 0.6956 GB, free: 8.859 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000796/0.6106, allocations: 213.7 kB / 0.6958 GB, free: 8.715 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000913/0.6115, allocations: 309.7 kB / 0.6961 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.258e-06/0.6116, allocations: 1.062 kB / 0.6961 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.00252/0.6141, allocations: 0.6153 MB / 0.6967 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001579/0.6143, allocations: 171 kB / 0.6969 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/0.6143, allocations: 6.156 kB / 0.6969 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.963e-05/0.6144, allocations: 9.078 kB / 0.6969 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.6149, allocations: 59.22 kB / 0.6969 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/0.615, allocations: 5.719 kB / 0.697 GB, free: 7.914 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007198/0.6157, allocations: 53.27 kB / 0.697 GB, free: 7.887 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/0.6158, allocations: 22.86 kB / 0.697 GB, free: 7.883 MB / 0.5261 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,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007219/0.6166, allocations: 265.3 kB / 0.6973 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.6168, allocations: 69.88 kB / 0.6973 GB, free: 7.676 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.6171, allocations: 88.5 kB / 0.6974 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.189e-05/0.6171, allocations: 4.125 kB / 0.6974 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.104e-05/0.6172, allocations: 1.375 kB / 0.6974 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.6172, allocations: 2.641 kB / 0.6974 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009731/0.6182, allocations: 438 kB / 0.6979 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.179e-06/0.6182, allocations: 1.375 kB / 0.6979 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.6184, allocations: 19.27 kB / 0.6979 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.155e-05/0.6184, allocations: 1.375 kB / 0.6979 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.235e-05/0.6185, allocations: 12.5 kB / 0.6979 GB, free: 7.348 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.229e-05/0.6185, allocations: 10.7 kB / 0.6979 GB, free: 7.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.974e-06/0.6185, allocations: 6.031 kB / 0.6979 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001657/0.6202, allocations: 449.8 kB / 0.6983 GB, free: 7.047 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004515/0.6207, allocations: 190.9 kB / 0.6985 GB, free: 6.895 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001822/0.6209, allocations: 10.12 kB / 0.6985 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004514/0.6214, allocations: 18.17 kB / 0.6985 GB, free: 6.887 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/0.6215, allocations: 21.23 kB / 0.6986 GB, free: 6.883 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.938e-05/0.6216, allocations: 21.61 kB / 0.6986 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001906/0.6236, allocations: 0.6579 MB / 0.6992 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.241e-06/0.6236, allocations: 0 / 0.6992 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001239/0.6248, allocations: 133.4 kB / 0.6994 GB, free: 6.602 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006564/0.6314, allocations: 1.173 MB / 0.7005 GB, free: 6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002206/0.6337, allocations: 0.6815 MB / 0.7012 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.499e-06/0.6337, allocations: 0 / 0.7012 GB, free: 5.484 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000694/0.6344, allocations: 112.9 kB / 0.7013 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/0.6361, allocations: 156.2 kB / 0.7014 GB, free: 5.363 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003298/0.6395, allocations: 1.123 MB / 0.7025 GB, free: 4.641 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007581/0.6403, allocations: 0.9267 MB / 0.7034 GB, free: 3.824 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006892/0.641, allocations: 100.5 kB / 0.7035 GB, free: 3.781 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/0.6413, allocations: 49.89 kB / 0.7036 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of SimCode: time 2.318e-06/0.6413, allocations: 0 / 0.7036 GB, free: 3.766 MB / 0.5261 GB Notification: Performance of Templates: time 0.03729/0.6786, allocations: 8.443 MB / 0.7118 GB, free: 15.55 MB / 0.5417 GB