Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.718/2.718, allocations: 287.9 MB / 302.9 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001443/0.001443, allocations: 179.8 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 100.2 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004975, allocations: 13.31 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1585, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006174/0.1591, allocations: 333.8 kB / 0.9791 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001172/0.1603, allocations: 1.017 MB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.556e-05/0.1604, allocations: 0 / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.273e-05/0.1604, allocations: 7.938 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 1.834e-05/0.1604, allocations: 0 / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002845/0.1607, allocations: 59.8 kB / 0.9801 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.779e-05/0.1608, allocations: 7.984 kB / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.1608, allocations: 4 kB / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.718e-05/0.1608, allocations: 4 kB / 0.9802 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.609e-05/0.1609, allocations: 19.91 kB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.1609, allocations: 0 / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.1611, allocations: 79.91 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.1611, allocations: 15.98 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.68e-05/0.1612, allocations: 25.7 kB / 0.9803 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.353e-05/0.1613, allocations: 35.95 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.633e-06/0.1613, allocations: 0 / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.47e-06/0.1613, allocations: 0 / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.848e-06/0.1613, allocations: 0 / 0.9803 GB, free: 26.54 MB / 0.6198 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.0003237/0.1616, allocations: 331.4 kB / 0.9806 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.1617, allocations: 15.95 kB / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.1617, allocations: 7.906 kB / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.244e-05/0.1618, allocations: 171.2 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.1618, allocations: 4 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.1619, allocations: 4 kB / 0.9808 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.162, allocations: 41.69 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.046e-06/0.162, allocations: 3.938 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.162, allocations: 0 / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.206e-06/0.162, allocations: 3.984 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.994e-05/0.1621, allocations: 12 kB / 0.9809 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001406/0.1622, allocations: 169.7 kB / 0.9811 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.917e-05/0.1623, allocations: 46.44 kB / 0.9811 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003689/0.1627, allocations: 0.5544 MB / 0.9816 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.027e-05/0.1628, allocations: 30.56 kB / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.193e-06/0.1628, allocations: 0 / 0.9817 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001775/0.1646, allocations: 455.7 kB / 0.9821 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.1646, allocations: 51.41 kB / 0.9822 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.852e-05/0.1647, allocations: 101.8 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1647, allocations: 29.7 kB / 0.9823 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.897e-05/0.1647, allocations: 88.06 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-05/0.1648, allocations: 27.56 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.167e-06/0.1648, allocations: 0 / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.1649, allocations: 318.8 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.989e-05/0.1649, allocations: 19.98 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.621e-05/0.165, allocations: 19.98 kB / 0.9827 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.739e-05/0.165, allocations: 24.12 kB / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-06/0.1651, allocations: 0 / 0.9828 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001697/0.1652, allocations: 81.62 kB / 0.9828 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1653, allocations: 9.094 kB / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.89e-06/0.1653, allocations: 0 / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1653, allocations: 0 / 0.9828 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001224/0.1654, allocations: 19.98 kB / 0.9829 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.203e-06/0.1655, allocations: 8.047 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.905e-05/0.1655, allocations: 0 / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/0.1655, allocations: 4 kB / 0.9829 GB, free: 23.55 MB / 0.6198 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.266e-05/0.1656, allocations: 126 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.1656, allocations: 3.906 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000237/0.1659, allocations: 97.58 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.696e-06/0.1659, allocations: 0 / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.327e-06/0.1659, allocations: 4 kB / 0.9831 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.154e-06/0.1659, allocations: 3.984 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001143/0.166, allocations: 173.6 kB / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.989e-06/0.166, allocations: 0 / 0.9833 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001231/0.1662, allocations: 19.92 kB / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.1662, allocations: 0 / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.1662, allocations: 0 / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.288e-06/0.1662, allocations: 0 / 0.9833 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.86e-06/0.1662, allocations: 4 kB / 0.9833 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002393/0.1665, allocations: 137.1 kB / 0.9834 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.946e-05/0.1665, allocations: 81.02 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.1665, allocations: 0 / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.906e-05/0.1666, allocations: 4.031 kB / 0.9835 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.155e-05/0.1667, allocations: 3.984 kB / 0.9835 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.1667, allocations: 11.94 kB / 0.9835 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.04e-05/0.1667, allocations: 75.28 kB / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.27e-07/0.1667, allocations: 0 / 0.9836 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002844/0.167, allocations: 24.16 kB / 0.9836 GB, free: 22.7 MB / 0.6198 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.0001739/0.1672, allocations: 135.2 kB / 0.9837 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001507/0.1674, allocations: 47.98 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.1674, allocations: 0 / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.847e-05/0.1674, allocations: 31.92 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001178/0.1676, allocations: 1.688 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.168, allocations: 164.8 kB / 0.984 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.1681, allocations: 0.6848 MB / 0.9846 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.584e-05/0.1682, allocations: 16.3 kB / 0.9847 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.33e-05/0.1682, allocations: 11.44 kB / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of SimCode: time 1.279e-06/0.1682, allocations: 0 / 0.9847 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of Templates: time 0.003242/0.1715, allocations: 0.7812 MB / 0.9854 GB, free: 20.77 MB / 0.6198 GB