Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01057/0.01058, allocations: 90.58 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001216/0.001216, allocations: 170.5 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.309/2.309, allocations: 205.5 MB / 222.2 MB, free: 13.73 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.443/2.443, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006421/0.0006424, allocations: 14.31 kB / 0.6243 GB, free: 28.39 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2895, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.00102/0.2906, allocations: 341 kB / 0.7284 GB, free: 9.828 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.002721/0.2934, allocations: 1.025 MB / 0.7294 GB, free: 8.793 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.63e-05/0.2935, allocations: 0 / 0.7294 GB, free: 8.793 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.2935, allocations: 3.938 kB / 0.7294 GB, free: 8.789 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 3.485e-05/0.2936, allocations: 0 / 0.7294 GB, free: 8.789 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005587/0.2942, allocations: 59.8 kB / 0.7295 GB, free: 8.73 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 6.85e-05/0.2942, allocations: 8 kB / 0.7295 GB, free: 8.723 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 6.184e-05/0.2943, allocations: 7.984 kB / 0.7295 GB, free: 8.715 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 3.656e-05/0.2944, allocations: 4 kB / 0.7295 GB, free: 8.711 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.2945, allocations: 15.92 kB / 0.7295 GB, free: 8.695 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.2945, allocations: 0 / 0.7295 GB, free: 8.695 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004447/0.295, allocations: 83.84 kB / 0.7296 GB, free: 8.613 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 2.726e-05/0.2951, allocations: 7.969 kB / 0.7296 GB, free: 8.605 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.2951, allocations: 33.7 kB / 0.7296 GB, free: 8.566 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.2954, allocations: 35.95 kB / 0.7297 GB, free: 8.531 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2954, allocations: 0 / 0.7297 GB, free: 8.531 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2954, allocations: 0 / 0.7297 GB, free: 8.531 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 6.483e-06/0.2954, allocations: 0 / 0.7297 GB, free: 8.531 MB / 0.5574 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.0007078/0.2962, allocations: 339.4 kB / 0.73 GB, free: 8.152 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 6.285e-05/0.2962, allocations: 8.031 kB / 0.73 GB, free: 8.145 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.996e-05/0.2963, allocations: 34.56 kB / 0.73 GB, free: 8.102 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.235e-05/0.2964, allocations: 0 / 0.73 GB, free: 8.102 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001991/0.2966, allocations: 171 kB / 0.7302 GB, free: 7.895 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.2966, allocations: 8 kB / 0.7302 GB, free: 7.887 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.191e-05/0.2967, allocations: 0 / 0.7302 GB, free: 7.887 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.2969, allocations: 41.69 kB / 0.7302 GB, free: 7.84 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.2969, allocations: 0 / 0.7302 GB, free: 7.84 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.2969, allocations: 0 / 0.7302 GB, free: 7.84 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.2969, allocations: 0 / 0.7302 GB, free: 7.84 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.108e-05/0.297, allocations: 15.98 kB / 0.7302 GB, free: 7.824 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.2974, allocations: 169.9 kB / 0.7304 GB, free: 7.609 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.2976, allocations: 50.5 kB / 0.7305 GB, free: 7.551 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001068/0.2987, allocations: 0.5505 MB / 0.731 GB, free: 6.871 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.774e-05/0.2988, allocations: 30.56 kB / 0.731 GB, free: 6.832 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=5): time 2.986e-06/0.2988, allocations: 7.938 kB / 0.731 GB, free: 6.824 MB / 0.5574 GB Notification: Performance of matching and sorting (n=8): time 0.004113/0.3029, allocations: 458.1 kB / 0.7315 GB, free: 6.324 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.303, allocations: 55.41 kB / 0.7315 GB, free: 6.258 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3032, allocations: 97.86 kB / 0.7316 GB, free: 6.152 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.977e-05/0.3032, allocations: 25.7 kB / 0.7316 GB, free: 6.121 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 5.627e-05/0.3033, allocations: 80.14 kB / 0.7317 GB, free: 6.039 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.3034, allocations: 32.31 kB / 0.7317 GB, free: 6.008 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-06/0.3034, allocations: 0 / 0.7317 GB, free: 6.008 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001864/0.3036, allocations: 322.8 kB / 0.732 GB, free: 5.684 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.3037, allocations: 19.92 kB / 0.7321 GB, free: 5.664 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.649e-05/0.3038, allocations: 23.98 kB / 0.7321 GB, free: 5.641 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000111/0.304, allocations: 16.12 kB / 0.7321 GB, free: 5.625 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.304, allocations: 4 kB / 0.7321 GB, free: 5.621 MB / 0.5574 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003054/0.3043, allocations: 89.53 kB / 0.7322 GB, free: 5.527 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/0.3044, allocations: 8 kB / 0.7322 GB, free: 5.52 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3044, allocations: 0 / 0.7322 GB, free: 5.52 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.3044, allocations: 0 / 0.7322 GB, free: 5.52 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/0.3046, allocations: 15.94 kB / 0.7322 GB, free: 5.504 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.3046, allocations: 0 / 0.7322 GB, free: 5.504 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.545e-05/0.3047, allocations: 7.984 kB / 0.7322 GB, free: 5.496 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.245e-05/0.3047, allocations: 0 / 0.7322 GB, free: 5.496 MB / 0.5574 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 0.0001218/0.3049, allocations: 121.8 kB / 0.7323 GB, free: 5.367 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.007e-05/0.3049, allocations: 0 / 0.7323 GB, free: 5.367 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003435/0.3052, allocations: 101.8 kB / 0.7324 GB, free: 5.258 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.153e-06/0.3053, allocations: 3.984 kB / 0.7324 GB, free: 5.254 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3053, allocations: 0 / 0.7324 GB, free: 5.254 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.3053, allocations: 11.98 kB / 0.7325 GB, free: 5.242 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001858/0.3055, allocations: 165.6 kB / 0.7326 GB, free: 5.031 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.3055, allocations: 0 / 0.7326 GB, free: 5.031 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.3057, allocations: 16.42 kB / 0.7326 GB, free: 5.016 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.3057, allocations: 0 / 0.7326 GB, free: 5.016 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.3057, allocations: 4 kB / 0.7326 GB, free: 5.012 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.3058, allocations: 8 kB / 0.7326 GB, free: 5.004 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3058, allocations: 0 / 0.7326 GB, free: 5.004 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.3061, allocations: 149 kB / 0.7328 GB, free: 4.84 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 4.913e-05/0.3062, allocations: 77.11 kB / 0.7329 GB, free: 4.746 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.034e-05/0.3062, allocations: 0 / 0.7329 GB, free: 4.746 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.529e-05/0.3063, allocations: 4.031 kB / 0.7329 GB, free: 4.742 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.3064, allocations: 11.98 kB / 0.7329 GB, free: 4.73 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.3064, allocations: 0 / 0.7329 GB, free: 4.73 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 4.773e-05/0.3064, allocations: 75.28 kB / 0.7329 GB, free: 4.656 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.81e-07/0.3064, allocations: 0 / 0.7329 GB, free: 4.656 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0003031/0.3068, allocations: 24 kB / 0.733 GB, free: 4.633 MB / 0.5574 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.0008226/0.3076, allocations: 0.6984 MB / 0.7336 GB, free: 3.906 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.3078, allocations: 59.91 kB / 0.7337 GB, free: 3.848 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.3078, allocations: 0 / 0.7337 GB, free: 3.848 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 7.909e-05/0.3079, allocations: 24 kB / 0.7337 GB, free: 3.824 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.3081, allocations: 8.062 kB / 0.7337 GB, free: 3.816 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.3092, allocations: 450.8 kB / 0.7342 GB, free: 3.332 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.3095, allocations: 0.6848 MB / 0.7348 GB, free: 2.621 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001292/0.3097, allocations: 12.25 kB / 0.7348 GB, free: 2.605 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.127e-05/0.3097, allocations: 11.44 kB / 0.7349 GB, free: 2.594 MB / 0.5574 GB Notification: Performance of SimCode: time 1.292e-06/0.3098, allocations: 0 / 0.7349 GB, free: 2.594 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02467/0.3344, allocations: 1.532 MB / 0.7364 GB, free: 1.184 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003422/0.3348, allocations: 214.9 kB / 0.7366 GB, free: 0.9414 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.647/2.982, allocations: 0 / 0.7366 GB, free: 0.9414 MB / 0.5574 GB