Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunction") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01057/0.01057, allocations: 223.3 kB / 15.17 MB, free: 5.996 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.001109/0.001109, allocations: 176.1 kB / 16.06 MB, free: 5.871 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 3.669/3.669, allocations: 389.1 MB / 405.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.543/4.543, allocations: 472.3 MB / 0.9017 GB, free: 3.613 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005206/0.0005208, allocations: 12 kB / 1.008 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6642/0.6647, allocations: 98.71 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunction): time 0.000618/0.6654, allocations: 319.2 kB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.6666, allocations: 0.9488 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.077e-06/0.6666, allocations: 0 / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.177e-05/0.6666, allocations: 0 / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.476e-06/0.6666, allocations: 0 / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002484/0.6669, allocations: 46.48 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 2.829e-05/0.6669, allocations: 3.281 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.73e-05/0.667, allocations: 0.9375 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 1.149e-05/0.667, allocations: 3.344 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.546e-05/0.667, allocations: 0 / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 7.828e-06/0.6671, allocations: 1.75 kB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000192/0.6673, allocations: 84.66 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.405e-06/0.6673, allocations: 3.938 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.615e-05/0.6673, allocations: 29.05 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 8.767e-05/0.6674, allocations: 35.61 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.526e-06/0.6674, allocations: 0 / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.773e-06/0.6674, allocations: 3.375 kB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.401e-06/0.6674, allocations: 0 / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002018/0.6676, allocations: 316.7 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.6677, allocations: 8.75 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.465e-05/0.6677, allocations: 0 / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.534e-05/0.6678, allocations: 172.7 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.6678, allocations: 0 / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.099e-05/0.6678, allocations: 0 / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.762e-05/0.6679, allocations: 29.83 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.563e-06/0.6679, allocations: 3.031 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.504e-06/0.6679, allocations: 3.938 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.267e-06/0.668, allocations: 3.422 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.118e-05/0.668, allocations: 4.781 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001006/0.6681, allocations: 151.6 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.285e-05/0.6681, allocations: 25.09 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.581e-05/0.6682, allocations: 4.859 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004292/0.6686, allocations: 0.5588 MB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.072e-05/0.6686, allocations: 34.64 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.978e-06/0.6687, allocations: 0 / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001215/0.6688, allocations: 39.69 kB / 1.107 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.6688, allocations: 51.41 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.775e-05/0.6689, allocations: 93.17 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.783e-06/0.6689, allocations: 25.7 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.46e-05/0.6689, allocations: 82.53 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/0.6689, allocations: 0 / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-06/0.6689, allocations: 2.375 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.728e-05/0.669, allocations: 314.8 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.669, allocations: 0 / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.296e-06/0.669, allocations: 5.438 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.277e-05/0.6691, allocations: 6.406 kB / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.025e-06/0.6691, allocations: 0 / 1.107 GB, free: 210 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.122e-05/0.6691, allocations: 35.47 kB / 1.107 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.6692, allocations: 8.719 kB / 1.107 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.314e-06/0.6692, allocations: 3 kB / 1.107 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.6692, allocations: 0 / 1.107 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.149e-05/0.6692, allocations: 5.875 kB / 1.107 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.332e-06/0.6693, allocations: 3.875 kB / 1.107 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.56e-05/0.6693, allocations: 0 / 1.107 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.399e-06/0.6693, allocations: 0 / 1.107 GB, free: 209.9 MB / 0.7292 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 (1): * Single equations (assignments): 1 * 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 4.907e-05/0.6694, allocations: 112.6 kB / 1.107 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.6694, allocations: 5.5 kB / 1.107 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.152e-05/0.6695, allocations: 41.33 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.518e-06/0.6695, allocations: 3.5 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.035e-06/0.6695, allocations: 2.781 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.879e-06/0.6695, allocations: 0 / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.754e-05/0.6696, allocations: 147.9 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-06/0.6696, allocations: 3.938 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.153e-05/0.6696, allocations: 6.25 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.862e-06/0.6696, allocations: 0 / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.464e-06/0.6697, allocations: 1.172 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.962e-06/0.6697, allocations: 3.938 kB / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.615e-06/0.6697, allocations: 0 / 1.108 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.428e-05/0.6698, allocations: 64.45 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.731e-05/0.6698, allocations: 81.06 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.176e-05/0.6698, allocations: 3.969 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.375e-05/0.6698, allocations: 3.5 kB / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.6698, allocations: 0 / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.6699, allocations: 0 / 1.108 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.305e-05/0.6699, allocations: 75.28 kB / 1.108 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6.16e-07/0.6699, allocations: 0 / 1.108 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002466/0.6701, allocations: 8.781 kB / 1.108 GB, free: 209.3 MB / 0.7292 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 (1): * Single equations (assignments): 1 * 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.0001413/0.6703, allocations: 114.3 kB / 1.108 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.434e-05/0.6704, allocations: 10.52 kB / 1.108 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6704, allocations: 0 / 1.108 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.34e-05/0.6704, allocations: 7.406 kB / 1.108 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001558/0.6706, allocations: 3.562 kB / 1.108 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001376/0.6707, allocations: 76.64 kB / 1.108 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.6708, allocations: 0.6711 MB / 1.109 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.008e-05/0.6709, allocations: 9.188 kB / 1.109 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.409e-05/0.6709, allocations: 10.95 kB / 1.109 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of SimCode: time 1.848e-06/0.6709, allocations: 0 / 1.109 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.002251/0.6732, allocations: 286.7 kB / 1.109 GB, free: 208.4 MB / 0.7292 GB