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.006531/0.00653, allocations: 105.5 kB / 15.74 MB, free: 6.488 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.001375/0.001375, allocations: 196 kB / 16.68 MB, free: 6.375 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.65/1.65, 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.7029/0.7029, allocations: 95.49 MB / 365.4 MB, free: 9.781 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.001589/0.001589, allocations: 71.91 kB / 0.5036 GB, free: 13.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1674, allocations: 69.09 MB / 0.5711 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.001681/0.1691, allocations: 0.5432 MB / 0.5716 GB, free: 7.766 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1704, allocations: 1.039 MB / 0.5726 GB, free: 6.711 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.938e-05/0.1704, allocations: 4 kB / 0.5727 GB, free: 6.707 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.626e-05/0.1705, allocations: 3.938 kB / 0.5727 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.953e-06/0.1705, allocations: 3.938 kB / 0.5727 GB, free: 6.699 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.1709, allocations: 79.73 kB / 0.5727 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.474e-05/0.1709, allocations: 4 kB / 0.5727 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.171, allocations: 0 / 0.5727 GB, free: 6.617 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.467e-05/0.171, allocations: 7.984 kB / 0.5727 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.692e-05/0.1711, allocations: 7.984 kB / 0.5728 GB, free: 6.602 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.325e-06/0.1711, allocations: 0 / 0.5728 GB, free: 6.602 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001898/0.1713, allocations: 91.91 kB / 0.5728 GB, free: 6.512 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.1713, allocations: 0 / 0.5728 GB, free: 6.512 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.1713, allocations: 7.938 kB / 0.5729 GB, free: 6.504 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.1715, allocations: 51.92 kB / 0.5729 GB, free: 6.453 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1715, allocations: 0 / 0.5729 GB, free: 6.453 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1715, allocations: 0 / 0.5729 GB, free: 6.453 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1715, allocations: 0 / 0.5729 GB, free: 6.453 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.0004036/0.1719, allocations: 327.6 kB / 0.5732 GB, free: 6.086 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1719, allocations: 15.98 kB / 0.5732 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.565e-05/0.172, allocations: 0.9375 kB / 0.5732 GB, free: 6.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001128/0.1721, allocations: 168.3 kB / 0.5734 GB, free: 5.867 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.1721, allocations: 3.938 kB / 0.5734 GB, free: 5.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.294e-05/0.1722, allocations: 4 kB / 0.5734 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000116/0.1723, allocations: 37.69 kB / 0.5734 GB, free: 5.816 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1723, allocations: 3.984 kB / 0.5734 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1723, allocations: 0 / 0.5734 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1723, allocations: 0 / 0.5734 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.315e-05/0.1724, allocations: 0 / 0.5734 GB, free: 5.812 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.1725, allocations: 165.5 kB / 0.5736 GB, free: 5.602 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.409e-05/0.1726, allocations: 22.55 kB / 0.5736 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.899e-05/0.1726, allocations: 12.86 kB / 0.5736 GB, free: 5.555 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005362/0.1732, allocations: 0.5622 MB / 0.5742 GB, free: 4.863 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1732, allocations: 30.56 kB / 0.5742 GB, free: 4.824 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1732, allocations: 4 kB / 0.5742 GB, free: 4.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005347/0.1737, allocations: 246.4 kB / 0.5744 GB, free: 4.527 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.1738, allocations: 55.41 kB / 0.5745 GB, free: 4.461 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.99e-05/0.1738, allocations: 89.86 kB / 0.5746 GB, free: 4.363 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1738, allocations: 25.7 kB / 0.5746 GB, free: 4.332 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.569e-05/0.1739, allocations: 84.12 kB / 0.5747 GB, free: 4.246 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.1739, allocations: 8.031 kB / 0.5747 GB, free: 4.238 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.15e-05/0.1739, allocations: 25.7 kB / 0.5747 GB, free: 4.207 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001078/0.1741, allocations: 314.8 kB / 0.575 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.1741, allocations: 4 kB / 0.575 GB, free: 3.887 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.1741, allocations: 21.66 kB / 0.575 GB, free: 3.859 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.406e-05/0.1742, allocations: 33.58 kB / 0.5751 GB, free: 3.82 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1742, allocations: 4 kB / 0.5751 GB, free: 3.816 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.292e-05/0.1743, allocations: 49.64 kB / 0.5751 GB, free: 3.762 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.147e-05/0.1743, allocations: 4 kB / 0.5751 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1743, allocations: 0 / 0.5751 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1743, allocations: 0 / 0.5751 GB, free: 3.758 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.258e-05/0.1744, allocations: 15.98 kB / 0.5751 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.1744, allocations: 0 / 0.5751 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.543e-05/0.1744, allocations: 0 / 0.5751 GB, free: 3.742 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.822e-06/0.1744, allocations: 4 kB / 0.5752 GB, free: 3.738 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 7.03e-05/0.1745, allocations: 113.8 kB / 0.5753 GB, free: 3.617 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.1745, allocations: 4 kB / 0.5753 GB, free: 3.613 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000132/0.1746, allocations: 65.11 kB / 0.5753 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1747, allocations: 0 / 0.5753 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1747, allocations: 0 / 0.5753 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.1747, allocations: 4 kB / 0.5753 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001061/0.1748, allocations: 149.6 kB / 0.5755 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1748, allocations: 3.984 kB / 0.5755 GB, free: 3.332 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.1748, allocations: 4 kB / 0.5755 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1748, allocations: 0 / 0.5755 GB, free: 3.328 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.1749, allocations: 7.938 kB / 0.5755 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.1749, allocations: 0 / 0.5755 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1749, allocations: 0 / 0.5755 GB, free: 3.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.175, allocations: 81.3 kB / 0.5756 GB, free: 3.223 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.175, allocations: 81.02 kB / 0.5756 GB, free: 3.125 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1751, allocations: 7.969 kB / 0.5757 GB, free: 3.117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.517e-05/0.1751, allocations: 7.969 kB / 0.5757 GB, free: 3.109 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.197e-05/0.1751, allocations: 4 kB / 0.5757 GB, free: 3.105 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.1752, allocations: 0 / 0.5757 GB, free: 3.105 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.669e-05/0.1752, allocations: 75.28 kB / 0.5757 GB, free: 3.031 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1752, allocations: 4 kB / 0.5757 GB, free: 3.027 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002144/0.1754, allocations: 16 kB / 0.5758 GB, free: 3.012 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.0001822/0.1756, allocations: 123.3 kB / 0.5759 GB, free: 2.879 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.491e-05/0.1757, allocations: 15.98 kB / 0.5759 GB, free: 2.863 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.1757, allocations: 4 kB / 0.5759 GB, free: 2.859 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.44e-05/0.1757, allocations: 7.938 kB / 0.5759 GB, free: 2.852 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.1759, allocations: 7.875 kB / 0.5759 GB, free: 2.844 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002303/0.1761, allocations: 101.9 kB / 0.576 GB, free: 2.719 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.1764, allocations: 0.6768 MB / 0.5767 GB, free: 2.016 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.201e-05/0.1765, allocations: 8.125 kB / 0.5767 GB, free: 2.008 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.1765, allocations: 11.44 kB / 0.5767 GB, free: 1.996 MB / 446.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1765, allocations: 0 / 0.5767 GB, free: 1.996 MB / 446.1 MB Notification: Performance of Templates: time 0.002894/0.1794, allocations: 0.6205 MB / 0.5773 GB, free: 1.379 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)