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.009408/0.009407, allocations: 108.2 kB / 15.06 MB, free: 5.562 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.001146/0.001146, allocations: 184.4 kB / 15.95 MB, free: 5.523 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.142/2.142, allocations: 194.6 MB / 211.3 MB, free: 11.31 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.347/2.347, allocations: 236.2 MB / 492.6 MB, free: 11.3 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007708/0.0007711, allocations: 20 kB / 0.587 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5566/0.5574, allocations: 98.71 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001645/0.5591, allocations: 1.231 MB / 0.6846 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006447/0.5598, allocations: 328.2 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.5599, allocations: 1.312 kB / 0.6849 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 8.309e-05/0.56, allocations: 10.66 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.839e-05/0.5601, allocations: 18.61 kB / 0.6849 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.5604, allocations: 61.72 kB / 0.685 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.5605, allocations: 73.84 kB / 0.685 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.5607, allocations: 37.58 kB / 0.6851 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.576e-05/0.5607, allocations: 42.83 kB / 0.6851 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.982e-05/0.5608, allocations: 41.22 kB / 0.6851 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.5609, allocations: 8.781 kB / 0.6852 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001139/0.561, allocations: 47.06 kB / 0.6852 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.5611, allocations: 26.41 kB / 0.6852 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.193e-05/0.5611, allocations: 46.64 kB / 0.6853 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.5613, allocations: 125.1 kB / 0.6854 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.5613, allocations: 0 / 0.6854 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.296e-06/0.5614, allocations: 0 / 0.6854 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.8e-06/0.5614, allocations: 1.469 kB / 0.6854 GB, free: 15.48 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.0007735/0.5622, allocations: 496.6 kB / 0.6859 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.5622, allocations: 8.656 kB / 0.6859 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.5623, allocations: 15.25 kB / 0.6859 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.5625, allocations: 201.2 kB / 0.6861 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.5625, allocations: 11.84 kB / 0.6861 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.5625, allocations: 3.719 kB / 0.6861 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006681/0.5632, allocations: 208.3 kB / 0.6863 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.098e-05/0.5632, allocations: 0 / 0.6863 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.5632, allocations: 14.2 kB / 0.6863 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.189e-05/0.5633, allocations: 11.34 kB / 0.6863 GB, free: 14.76 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009483/0.5643, allocations: 257 kB / 0.6866 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001085/0.5654, allocations: 480.3 kB / 0.687 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005373/0.5659, allocations: 171.5 kB / 0.6872 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.566, allocations: 1.438 kB / 0.6872 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.566, allocations: 39.73 kB / 0.6872 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 3.504e-06/0.566, allocations: 0 / 0.6872 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.001721/0.5677, allocations: 0.6285 MB / 0.6878 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.5678, allocations: 60.86 kB / 0.6879 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.5679, allocations: 144.6 kB / 0.688 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.568, allocations: 29.7 kB / 0.6881 GB, free: 13.77 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.396e-05/0.568, allocations: 111.4 kB / 0.6882 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.141e-05/0.5681, allocations: 45.09 kB / 0.6882 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.831e-06/0.5681, allocations: 0 / 0.6882 GB, free: 13.62 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.072e-05/0.5682, allocations: 322.6 kB / 0.6885 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000496/0.5687, allocations: 143.6 kB / 0.6887 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004836/0.5692, allocations: 135.9 kB / 0.6888 GB, free: 13.26 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005284/0.5697, allocations: 148.3 kB / 0.6889 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.455e-06/0.5698, allocations: 0 / 0.6889 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001091/0.5709, allocations: 339.3 kB / 0.6892 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.5709, allocations: 9.328 kB / 0.6893 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.156e-06/0.5709, allocations: 0.75 kB / 0.6893 GB, free: 13.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.5709, allocations: 5.125 kB / 0.6893 GB, free: 13.13 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004496/0.5714, allocations: 53.89 kB / 0.6893 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.5714, allocations: 5.984 kB / 0.6893 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003725/0.5718, allocations: 43.48 kB / 0.6894 GB, free: 13.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.5719, allocations: 2.703 kB / 0.6894 GB, free: 13.12 MB / 0.5261 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: 2 * 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 0.0001269/0.572, allocations: 131.9 kB / 0.6895 GB, free: 12.99 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.5721, allocations: 15.62 kB / 0.6895 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.5721, allocations: 16.52 kB / 0.6895 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-05/0.5722, allocations: 13.84 kB / 0.6895 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.489e-06/0.5722, allocations: 0.6562 kB / 0.6895 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.292e-06/0.5722, allocations: 1.125 kB / 0.6895 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003012/0.5725, allocations: 216.7 kB / 0.6897 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.04e-06/0.5725, allocations: 1.469 kB / 0.6897 GB, free: 12.76 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002647/0.5728, allocations: 57.98 kB / 0.6898 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.338e-06/0.5728, allocations: 1 kB / 0.6898 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.5729, allocations: 5.672 kB / 0.6898 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.116e-06/0.5729, allocations: 3.953 kB / 0.6898 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.963e-06/0.5729, allocations: 1.484 kB / 0.6898 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.574, allocations: 439.2 kB / 0.6902 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.5741, allocations: 88.12 kB / 0.6903 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.995e-05/0.5741, allocations: 2.156 kB / 0.6903 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002699/0.5744, allocations: 47.53 kB / 0.6904 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.5745, allocations: 14.47 kB / 0.6904 GB, free: 12.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.247e-05/0.5745, allocations: 6.359 kB / 0.6904 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.793e-05/0.5746, allocations: 110.3 kB / 0.6905 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.53e-07/0.5746, allocations: 0 / 0.6905 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004144/0.575, allocations: 46.12 kB / 0.6905 GB, free: 12.33 MB / 0.5261 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: 2 * 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.000219/0.5753, allocations: 119.5 kB / 0.6906 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.5764, allocations: 307.3 kB / 0.6909 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.591e-06/0.5764, allocations: 0 / 0.6909 GB, free: 12.18 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005367/0.577, allocations: 165.6 kB / 0.6911 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003299/0.5773, allocations: 18.3 kB / 0.6911 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006872/0.578, allocations: 358.9 kB / 0.6915 GB, free: 11.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001935/0.5782, allocations: 0.7256 MB / 0.6922 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.5784, allocations: 18.98 kB / 0.6922 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.542e-05/0.5784, allocations: 10.97 kB / 0.6922 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of SimCode: time 1.732e-06/0.5784, allocations: 0 / 0.6922 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.005887/0.5843, allocations: 1.517 MB / 0.6937 GB, free: 11.08 MB / 0.5261 GB