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.246/2.246, allocations: 253.2 MB / 260.6 MB, free: 7.559 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.001444/0.001443, allocations: 172.8 kB / 319.9 MB, free: 3.086 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.115/2.115, allocations: 205.6 MB / 0.5708 GB, free: 15.23 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.001136/0.001136, allocations: 91.88 kB / 0.6751 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.873e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2025, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.894/1.096, allocations: 132 MB / 1.018 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/1.097, allocations: 79.39 kB / 1.018 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.008801/1.106, allocations: 1.835 MB / 1.019 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/1.106, allocations: 0 / 1.019 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.244e-06/1.106, allocations: 4 kB / 1.02 GB, free: 3.684 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.000434/1.106, allocations: 345.9 kB / 1.02 GB, free: 3.305 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/1.106, allocations: 12.02 kB / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.603e-05/1.106, allocations: 0 / 1.02 GB, free: 3.293 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001417/1.106, allocations: 171 kB / 1.02 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/1.106, allocations: 4 kB / 1.02 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/1.106, allocations: 0 / 1.02 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.236e-05/1.107, allocations: 11.19 kB / 1.02 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/1.107, allocations: 47.38 kB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/1.107, allocations: 0 / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/1.107, allocations: 0 / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/1.107, allocations: 0 / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001904/1.107, allocations: 140.7 kB / 1.02 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.452e-05/1.107, allocations: 37.64 kB / 1.02 GB, free: 2.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/1.107, allocations: 19.92 kB / 1.02 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006088/1.108, allocations: 0.5615 MB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.366e-05/1.108, allocations: 30.56 kB / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 1.904e-06/1.108, allocations: 0 / 1.021 GB, free: 2.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8): time 0.001162/1.109, allocations: 353.8 kB / 1.021 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.646e-05/1.109, allocations: 55.41 kB / 1.021 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.282e-05/1.109, allocations: 92.69 kB / 1.021 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/1.109, allocations: 26.64 kB / 1.021 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.11e-05/1.109, allocations: 80.14 kB / 1.021 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.262e-05/1.109, allocations: 26.77 kB / 1.021 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/1.109, allocations: 0 / 1.021 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001428/1.109, allocations: 314.8 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.223e-05/1.109, allocations: 18.88 kB / 1.022 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-05/1.11, allocations: 18.94 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001168/1.11, allocations: 30.17 kB / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.11, allocations: 0 / 1.022 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000249/1.11, allocations: 83.03 kB / 1.022 GB, free: 0.9727 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.11, allocations: 7.984 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/1.11, allocations: 4 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/1.11, allocations: 0 / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/1.11, allocations: 15.94 kB / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/1.11, allocations: 0 / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.434e-05/1.11, allocations: 0 / 1.022 GB, free: 0.9453 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/1.11, allocations: 4.562 kB / 1.022 GB, free: 0.9414 MB / 0.6355 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.335e-05/1.11, allocations: 108.9 kB / 1.022 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.031e-05/1.11, allocations: 4 kB / 1.022 GB, free: 0.8242 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003372/1.111, allocations: 91.69 kB / 1.022 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/1.111, allocations: 4 kB / 1.022 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.111, allocations: 0 / 1.022 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.111, allocations: 0 / 1.022 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/1.111, allocations: 149.3 kB / 1.022 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/1.111, allocations: 3.953 kB / 1.022 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/1.111, allocations: 19.75 kB / 1.022 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.908e-06/1.111, allocations: 0 / 1.022 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/1.111, allocations: 4 kB / 1.022 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.111, allocations: 256 / 1.022 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.111, allocations: 3.984 kB / 1.022 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00032/1.112, allocations: 124.2 kB / 1.022 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/1.112, allocations: 89.09 kB / 1.022 GB, free: 316 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.159e-05/1.112, allocations: 7.922 kB / 1.022 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.136e-05/1.112, allocations: 0 / 1.022 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.416e-05/1.112, allocations: 4 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/1.112, allocations: 0 / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.936e-05/1.112, allocations: 86.47 kB / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of sort global known variables: time 4.61e-07/1.112, allocations: 0 / 1.023 GB, free: 220 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003337/1.112, allocations: 36.08 kB / 1.023 GB, free: 184 kB / 0.6355 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.0002542/1.113, allocations: 131.2 kB / 1.023 GB, free: 44 kB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001595/1.113, allocations: 41.25 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.113, allocations: 3.938 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.437e-05/1.113, allocations: 30.23 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/1.113, allocations: 1.125 kB / 1.023 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004216/1.113, allocations: 99.94 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003031/1.114, allocations: 0.6852 MB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001318/1.114, allocations: 9.281 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.271e-05/1.114, allocations: 11.44 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of SimCode: time 8.02e-07/1.114, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of Templates: time 0.003929/1.118, allocations: 0.7302 MB / 1.024 GB, free: 14.43 MB / 0.6511 GB