Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.915/1.915, allocations: 291.7 MB / 306.8 MB, free: 7.676 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009962/0.0009962, allocations: 178.3 kB / 375.4 MB, free: 5.109 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 225.7 MB / 0.6538 GB, free: 13.62 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008174/0.0008177, allocations: 94.67 kB / 0.7699 GB, free: 50.21 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003963, allocations: 16 kB / 0.8956 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6626/0.6631, allocations: 118.1 MB / 1.011 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0009058/0.664, allocations: 332.7 kB / 1.011 GB, free: 57.39 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.6655, allocations: 1.028 MB / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.6655, allocations: 0 / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.654e-05/0.6656, allocations: 0 / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.62e-05/0.6656, allocations: 0 / 1.012 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003776/0.666, allocations: 57.94 kB / 1.012 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.254e-05/0.6661, allocations: 17.92 kB / 1.012 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.254e-05/0.6661, allocations: 1.312 kB / 1.012 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 2.573e-05/0.6662, allocations: 8.25 kB / 1.012 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 7.452e-05/0.6662, allocations: 9.797 kB / 1.012 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.6663, allocations: 0.75 kB / 1.012 GB, free: 57.33 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.6665, allocations: 96.84 kB / 1.012 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.6665, allocations: 9.422 kB / 1.012 GB, free: 57.32 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.6666, allocations: 25.7 kB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001241/0.6667, allocations: 32.56 kB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.6667, allocations: 3.156 kB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.334e-06/0.6667, allocations: 0 / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.897e-06/0.6667, allocations: 0.5312 kB / 1.012 GB, free: 57.29 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003959/0.6671, allocations: 341.7 kB / 1.013 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.6672, allocations: 12.44 kB / 1.013 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.6672, allocations: 5.375 kB / 1.013 GB, free: 56.93 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.715e-05/0.6673, allocations: 167.9 kB / 1.013 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.6674, allocations: 4.375 kB / 1.013 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.75e-05/0.6674, allocations: 3.281 kB / 1.013 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.6675, allocations: 49.16 kB / 1.013 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.6676, allocations: 192 / 1.013 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.6676, allocations: 3.938 kB / 1.013 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6676, allocations: 0 / 1.013 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.941e-05/0.6677, allocations: 19.86 kB / 1.013 GB, free: 56.69 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.6678, allocations: 156.9 kB / 1.013 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.6679, allocations: 39.42 kB / 1.013 GB, free: 56.48 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.653e-05/0.668, allocations: 25.67 kB / 1.013 GB, free: 56.46 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004391/0.6685, allocations: 0.5598 MB / 1.014 GB, free: 55.81 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.6685, allocations: 31.84 kB / 1.014 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=5): time 2.074e-06/0.6685, allocations: 3.234 kB / 1.014 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.001999/0.6705, allocations: 467.6 kB / 1.014 GB, free: 55.51 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/0.6705, allocations: 54.69 kB / 1.014 GB, free: 55.45 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.76e-05/0.6706, allocations: 93.17 kB / 1.014 GB, free: 55.35 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.6706, allocations: 31.14 kB / 1.014 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.313e-05/0.6706, allocations: 80.14 kB / 1.015 GB, free: 55.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.461e-05/0.6707, allocations: 31.81 kB / 1.015 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.991e-06/0.6707, allocations: 0.625 kB / 1.015 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.661e-05/0.6708, allocations: 313.1 kB / 1.015 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.129e-05/0.6708, allocations: 21.38 kB / 1.015 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.575e-05/0.6709, allocations: 24.62 kB / 1.015 GB, free: 54.9 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001044/0.671, allocations: 47.3 kB / 1.015 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.671, allocations: 2.219 kB / 1.015 GB, free: 54.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001602/0.6712, allocations: 89.59 kB / 1.015 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.6712, allocations: 2.812 kB / 1.015 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.6712, allocations: 4.375 kB / 1.015 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.6712, allocations: 0 / 1.015 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001349/0.6714, allocations: 16.55 kB / 1.015 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.281e-06/0.6714, allocations: 1.656 kB / 1.015 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.636e-05/0.6715, allocations: 0 / 1.015 GB, free: 54.85 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.6715, allocations: 6.469 kB / 1.015 GB, free: 54.85 MB / 0.7136 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 (9): * Single equations (assignments): 9 * 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 6.347e-05/0.6715, allocations: 112.8 kB / 1.015 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.762e-05/0.6716, allocations: 11.72 kB / 1.015 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.6719, allocations: 104 kB / 1.015 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.6719, allocations: 0.6562 kB / 1.015 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.6719, allocations: 0 / 1.015 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.6719, allocations: 8.281 kB / 1.015 GB, free: 54.69 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.672, allocations: 163 kB / 1.015 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.672, allocations: 0 / 1.015 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001275/0.6722, allocations: 20.09 kB / 1.015 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.6722, allocations: 5.875 kB / 1.015 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.6722, allocations: 1.125 kB / 1.015 GB, free: 54.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.6722, allocations: 6.312 kB / 1.016 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6722, allocations: 3.469 kB / 1.016 GB, free: 54.49 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002402/0.6725, allocations: 132 kB / 1.016 GB, free: 54.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.6725, allocations: 84.95 kB / 1.016 GB, free: 54.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.6725, allocations: 2.719 kB / 1.016 GB, free: 54.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.724e-05/0.6726, allocations: 0.75 kB / 1.016 GB, free: 54.33 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.6727, allocations: 5.781 kB / 1.016 GB, free: 54.33 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.045e-05/0.6727, allocations: 7.5 kB / 1.016 GB, free: 54.33 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.771e-05/0.6727, allocations: 78.09 kB / 1.016 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6727, allocations: 2.188 kB / 1.016 GB, free: 54.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003029/0.673, allocations: 25.23 kB / 1.016 GB, free: 54.25 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (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 Backend phase and start with SimCode phase: time 0.0001956/0.6732, allocations: 138.2 kB / 1.016 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.6734, allocations: 47.36 kB / 1.016 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.6734, allocations: 0 / 1.016 GB, free: 54.16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.66e-05/0.6735, allocations: 32.95 kB / 1.016 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.6737, allocations: 13.03 kB / 1.016 GB, free: 54.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003777/0.674, allocations: 149 kB / 1.016 GB, free: 54.04 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001057/0.6742, allocations: 0.6791 MB / 1.017 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.6743, allocations: 14.14 kB / 1.017 GB, free: 53.34 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.324e-05/0.6743, allocations: 13.47 kB / 1.017 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of SimCode: time 3.3e-07/0.6743, allocations: 3.938 kB / 1.017 GB, free: 53.33 MB / 0.7136 GB Notification: Performance of Templates: time 0.003496/0.6778, allocations: 0.7796 MB / 1.018 GB, free: 53.3 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)