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 5.002/5.002, allocations: 0.5623 GB / 0.5769 GB, free: 3.309 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002401/0.002401, allocations: 362.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.977/3.977, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001673/0.001672, allocations: 178.6 kB / 1.225 GB, free: 35.88 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.0004953, allocations: 12 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1593, allocations: 115.3 MB / 1.461 GB, free: 6.547 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0006453/0.16, allocations: 333.8 kB / 1.461 GB, free: 6.211 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.1612, allocations: 1.022 MB / 1.462 GB, free: 5.18 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.176e-05/0.1613, allocations: 4 kB / 1.462 GB, free: 5.176 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.442e-06/0.1613, allocations: 3.938 kB / 1.462 GB, free: 5.172 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.088e-05/0.1613, allocations: 0 / 1.462 GB, free: 5.172 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002858/0.1616, allocations: 63.73 kB / 1.462 GB, free: 5.109 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.293e-05/0.1617, allocations: 11.98 kB / 1.462 GB, free: 5.098 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.1617, allocations: 0 / 1.462 GB, free: 5.098 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.959e-05/0.1618, allocations: 8 kB / 1.462 GB, free: 5.09 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.448e-05/0.1618, allocations: 15.91 kB / 1.462 GB, free: 5.074 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.1618, allocations: 0 / 1.462 GB, free: 5.074 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/0.162, allocations: 87.91 kB / 1.462 GB, free: 4.988 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.15e-05/0.1621, allocations: 3.984 kB / 1.462 GB, free: 4.984 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.1621, allocations: 29.7 kB / 1.462 GB, free: 4.949 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.408e-05/0.1622, allocations: 43.94 kB / 1.462 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.1622, allocations: 0 / 1.462 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.881e-06/0.1622, allocations: 0 / 1.462 GB, free: 4.906 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.138e-06/0.1622, allocations: 0 / 1.462 GB, free: 4.906 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.0003247/0.1626, allocations: 333.8 kB / 1.463 GB, free: 4.535 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1626, allocations: 8.031 kB / 1.463 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.83e-05/0.1626, allocations: 7.906 kB / 1.463 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.171e-05/0.1627, allocations: 171.2 kB / 1.463 GB, free: 4.312 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.1628, allocations: 7.984 kB / 1.463 GB, free: 4.305 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.448e-05/0.1628, allocations: 11.88 kB / 1.463 GB, free: 4.293 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1629, allocations: 45.69 kB / 1.463 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.242e-06/0.1629, allocations: 0 / 1.463 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.1629, allocations: 0 / 1.463 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-06/0.163, allocations: 0 / 1.463 GB, free: 4.242 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.198e-05/0.163, allocations: 12 kB / 1.463 GB, free: 4.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001395/0.1632, allocations: 161.6 kB / 1.463 GB, free: 4.023 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.546e-05/0.1633, allocations: 46.56 kB / 1.463 GB, free: 3.969 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.541e-05/0.1633, allocations: 24.98 kB / 1.463 GB, free: 3.941 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003811/0.1637, allocations: 0.5544 MB / 1.464 GB, free: 3.258 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.959e-05/0.1638, allocations: 30.56 kB / 1.464 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=5): time 2.361e-06/0.1638, allocations: 0 / 1.464 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.001811/0.1656, allocations: 458.5 kB / 1.464 GB, free: 2.719 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.1657, allocations: 59.34 kB / 1.464 GB, free: 2.648 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.985e-05/0.1657, allocations: 93.86 kB / 1.464 GB, free: 2.547 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.366e-05/0.1657, allocations: 29.7 kB / 1.464 GB, free: 2.512 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.759e-05/0.1658, allocations: 80.14 kB / 1.464 GB, free: 2.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.1658, allocations: 35.53 kB / 1.464 GB, free: 2.395 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.233e-06/0.1658, allocations: 3.938 kB / 1.464 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/0.1659, allocations: 318.8 kB / 1.465 GB, free: 2.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.018e-05/0.166, allocations: 19.98 kB / 1.465 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.632e-05/0.166, allocations: 16 kB / 1.465 GB, free: 2.035 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/0.1661, allocations: 20 kB / 1.465 GB, free: 2.016 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-06/0.1661, allocations: 4.125 kB / 1.465 GB, free: 2.012 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001721/0.1663, allocations: 85.8 kB / 1.465 GB, free: 1.922 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1663, allocations: 8 kB / 1.465 GB, free: 1.914 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1663, allocations: 96 / 1.465 GB, free: 1.914 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1663, allocations: 3.938 kB / 1.465 GB, free: 1.91 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001246/0.1665, allocations: 12 kB / 1.465 GB, free: 1.898 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.271e-06/0.1665, allocations: 0 / 1.465 GB, free: 1.898 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.193e-05/0.1665, allocations: 8 kB / 1.465 GB, free: 1.891 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.1666, allocations: 0 / 1.465 GB, free: 1.891 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.557e-05/0.1666, allocations: 129.7 kB / 1.465 GB, free: 1.754 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.751e-05/0.1667, allocations: 3.906 kB / 1.465 GB, free: 1.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002417/0.1669, allocations: 93.64 kB / 1.465 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.07e-06/0.1669, allocations: 0 / 1.465 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.921e-06/0.1669, allocations: 0 / 1.465 GB, free: 1.656 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.167, allocations: 8 kB / 1.465 GB, free: 1.648 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.1671, allocations: 169.6 kB / 1.465 GB, free: 1.434 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.307e-06/0.1671, allocations: 0 / 1.465 GB, free: 1.434 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.1672, allocations: 15.98 kB / 1.465 GB, free: 1.418 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.831e-06/0.1672, allocations: 0 / 1.465 GB, free: 1.418 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.1673, allocations: 4 kB / 1.465 GB, free: 1.414 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.392e-06/0.1673, allocations: 3.938 kB / 1.465 GB, free: 1.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1673, allocations: 0 / 1.465 GB, free: 1.41 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.1676, allocations: 137 kB / 1.465 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.727e-05/0.1676, allocations: 85.02 kB / 1.466 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.1677, allocations: 3.969 kB / 1.466 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.1677, allocations: 4.062 kB / 1.466 GB, free: 1.148 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.664e-05/0.1678, allocations: 11.98 kB / 1.466 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.1e-05/0.1678, allocations: 0 / 1.466 GB, free: 1.137 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.757e-05/0.1679, allocations: 75.28 kB / 1.466 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.89e-07/0.1679, allocations: 0 / 1.466 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003324/0.1682, allocations: 28 kB / 1.466 GB, free: 1.035 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.0002367/0.1685, allocations: 131.9 kB / 1.466 GB, free: 0.8984 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001787/0.1687, allocations: 51.97 kB / 1.466 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.444e-06/0.1687, allocations: 0 / 1.466 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.157e-05/0.1688, allocations: 31.92 kB / 1.466 GB, free: 0.8164 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.169, allocations: 8.141 kB / 1.466 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004298/0.1694, allocations: 152.9 kB / 1.466 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.1698, allocations: 0.6887 MB / 1.467 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001043/0.1699, allocations: 8.578 kB / 1.467 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.922e-05/0.17, allocations: 15.42 kB / 1.467 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of SimCode: time 1.459e-06/0.17, allocations: 0 / 1.467 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.003678/0.1737, allocations: 0.7897 MB / 1.467 GB, free: 15.11 MB / 0.6198 GB