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.Sort.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.Sort,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004168/0.004172, allocations: 227.5 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.001155/0.001155, allocations: 177.2 kB / 16.71 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 4.148/4.148, allocations: 389.1 MB / 406.5 MB, free: 11.85 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.092/4.092, allocations: 472.3 MB / 0.9024 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006572/0.0006574, allocations: 15.47 kB / 1.008 GB, free: 176.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1747, allocations: 98.71 MB / 1.105 GB, free: 80.54 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7525/0.9273, allocations: 124.7 MB / 1.226 GB, free: 18.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002733/0.9277, allocations: 72.83 kB / 1.226 GB, free: 18.8 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.01596/0.9436, allocations: 3.618 MB / 1.23 GB, free: 18.37 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.355e-06/0.9437, allocations: 0 / 1.23 GB, free: 18.37 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.438e-05/0.9437, allocations: 3.844 kB / 1.23 GB, free: 18.37 MB / 0.6042 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.001102/0.9448, allocations: 494.1 kB / 1.231 GB, free: 17.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.9449, allocations: 8.375 kB / 1.231 GB, free: 17.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.478e-05/0.945, allocations: 18.94 kB / 1.231 GB, free: 17.96 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.9452, allocations: 212.9 kB / 1.231 GB, free: 17.75 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.9452, allocations: 0 / 1.231 GB, free: 17.75 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.9453, allocations: 11.47 kB / 1.231 GB, free: 17.75 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00095/0.9462, allocations: 206.5 kB / 1.231 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.9463, allocations: 0 / 1.231 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.234e-05/0.9463, allocations: 1.312 kB / 1.231 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.9463, allocations: 1.312 kB / 1.231 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001372/0.9477, allocations: 254.2 kB / 1.231 GB, free: 17.72 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.9491, allocations: 0.5163 MB / 1.232 GB, free: 17.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007758/0.9499, allocations: 169.1 kB / 1.232 GB, free: 17.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007105/0.9506, allocations: 156.5 kB / 1.232 GB, free: 17.39 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.013e-05/0.9507, allocations: 0 / 1.232 GB, free: 17.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.9508, allocations: 38.41 kB / 1.232 GB, free: 17.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=15): time 1.994e-06/0.9508, allocations: 0 / 1.232 GB, free: 17.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=15): time 0.002309/0.9531, allocations: 477.6 kB / 1.232 GB, free: 17.31 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.9531, allocations: 55.34 kB / 1.233 GB, free: 17.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.9533, allocations: 146 kB / 1.233 GB, free: 17.14 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.9533, allocations: 29.2 kB / 1.233 GB, free: 17.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.000626/0.954, allocations: 113.4 kB / 1.233 GB, free: 33.02 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.499e-05/0.9541, allocations: 40.86 kB / 1.233 GB, free: 32.99 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.9541, allocations: 0 / 1.233 GB, free: 32.99 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.9542, allocations: 325.2 kB / 1.233 GB, free: 32.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007361/0.955, allocations: 138.2 kB / 1.233 GB, free: 32.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007458/0.9557, allocations: 138.1 kB / 1.233 GB, free: 32.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000749/0.9565, allocations: 150.1 kB / 1.234 GB, free: 32.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.9565, allocations: 0 / 1.234 GB, free: 32.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001515/0.958, allocations: 331 kB / 1.234 GB, free: 32.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.9581, allocations: 3.812 kB / 1.234 GB, free: 32.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.549e-05/0.9581, allocations: 3.875 kB / 1.234 GB, free: 32.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.9581, allocations: 1.281 kB / 1.234 GB, free: 32.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004255/0.9586, allocations: 57.52 kB / 1.234 GB, free: 32.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.9586, allocations: 1.469 kB / 1.234 GB, free: 32.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003695/0.959, allocations: 45.56 kB / 1.234 GB, free: 32.62 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.959, allocations: 4.938 kB / 1.234 GB, free: 32.62 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001699/0.9592, allocations: 137.3 kB / 1.234 GB, free: 32.5 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.9593, allocations: 11.78 kB / 1.234 GB, free: 32.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001607/0.9609, allocations: 361.2 kB / 1.234 GB, free: 32.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.673e-06/0.9609, allocations: 0.7969 kB / 1.234 GB, free: 32.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.9609, allocations: 0 / 1.234 GB, free: 32.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.9609, allocations: 3.141 kB / 1.234 GB, free: 32.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003373/0.9613, allocations: 252.2 kB / 1.235 GB, free: 32.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-05/0.9613, allocations: 6.672 kB / 1.235 GB, free: 32.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.9617, allocations: 50.62 kB / 1.235 GB, free: 32.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.9618, allocations: 1.031 kB / 1.235 GB, free: 32.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.854e-05/0.9618, allocations: 5.625 kB / 1.235 GB, free: 32.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.9618, allocations: 0 / 1.235 GB, free: 32.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.9618, allocations: 0 / 1.235 GB, free: 32.24 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.9634, allocations: 428.8 kB / 1.235 GB, free: 32.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.743e-05/0.9634, allocations: 95.05 kB / 1.235 GB, free: 32 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.701e-05/0.9635, allocations: 3.969 kB / 1.235 GB, free: 32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004028/0.9639, allocations: 43.84 kB / 1.235 GB, free: 32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.738e-05/0.964, allocations: 12.31 kB / 1.235 GB, free: 32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.964, allocations: 8.391 kB / 1.235 GB, free: 32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001176/0.9642, allocations: 115.8 kB / 1.235 GB, free: 31.92 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.4e-07/0.9642, allocations: 0 / 1.235 GB, free: 31.92 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004371/0.9646, allocations: 44.34 kB / 1.236 GB, free: 31.91 MB / 0.6198 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0002601/0.9649, allocations: 121.3 kB / 1.236 GB, free: 31.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001645/0.9666, allocations: 380.5 kB / 1.236 GB, free: 31.75 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9666, allocations: 1.281 kB / 1.236 GB, free: 31.75 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008259/0.9674, allocations: 228.4 kB / 1.236 GB, free: 31.69 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004597/0.9679, allocations: 18.38 kB / 1.236 GB, free: 31.69 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000684/0.9686, allocations: 321.9 kB / 1.237 GB, free: 31.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.9689, allocations: 0.7258 MB / 1.237 GB, free: 30.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001264/0.9691, allocations: 17.19 kB / 1.237 GB, free: 30.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.9691, allocations: 11.31 kB / 1.237 GB, free: 30.79 MB / 0.6198 GB Notification: Performance of SimCode: time 1.042e-06/0.9691, allocations: 3.5 kB / 1.237 GB, free: 30.79 MB / 0.6198 GB Notification: Performance of Templates: time 0.006058/0.9752, allocations: 1.615 MB / 1.239 GB, free: 30.19 MB / 0.6198 GB