Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.913/3.913, allocations: 433.3 MB / 440.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.54e-05/3.555e-05, allocations: 12 kB / 0.5325 GB, free: 1.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4898/0.4898, allocations: 98.71 MB / 0.6289 GB, free: 15.74 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.6915, allocations: 123.9 MB / 0.75 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.6918, allocations: 71.95 kB / 0.75 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.01416/0.706, allocations: 3.589 MB / 0.7535 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.103e-06/0.706, allocations: 0 / 0.7535 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.613e-05/0.7061, allocations: 8 kB / 0.7535 GB, free: 15.98 MB / 0.6355 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.0008629/0.7069, allocations: 474 kB / 0.754 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.707, allocations: 16.02 kB / 0.754 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.064e-05/0.7071, allocations: 11.81 kB / 0.754 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.7074, allocations: 212.5 kB / 0.7542 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.7074, allocations: 8 kB / 0.7542 GB, free: 15.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.7074, allocations: 4 kB / 0.7542 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002423/0.7077, allocations: 75.98 kB / 0.7543 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.7079, allocations: 111.6 kB / 0.7544 GB, free: 15 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.855e-06/0.708, allocations: 0 / 0.7544 GB, free: 15 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.708, allocations: 0 / 0.7544 GB, free: 15 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.068e-06/0.708, allocations: 4 kB / 0.7544 GB, free: 15 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.7091, allocations: 496.7 kB / 0.7549 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001685/0.7093, allocations: 78.52 kB / 0.755 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/0.7095, allocations: 72.78 kB / 0.755 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.7095, allocations: 3.984 kB / 0.755 GB, free: 14.31 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.7096, allocations: 38.5 kB / 0.7551 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 2.939e-06/0.7096, allocations: 0 / 0.7551 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004824/0.7101, allocations: 153.6 kB / 0.7552 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.7102, allocations: 51.41 kB / 0.7553 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.7103, allocations: 128.9 kB / 0.7554 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.7104, allocations: 25.7 kB / 0.7554 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.721e-05/0.7104, allocations: 112.3 kB / 0.7555 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.15e-05/0.7105, allocations: 43.36 kB / 0.7556 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.02e-05/0.7105, allocations: 4 kB / 0.7556 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001736/0.7107, allocations: 326.8 kB / 0.7559 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.7109, allocations: 47.98 kB / 0.7559 GB, free: 13.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.711, allocations: 47.98 kB / 0.756 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.7112, allocations: 79.97 kB / 0.756 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.78e-06/0.7112, allocations: 0 / 0.756 GB, free: 13.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004013/0.7116, allocations: 165.4 kB / 0.7562 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.7117, allocations: 7.938 kB / 0.7562 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.197e-05/0.7117, allocations: 4 kB / 0.7562 GB, free: 13.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.807e-05/0.7117, allocations: 7.984 kB / 0.7562 GB, free: 13.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003013/0.712, allocations: 47.95 kB / 0.7563 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.876e-06/0.712, allocations: 0 / 0.7563 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002379/0.7123, allocations: 47.89 kB / 0.7563 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.894e-05/0.7123, allocations: 4 kB / 0.7563 GB, free: 12.93 MB / 0.6355 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 () * 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.000121/0.7125, allocations: 103.1 kB / 0.7564 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.7126, allocations: 19.75 kB / 0.7564 GB, free: 12.81 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004843/0.7131, allocations: 194.4 kB / 0.7566 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.7131, allocations: 0 / 0.7566 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.45e-06/0.7131, allocations: 4 kB / 0.7566 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.532e-06/0.7131, allocations: 0 / 0.7566 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003318/0.7134, allocations: 222 kB / 0.7568 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.7135, allocations: 0 / 0.7568 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.7137, allocations: 51.95 kB / 0.7569 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.444e-06/0.7138, allocations: 0 / 0.7569 GB, free: 12.31 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.811e-05/0.7138, allocations: 3.953 kB / 0.7569 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.597e-06/0.7138, allocations: 4 kB / 0.7569 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.7138, allocations: 0 / 0.7569 GB, free: 12.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004597/0.7143, allocations: 263.2 kB / 0.7571 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.145e-05/0.7144, allocations: 85.02 kB / 0.7572 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.734e-05/0.7144, allocations: 0 / 0.7572 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.7147, allocations: 47.91 kB / 0.7573 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.74e-05/0.7148, allocations: 15.97 kB / 0.7573 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.7148, allocations: 11.94 kB / 0.7573 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001005/0.7149, allocations: 103.3 kB / 0.7574 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.52e-07/0.715, allocations: 0 / 0.7574 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003996/0.7154, allocations: 47.84 kB / 0.7574 GB, free: 11.7 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 () * 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.0002543/0.7156, allocations: 123.9 kB / 0.7576 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003945/0.716, allocations: 203.3 kB / 0.7578 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.644e-06/0.7161, allocations: 0 / 0.7578 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002106/0.7163, allocations: 143.3 kB / 0.7579 GB, free: 11.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.7166, allocations: 15.98 kB / 0.7579 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.7171, allocations: 204.9 kB / 0.7581 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.7176, allocations: 0.7237 MB / 0.7588 GB, free: 10.22 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.7177, allocations: 15.98 kB / 0.7588 GB, free: 10.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.257e-05/0.7178, allocations: 11.44 kB / 0.7588 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.437e-06/0.7178, allocations: 0 / 0.7588 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.005364/0.7232, allocations: 1.504 MB / 0.7603 GB, free: 8.707 MB / 0.6355 GB