Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007875/0.007875, allocations: 99.48 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 183.4 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.512/1.512, allocations: 205.1 MB / 222.5 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6317/0.6317, allocations: 95.48 MB / 365.4 MB, free: 9.785 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 75.91 kB / 0.5036 GB, free: 13.42 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1597, allocations: 69.08 MB / 0.5711 GB, free: 8.277 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001658/0.1614, allocations: 0.5587 MB / 0.5716 GB, free: 7.723 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.1627, allocations: 1.035 MB / 0.5727 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.862e-05/0.1627, allocations: 4 kB / 0.5727 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.086e-05/0.1627, allocations: 0 / 0.5727 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.594e-06/0.1627, allocations: 0 / 0.5727 GB, free: 6.668 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004015/0.1631, allocations: 79.69 kB / 0.5727 GB, free: 6.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.247e-05/0.1632, allocations: 4 kB / 0.5727 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.486e-05/0.1633, allocations: 0 / 0.5727 GB, free: 6.586 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.262e-05/0.1633, allocations: 11.98 kB / 0.5728 GB, free: 6.574 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.1633, allocations: 3.984 kB / 0.5728 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.626e-06/0.1634, allocations: 0 / 0.5728 GB, free: 6.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001747/0.1635, allocations: 91.91 kB / 0.5728 GB, free: 6.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.474e-05/0.1636, allocations: 7.922 kB / 0.5729 GB, free: 6.473 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.084e-05/0.1636, allocations: 7.938 kB / 0.5729 GB, free: 6.465 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001343/0.1637, allocations: 47.94 kB / 0.5729 GB, free: 6.418 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1637, allocations: 0 / 0.5729 GB, free: 6.418 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1638, allocations: 0 / 0.5729 GB, free: 6.418 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1638, allocations: 0 / 0.5729 GB, free: 6.418 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003363/0.1641, allocations: 327.6 kB / 0.5732 GB, free: 6.051 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1642, allocations: 15.98 kB / 0.5732 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.1642, allocations: 0.9375 kB / 0.5732 GB, free: 6.035 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.804e-05/0.1643, allocations: 164.4 kB / 0.5734 GB, free: 5.836 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.919e-06/0.1643, allocations: 3.938 kB / 0.5734 GB, free: 5.832 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.213e-05/0.1643, allocations: 11.94 kB / 0.5734 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001003/0.1645, allocations: 33.69 kB / 0.5734 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.1645, allocations: 0 / 0.5734 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.328e-06/0.1645, allocations: 0 / 0.5734 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1645, allocations: 0 / 0.5734 GB, free: 5.781 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.099e-05/0.1645, allocations: 4 kB / 0.5734 GB, free: 5.777 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000185/0.1647, allocations: 165.5 kB / 0.5736 GB, free: 5.566 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.966e-05/0.1648, allocations: 18.61 kB / 0.5736 GB, free: 5.539 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.53e-05/0.1648, allocations: 12.86 kB / 0.5736 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006685/0.1655, allocations: 0.5622 MB / 0.5742 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.1655, allocations: 30.56 kB / 0.5742 GB, free: 4.793 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 9.81e-07/0.1655, allocations: 4 kB / 0.5742 GB, free: 4.789 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0007219/0.1663, allocations: 246.4 kB / 0.5744 GB, free: 4.496 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.1663, allocations: 55.41 kB / 0.5745 GB, free: 4.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.727e-05/0.1664, allocations: 89.86 kB / 0.5746 GB, free: 4.332 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1664, allocations: 25.7 kB / 0.5746 GB, free: 4.301 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.1664, allocations: 80.14 kB / 0.5747 GB, free: 4.219 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.1665, allocations: 12.03 kB / 0.5747 GB, free: 4.207 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/0.1665, allocations: 21.7 kB / 0.5747 GB, free: 4.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1667, allocations: 318.8 kB / 0.575 GB, free: 3.859 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.826e-05/0.1667, allocations: 0 / 0.575 GB, free: 3.859 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.584e-05/0.1668, allocations: 21.7 kB / 0.575 GB, free: 3.832 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.805e-05/0.1668, allocations: 29.59 kB / 0.5751 GB, free: 3.797 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1668, allocations: 4 kB / 0.5751 GB, free: 3.793 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001022/0.1669, allocations: 53.69 kB / 0.5751 GB, free: 3.734 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.167, allocations: 4 kB / 0.5751 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.167, allocations: 0 / 0.5751 GB, free: 3.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.167, allocations: 7.938 kB / 0.5751 GB, free: 3.723 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.889e-05/0.1671, allocations: 4 kB / 0.5751 GB, free: 3.719 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.216e-06/0.1671, allocations: 3.984 kB / 0.5751 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.112e-05/0.1671, allocations: 4 kB / 0.5751 GB, free: 3.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.1671, allocations: 3.938 kB / 0.5752 GB, free: 3.707 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.866e-05/0.1672, allocations: 113.8 kB / 0.5753 GB, free: 3.586 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.1673, allocations: 4.141 kB / 0.5753 GB, free: 3.582 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.1674, allocations: 61.16 kB / 0.5753 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.1675, allocations: 0 / 0.5753 GB, free: 3.508 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.1675, allocations: 7.938 kB / 0.5753 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1675, allocations: 0 / 0.5753 GB, free: 3.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001461/0.1676, allocations: 157.6 kB / 0.5755 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.1676, allocations: 0 / 0.5755 GB, free: 3.297 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.908e-05/0.1677, allocations: 11.94 kB / 0.5755 GB, free: 3.285 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.1677, allocations: 4 kB / 0.5755 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.1677, allocations: 0 / 0.5755 GB, free: 3.281 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.1677, allocations: 4 kB / 0.5755 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1677, allocations: 0 / 0.5755 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.1679, allocations: 81.05 kB / 0.5756 GB, free: 3.18 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.106e-05/0.168, allocations: 81.02 kB / 0.5757 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.168, allocations: 0 / 0.5757 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.541e-05/0.168, allocations: 8.031 kB / 0.5757 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.19e-05/0.1681, allocations: 0 / 0.5757 GB, free: 3.074 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.904e-06/0.1681, allocations: 4 kB / 0.5757 GB, free: 3.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.276e-05/0.1681, allocations: 79.22 kB / 0.5757 GB, free: 2.992 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1681, allocations: 0 / 0.5757 GB, free: 2.992 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002358/0.1684, allocations: 19.98 kB / 0.5758 GB, free: 2.973 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002308/0.1686, allocations: 119.3 kB / 0.5759 GB, free: 2.844 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001072/0.1687, allocations: 19.98 kB / 0.5759 GB, free: 2.824 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1687, allocations: 0 / 0.5759 GB, free: 2.824 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.645e-05/0.1688, allocations: 7.938 kB / 0.5759 GB, free: 2.816 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/0.1689, allocations: 11.94 kB / 0.5759 GB, free: 2.805 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.1693, allocations: 97.88 kB / 0.576 GB, free: 2.684 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.1696, allocations: 0.6768 MB / 0.5767 GB, free: 1.98 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.105e-05/0.1696, allocations: 12.06 kB / 0.5767 GB, free: 1.969 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.705e-05/0.1696, allocations: 7.438 kB / 0.5767 GB, free: 1.961 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1696, allocations: 0 / 0.5767 GB, free: 1.961 MB / 446.1 MB Notification: Performance of Templates: time 0.003033/0.1727, allocations: 0.6235 MB / 0.5773 GB, free: 1.344 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)