Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.294/2.294, allocations: 251.1 MB / 266.1 MB, free: 11.61 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001497/0.001496, allocations: 172 kB / 325.6 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.681/2.681, allocations: 205.4 MB / 0.5766 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 105.9 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007039/0.0007042, allocations: 13.03 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2681, allocations: 106.2 MB / 0.8989 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0007319/0.2689, allocations: 345.3 kB / 0.8992 GB, free: 65.61 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001416/0.2703, allocations: 1.029 MB / 0.9002 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.2704, allocations: 0 / 0.9002 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.138e-05/0.2704, allocations: 4 kB / 0.9002 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.546e-05/0.2704, allocations: 0 / 0.9002 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.2708, allocations: 55.8 kB / 0.9003 GB, free: 64.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.549e-05/0.2708, allocations: 4 kB / 0.9003 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.116e-05/0.2709, allocations: 4 kB / 0.9003 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.48e-05/0.2709, allocations: 15.97 kB / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.105e-05/0.271, allocations: 3.938 kB / 0.9003 GB, free: 64.49 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.271, allocations: 4 kB / 0.9003 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.2712, allocations: 87.83 kB / 0.9004 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.2713, allocations: 8 kB / 0.9004 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.972e-05/0.2713, allocations: 29.7 kB / 0.9004 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001059/0.2714, allocations: 39.94 kB / 0.9005 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.2714, allocations: 0 / 0.9005 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2714, allocations: 0 / 0.9005 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.2715, allocations: 3.938 kB / 0.9005 GB, free: 64.31 MB / 0.6042 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.0003774/0.2718, allocations: 339.3 kB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.2719, allocations: 8.031 kB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.272, allocations: 4 kB / 0.9008 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.206e-05/0.2721, allocations: 171 kB / 0.901 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.2721, allocations: 0 / 0.901 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.2721, allocations: 4 kB / 0.901 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.2723, allocations: 41.69 kB / 0.901 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.2723, allocations: 0 / 0.901 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.2723, allocations: 4 kB / 0.901 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.2723, allocations: 0 / 0.901 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.973e-05/0.2724, allocations: 15.92 kB / 0.901 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001546/0.2725, allocations: 169.6 kB / 0.9012 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.2727, allocations: 38.64 kB / 0.9012 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004728/0.2732, allocations: 0.5583 MB / 0.9018 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.2732, allocations: 34.69 kB / 0.9018 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 1.773e-06/0.2732, allocations: 0 / 0.9018 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.002417/0.2756, allocations: 466.4 kB / 0.9023 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.2757, allocations: 55.34 kB / 0.9023 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.874e-05/0.2758, allocations: 101.9 kB / 0.9024 GB, free: 61.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/0.2758, allocations: 25.7 kB / 0.9024 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.942e-05/0.2758, allocations: 80.14 kB / 0.9025 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/0.2759, allocations: 27.64 kB / 0.9025 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.2759, allocations: 0 / 0.9025 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.888e-05/0.276, allocations: 318.8 kB / 0.9028 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.779e-05/0.276, allocations: 19.98 kB / 0.9029 GB, free: 61.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.378e-05/0.2761, allocations: 16 kB / 0.9029 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.793e-05/0.2762, allocations: 24.12 kB / 0.9029 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2762, allocations: 0 / 0.9029 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000195/0.2764, allocations: 93.52 kB / 0.903 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.2764, allocations: 6.031 kB / 0.903 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2764, allocations: 0 / 0.903 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.2765, allocations: 4 kB / 0.903 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001707/0.2766, allocations: 15.98 kB / 0.903 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2767, allocations: 0 / 0.903 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.614e-05/0.2767, allocations: 288 / 0.903 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.261e-05/0.2767, allocations: 7.938 kB / 0.903 GB, free: 61.32 MB / 0.6042 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.818e-05/0.2768, allocations: 121.7 kB / 0.9031 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.2768, allocations: 7.938 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.2771, allocations: 97.62 kB / 0.9032 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.828e-06/0.2772, allocations: 0 / 0.9032 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.2772, allocations: 4 kB / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.2772, allocations: 0 / 0.9032 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.2773, allocations: 177.5 kB / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2773, allocations: 0 / 0.9034 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001746/0.2775, allocations: 23.94 kB / 0.9034 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.2775, allocations: 0 / 0.9034 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.2776, allocations: 0 / 0.9034 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.2776, allocations: 0 / 0.9034 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.2776, allocations: 3.984 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.2779, allocations: 137.1 kB / 0.9036 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.415e-05/0.2779, allocations: 81.14 kB / 0.9036 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.959e-05/0.2779, allocations: 0 / 0.9036 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.513e-05/0.278, allocations: 4 kB / 0.9036 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.201e-05/0.2781, allocations: 4 kB / 0.9036 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.2781, allocations: 4 kB / 0.9036 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.459e-05/0.2781, allocations: 79.27 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.2e-07/0.2781, allocations: 3.938 kB / 0.9037 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002831/0.2784, allocations: 28.16 kB / 0.9038 GB, free: 60.45 MB / 0.6042 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.0002067/0.2786, allocations: 123.2 kB / 0.9039 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001777/0.2788, allocations: 48.05 kB / 0.9039 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2788, allocations: 4 kB / 0.9039 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.957e-05/0.2789, allocations: 31.92 kB / 0.904 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.2791, allocations: 7.953 kB / 0.904 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004462/0.2795, allocations: 159 kB / 0.9041 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.2797, allocations: 0.6809 MB / 0.9048 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.2798, allocations: 12.31 kB / 0.9048 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.287e-05/0.2798, allocations: 11.44 kB / 0.9048 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of SimCode: time 7.81e-07/0.2799, allocations: 0 / 0.9048 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of Templates: time 0.003671/0.2836, allocations: 0.7848 MB / 0.9056 GB, free: 58.55 MB / 0.6042 GB