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.Validation.Max.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.Validation.Max,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Max") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.006782/0.006788, allocations: 230 kB / 15.82 MB, free: 6.293 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.001918/0.001918, allocations: 174.3 kB / 16.7 MB, free: 5.449 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 3.903/3.903, allocations: 389.1 MB / 406.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.146/4.146, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005099/0.0005101, allocations: 16 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1811, allocations: 98.71 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7723/0.9535, allocations: 124.3 MB / 1.226 GB, free: 28.75 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.9538, allocations: 71.36 kB / 1.226 GB, free: 28.72 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003276/0.9571, allocations: 0.8264 MB / 1.227 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.004e-06/0.9571, allocations: 0 / 1.227 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.9571, allocations: 3.188 kB / 1.227 GB, free: 28.13 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005369/0.9577, allocations: 366.1 kB / 1.227 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.9577, allocations: 8.641 kB / 1.227 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.338e-05/0.9578, allocations: 8.062 kB / 1.227 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.652e-05/0.9579, allocations: 175.8 kB / 1.227 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.9579, allocations: 4.75 kB / 1.227 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.9579, allocations: 2.719 kB / 1.227 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003668/0.9583, allocations: 81.08 kB / 1.228 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.9583, allocations: 0 / 1.228 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.9584, allocations: 0.5 kB / 1.228 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9584, allocations: 0 / 1.228 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005265/0.9589, allocations: 92.67 kB / 1.228 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007374/0.9597, allocations: 308 kB / 1.228 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.96, allocations: 67.75 kB / 1.228 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.9603, allocations: 54.03 kB / 1.228 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.9603, allocations: 4 kB / 1.228 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.9604, allocations: 30.56 kB / 1.228 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.254e-06/0.9604, allocations: 0 / 1.228 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0008915/0.9613, allocations: 160.9 kB / 1.228 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/0.9613, allocations: 58.92 kB / 1.228 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.899e-05/0.9614, allocations: 109.7 kB / 1.228 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.9614, allocations: 26.22 kB / 1.228 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.225e-05/0.9615, allocations: 88.84 kB / 1.228 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.9615, allocations: 11.28 kB / 1.228 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-06/0.9616, allocations: 0 / 1.228 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.9617, allocations: 316.4 kB / 1.229 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.962, allocations: 46.92 kB / 1.229 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/0.9622, allocations: 41.73 kB / 1.229 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/0.9625, allocations: 39.94 kB / 1.229 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.9625, allocations: 4 kB / 1.229 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005786/0.9631, allocations: 124.4 kB / 1.229 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.643e-05/0.9631, allocations: 8 kB / 1.229 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.9632, allocations: 0 / 1.229 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.9632, allocations: 0 / 1.229 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002194/0.9634, allocations: 21.61 kB / 1.229 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.9634, allocations: 4.703 kB / 1.229 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001552/0.9636, allocations: 22 kB / 1.229 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.9636, allocations: 0 / 1.229 GB, free: 26.03 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 9.562e-05/0.9637, allocations: 117.7 kB / 1.229 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.728e-05/0.9638, allocations: 5.781 kB / 1.229 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006024/0.9644, allocations: 129.3 kB / 1.229 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.9644, allocations: 0.75 kB / 1.229 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.9644, allocations: 1.219 kB / 1.229 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.9644, allocations: 1.547 kB / 1.229 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001853/0.9646, allocations: 173.3 kB / 1.23 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.9646, allocations: 4.031 kB / 1.23 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.9648, allocations: 20.73 kB / 1.23 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.9648, allocations: 0.7031 kB / 1.23 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.9649, allocations: 0 / 1.23 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9649, allocations: 2.438 kB / 1.23 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.9649, allocations: 0.7031 kB / 1.23 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006061/0.9655, allocations: 226.5 kB / 1.23 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.9656, allocations: 81.91 kB / 1.23 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.9656, allocations: 2.672 kB / 1.23 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001862/0.9658, allocations: 20.53 kB / 1.23 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.036e-05/0.9658, allocations: 2.625 kB / 1.23 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.298e-06/0.9659, allocations: 7.625 kB / 1.23 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006011/0.9665, allocations: 81.91 kB / 1.23 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.9665, allocations: 0 / 1.23 GB, free: 41.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003129/0.9668, allocations: 11.75 kB / 1.23 GB, free: 41.2 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001449/0.967, allocations: 106.7 kB / 1.23 GB, free: 41.09 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0006327/0.9676, allocations: 88.34 kB / 1.23 GB, free: 41.03 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9676, allocations: 4 kB / 1.23 GB, free: 41.03 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002708/0.9679, allocations: 46.72 kB / 1.23 GB, free: 41 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.9683, allocations: 9.266 kB / 1.23 GB, free: 40.99 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003828/0.9687, allocations: 126.4 kB / 1.23 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002592/0.969, allocations: 0.6952 MB / 1.231 GB, free: 40.15 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.893e-05/0.969, allocations: 0 / 1.231 GB, free: 40.15 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.667e-05/0.9691, allocations: 7.438 kB / 1.231 GB, free: 40.15 MB / 0.6355 GB Notification: Performance of SimCode: time 8.82e-07/0.9691, allocations: 0 / 1.231 GB, free: 40.15 MB / 0.6355 GB Notification: Performance of Templates: time 0.003603/0.9727, allocations: 0.5323 MB / 1.232 GB, free: 39.88 MB / 0.6355 GB