Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.VectorFunctions.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.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009304/0.009309, allocations: 108.5 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.001133/0.001132, allocations: 182.2 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 1.849/1.849, 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.339/2.339, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004654/0.0004656, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6474/0.6479, allocations: 98.71 MB / 0.6833 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.VectorFunctions): time 0.002767/0.6507, allocations: 1.264 MB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001452/0.6522, allocations: 0.5102 MB / 0.6851 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.072e-05/0.6523, allocations: 1.219 kB / 0.6851 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.6525, allocations: 12.08 kB / 0.6851 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.56e-05/0.6525, allocations: 15.2 kB / 0.6851 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.6529, allocations: 26.19 kB / 0.6851 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.653, allocations: 48.94 kB / 0.6852 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002046/0.6533, allocations: 31.59 kB / 0.6852 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.6534, allocations: 32.12 kB / 0.6852 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.6536, allocations: 29.33 kB / 0.6853 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.6536, allocations: 5.188 kB / 0.6853 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.996e-05/0.6537, allocations: 6.312 kB / 0.6853 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 5.208e-05/0.6538, allocations: 19.88 kB / 0.6853 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.985e-05/0.6539, allocations: 33.55 kB / 0.6853 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002008/0.6541, allocations: 58.75 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.5e-06/0.6541, allocations: 0 / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.2e-06/0.6541, allocations: 1.406 kB / 0.6854 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.515e-06/0.6542, allocations: 0 / 0.6854 GB, free: 15.34 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007367/0.6549, allocations: 390.4 kB / 0.6857 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.807e-05/0.655, allocations: 10.23 kB / 0.6858 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.366e-05/0.6551, allocations: 16.77 kB / 0.6858 GB, free: 14.94 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002485/0.6553, allocations: 192.8 kB / 0.686 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.6554, allocations: 6.656 kB / 0.686 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.6554, allocations: 4.031 kB / 0.686 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005472/0.656, allocations: 110.8 kB / 0.6861 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.656, allocations: 4 kB / 0.6861 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.43e-05/0.6561, allocations: 1.5 kB / 0.6861 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.627e-06/0.6561, allocations: 5.344 kB / 0.6861 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.6568, allocations: 115.8 kB / 0.6862 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00117/0.6579, allocations: 383.7 kB / 0.6866 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003416/0.6583, allocations: 73.17 kB / 0.6866 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-05/0.6584, allocations: 2.922 kB / 0.6866 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.6585, allocations: 32.38 kB / 0.6867 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 3.517e-06/0.6585, allocations: 0 / 0.6867 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.001103/0.6596, allocations: 185.8 kB / 0.6868 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.741e-05/0.6597, allocations: 53.55 kB / 0.6869 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.6599, allocations: 133.3 kB / 0.687 GB, free: 14 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.6599, allocations: 29.7 kB / 0.687 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.685e-05/0.66, allocations: 109.2 kB / 0.6872 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.038e-05/0.6601, allocations: 23.61 kB / 0.6872 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.359e-05/0.6601, allocations: 0 / 0.6872 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.587e-05/0.6602, allocations: 320.4 kB / 0.6875 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002982/0.6605, allocations: 44.36 kB / 0.6875 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002768/0.6608, allocations: 47.28 kB / 0.6876 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002981/0.6612, allocations: 45.73 kB / 0.6876 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.229e-06/0.6612, allocations: 0 / 0.6876 GB, free: 13.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007043/0.6619, allocations: 142.2 kB / 0.6877 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.662e-05/0.662, allocations: 5.125 kB / 0.6878 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.662, allocations: 0.75 kB / 0.6878 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.662, allocations: 1.312 kB / 0.6878 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003018/0.6623, allocations: 24.59 kB / 0.6878 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.758e-06/0.6624, allocations: 4 kB / 0.6878 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001793/0.6626, allocations: 10.8 kB / 0.6878 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.386e-05/0.6626, allocations: 7.797 kB / 0.6878 GB, free: 13.43 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 (6): * Single equations (assignments): 6 * 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 0.0001415/0.6628, allocations: 117.4 kB / 0.6879 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.271e-05/0.6629, allocations: 11.95 kB / 0.6879 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008225/0.6637, allocations: 155.8 kB / 0.6881 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.068e-06/0.6638, allocations: 1.891 kB / 0.6881 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.162e-06/0.6638, allocations: 5.094 kB / 0.6881 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.608e-06/0.6638, allocations: 0 / 0.6881 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000471/0.6643, allocations: 211.7 kB / 0.6883 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.967e-06/0.6643, allocations: 0.7969 kB / 0.6883 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002651/0.6646, allocations: 24.36 kB / 0.6883 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.469e-06/0.6647, allocations: 9.047 kB / 0.6883 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.28e-05/0.6647, allocations: 5.359 kB / 0.6883 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.869e-06/0.6647, allocations: 2.969 kB / 0.6883 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.143e-06/0.6647, allocations: 0 / 0.6883 GB, free: 13 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007241/0.6655, allocations: 234 kB / 0.6885 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.6656, allocations: 84.62 kB / 0.6886 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.581e-05/0.6656, allocations: 1.156 kB / 0.6886 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.6659, allocations: 13.14 kB / 0.6886 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.666, allocations: 10.61 kB / 0.6886 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-05/0.6661, allocations: 11.17 kB / 0.6887 GB, free: 12.72 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001135/0.6662, allocations: 98.11 kB / 0.6888 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.032e-06/0.6662, allocations: 0 / 0.6888 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007291/0.667, allocations: 25.25 kB / 0.6888 GB, free: 12.63 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 (6): * Single equations (assignments): 6 * 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.0002118/0.6672, allocations: 101 kB / 0.6889 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006726/0.6679, allocations: 109 kB / 0.689 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6679, allocations: 0 / 0.689 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003423/0.6683, allocations: 62.89 kB / 0.689 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.6687, allocations: 3.922 kB / 0.689 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000829/0.6695, allocations: 244.8 kB / 0.6893 GB, free: 12.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.6698, allocations: 0.7118 MB / 0.69 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002194/0.6701, allocations: 14.88 kB / 0.69 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.6701, allocations: 11.61 kB / 0.69 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of SimCode: time 2.12e-06/0.6702, allocations: 0 / 0.69 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of Templates: time 0.005761/0.6759, allocations: 0.5992 MB / 0.6906 GB, free: 11.54 MB / 0.5261 GB