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.229/2.229, allocations: 252.6 MB / 265.2 MB, free: 5.652 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 187.8 kB / 324.5 MB, free: 14.38 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.121/2.121, allocations: 205.4 MB / 0.5754 GB, free: 10.47 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.00104/0.00104, allocations: 90.08 kB / 0.6797 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.724e-05/3.74e-05, allocations: 8 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2091, allocations: 106.2 MB / 0.8949 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8902/1.099, allocations: 131.8 MB / 1.024 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/1.1, allocations: 76.7 kB / 1.024 GB, free: 2.66 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008683/1.108, allocations: 1.841 MB / 1.025 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/1.108, allocations: 0 / 1.025 GB, free: 1.066 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.083e-05/1.108, allocations: 4 kB / 1.025 GB, free: 1.062 MB / 0.6355 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.0003932/1.109, allocations: 345.5 kB / 1.026 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/1.109, allocations: 8.031 kB / 1.026 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.629e-05/1.109, allocations: 4 kB / 1.026 GB, free: 0.6719 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/1.109, allocations: 169.8 kB / 1.026 GB, free: 480 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/1.109, allocations: 4 kB / 1.026 GB, free: 476 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/1.109, allocations: 4 kB / 1.026 GB, free: 472 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/1.109, allocations: 47.44 kB / 1.026 GB, free: 428 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.109, allocations: 3.938 kB / 1.026 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/1.109, allocations: 0 / 1.026 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.109, allocations: 0 / 1.026 GB, free: 424 kB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.607e-05/1.109, allocations: 19.61 kB / 1.026 GB, free: 408 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002098/1.11, allocations: 160.8 kB / 1.026 GB, free: 204 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001179/1.11, allocations: 48.12 kB / 1.026 GB, free: 156 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.806e-05/1.11, allocations: 23.66 kB / 1.026 GB, free: 136 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006263/1.111, allocations: 0.5544 MB / 1.027 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/1.111, allocations: 30.56 kB / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=5): time 1.743e-06/1.111, allocations: 0 / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.002479/1.113, allocations: 448.7 kB / 1.027 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/1.113, allocations: 55.41 kB / 1.027 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.517e-05/1.113, allocations: 96.3 kB / 1.027 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.283e-05/1.113, allocations: 25.7 kB / 1.027 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/1.113, allocations: 80.14 kB / 1.028 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/1.113, allocations: 22.53 kB / 1.028 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.905e-06/1.113, allocations: 3.562 kB / 1.028 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.114, allocations: 318.8 kB / 1.028 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.261e-05/1.114, allocations: 18.19 kB / 1.028 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.763e-05/1.114, allocations: 21.88 kB / 1.028 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.212e-05/1.114, allocations: 22.44 kB / 1.028 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/1.114, allocations: 0 / 1.028 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002092/1.114, allocations: 86.78 kB / 1.028 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/1.114, allocations: 13.55 kB / 1.028 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/1.114, allocations: 96 / 1.028 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/1.114, allocations: 3.938 kB / 1.028 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001677/1.114, allocations: 12 kB / 1.028 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.114, allocations: 0 / 1.028 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/1.114, allocations: 4.875 kB / 1.028 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.114e-05/1.114, allocations: 0 / 1.028 GB, free: 14.19 MB / 0.6511 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 () * 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 9.134e-05/1.114, allocations: 116.7 kB / 1.028 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.534e-05/1.114, allocations: 0 / 1.028 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003159/1.115, allocations: 99.94 kB / 1.028 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/1.115, allocations: 0 / 1.028 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.115, allocations: 4 kB / 1.028 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.115, allocations: 7.938 kB / 1.028 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/1.115, allocations: 174.7 kB / 1.028 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/1.115, allocations: 0.5 kB / 1.028 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/1.115, allocations: 12 kB / 1.028 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/1.115, allocations: 0 / 1.028 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/1.115, allocations: 4.25 kB / 1.028 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/1.115, allocations: 7.984 kB / 1.028 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/1.115, allocations: 0 / 1.028 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/1.116, allocations: 140.7 kB / 1.029 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/1.116, allocations: 77.11 kB / 1.029 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.891e-05/1.116, allocations: 0 / 1.029 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.791e-05/1.116, allocations: 7.344 kB / 1.029 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.474e-05/1.116, allocations: 3.984 kB / 1.029 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.467e-05/1.116, allocations: 4 kB / 1.029 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.457e-05/1.116, allocations: 75.28 kB / 1.029 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.116, allocations: 0 / 1.029 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002924/1.116, allocations: 35.03 kB / 1.029 GB, free: 13.4 MB / 0.6511 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 () * 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.0002648/1.117, allocations: 146.9 kB / 1.029 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001906/1.117, allocations: 51.73 kB / 1.029 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.117, allocations: 0 / 1.029 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.043e-05/1.117, allocations: 34 kB / 1.029 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/1.117, allocations: 10.48 kB / 1.029 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004379/1.117, allocations: 104.2 kB / 1.029 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/1.118, allocations: 0.6926 MB / 1.03 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001273/1.118, allocations: 8.188 kB / 1.03 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.431e-05/1.118, allocations: 11.44 kB / 1.03 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of SimCode: time 7.22e-07/1.118, allocations: 0 / 1.03 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of Templates: time 0.003876/1.122, allocations: 0.7382 MB / 1.03 GB, free: 11.61 MB / 0.6511 GB