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.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01231/0.01231, allocations: 108.9 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.001137/0.001137, allocations: 179.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 2.23/2.23, allocations: 194.6 MB / 211.3 MB, free: 10.98 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.278/2.278, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00049/0.0004903, allocations: 15.98 kB / 0.5869 GB, free: 2.184 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5395/0.54, allocations: 98.7 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001958/0.542, allocations: 1.435 MB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.5432, allocations: 0.614 MB / 0.6853 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.615e-05/0.5433, allocations: 2.219 kB / 0.6853 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.632e-05/0.5434, allocations: 6.703 kB / 0.6853 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.142e-05/0.5435, allocations: 19.42 kB / 0.6854 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.5441, allocations: 151.5 kB / 0.6855 GB, free: 15.27 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.5443, allocations: 66.91 kB / 0.6856 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.5444, allocations: 39.09 kB / 0.6856 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001352/0.5446, allocations: 45.23 kB / 0.6856 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 9.023e-05/0.5447, allocations: 43.89 kB / 0.6857 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.661e-05/0.5447, allocations: 3.75 kB / 0.6857 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001284/0.5448, allocations: 36.28 kB / 0.6857 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.459e-05/0.5449, allocations: 19.78 kB / 0.6857 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.557e-05/0.5449, allocations: 43.95 kB / 0.6858 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001852/0.5451, allocations: 89.81 kB / 0.6859 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.182e-06/0.5451, allocations: 0 / 0.6859 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.077e-06/0.5452, allocations: 0 / 0.6859 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.006e-06/0.5452, allocations: 5.531 kB / 0.6859 GB, free: 15.1 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005514/0.5457, allocations: 415.1 kB / 0.6863 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.5458, allocations: 9.156 kB / 0.6863 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001/0.5468, allocations: 148.2 kB / 0.6864 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001151/0.5469, allocations: 179.3 kB / 0.6866 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.5471, allocations: 65.92 kB / 0.6867 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.5471, allocations: 6.531 kB / 0.6867 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.5478, allocations: 190 kB / 0.6868 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.5478, allocations: 0 / 0.6868 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.047e-05/0.5479, allocations: 5.203 kB / 0.6869 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.209e-06/0.5479, allocations: 2.281 kB / 0.6869 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000793/0.5487, allocations: 194.8 kB / 0.687 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001335/0.55, allocations: 0.508 MB / 0.6875 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/0.5513, allocations: 269.4 kB / 0.6878 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.306e-05/0.5514, allocations: 1.891 kB / 0.6878 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.651e-05/0.5514, allocations: 44.75 kB / 0.6878 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 3.431e-06/0.5514, allocations: 0 / 0.6878 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.001347/0.5528, allocations: 309.5 kB / 0.6881 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.5528, allocations: 56.75 kB / 0.6882 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/0.553, allocations: 143.2 kB / 0.6883 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.142e-05/0.553, allocations: 26.86 kB / 0.6884 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.955e-05/0.5531, allocations: 114.8 kB / 0.6885 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.5531, allocations: 19.06 kB / 0.6885 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.142e-05/0.5532, allocations: 1.375 kB / 0.6885 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.014e-05/0.5532, allocations: 319.4 kB / 0.6888 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004036/0.5536, allocations: 94.06 kB / 0.6889 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004068/0.5541, allocations: 116 kB / 0.689 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003893/0.5545, allocations: 90.25 kB / 0.6891 GB, free: 13 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.149e-06/0.5545, allocations: 1.188 kB / 0.6891 GB, free: 13 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0009042/0.5554, allocations: 240.6 kB / 0.6893 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.5554, allocations: 5.75 kB / 0.6893 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.179e-06/0.5555, allocations: 0.6094 kB / 0.6893 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.5555, allocations: 0.9688 kB / 0.6893 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003421/0.5558, allocations: 47 kB / 0.6894 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.5559, allocations: 5.953 kB / 0.6894 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002487/0.5561, allocations: 37.17 kB / 0.6894 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.393e-05/0.5562, allocations: 8.234 kB / 0.6894 GB, free: 12.89 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001235/0.5563, allocations: 115.1 kB / 0.6895 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.5564, allocations: 8.5 kB / 0.6895 GB, free: 12.77 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009512/0.5573, allocations: 244 kB / 0.6898 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.263e-06/0.5574, allocations: 0 / 0.6898 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.13e-06/0.5574, allocations: 5.375 kB / 0.6898 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.748e-06/0.5574, allocations: 4.562 kB / 0.6898 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003096/0.5577, allocations: 240.4 kB / 0.69 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.5577, allocations: 3.938 kB / 0.69 GB, free: 12.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003072/0.558, allocations: 44.03 kB / 0.69 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.519e-06/0.5581, allocations: 1.469 kB / 0.69 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.5581, allocations: 1.266 kB / 0.69 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.113e-06/0.5581, allocations: 1.953 kB / 0.69 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.018e-06/0.5581, allocations: 0 / 0.69 GB, free: 12.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008854/0.559, allocations: 321.4 kB / 0.6903 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.322e-05/0.5591, allocations: 83.77 kB / 0.6904 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.5591, allocations: 2.016 kB / 0.6904 GB, free: 12.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003841/0.5595, allocations: 53.08 kB / 0.6905 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.5596, allocations: 4.672 kB / 0.6905 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.222e-05/0.5596, allocations: 11.31 kB / 0.6905 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.362e-05/0.5597, allocations: 113.6 kB / 0.6906 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.78e-07/0.5597, allocations: 3.938 kB / 0.6906 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003763/0.5601, allocations: 23.06 kB / 0.6906 GB, free: 12.05 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.0001316/0.5602, allocations: 103.6 kB / 0.6907 GB, free: 11.96 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0008756/0.5611, allocations: 195.3 kB / 0.6909 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.202e-06/0.5611, allocations: 3.938 kB / 0.6909 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000422/0.5616, allocations: 99.98 kB / 0.691 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.5619, allocations: 8.547 kB / 0.691 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007898/0.5627, allocations: 296 kB / 0.6913 GB, free: 11.71 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001574/0.5629, allocations: 0.7066 MB / 0.692 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001462/0.563, allocations: 12.38 kB / 0.692 GB, free: 11.01 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.31e-05/0.5631, allocations: 17.52 kB / 0.692 GB, free: 11 MB / 0.5261 GB Notification: Performance of SimCode: time 1.711e-06/0.5631, allocations: 0 / 0.692 GB, free: 11 MB / 0.5261 GB Notification: Performance of Templates: time 0.004981/0.5681, allocations: 1.311 MB / 0.6933 GB, free: 10.89 MB / 0.5261 GB