Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.459/2.459, allocations: 287.9 MB / 302.9 MB, free: 8.262 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.001578/0.001578, allocations: 173.1 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.017/2.017, allocations: 205.4 MB / 0.6301 GB, free: 10.34 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.001025/0.001024, allocations: 95.92 kB / 0.7434 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007652/0.0007654, allocations: 10.75 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1583, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001337/0.1597, allocations: 1.107 MB / 0.9799 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004545/0.1602, allocations: 213.3 kB / 0.9801 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.774e-05/0.1603, allocations: 4 kB / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.221e-05/0.1603, allocations: 0 / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001565/0.1605, allocations: 19.91 kB / 0.9801 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.419e-05/0.1606, allocations: 11.98 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 9.365e-05/0.1607, allocations: 31.97 kB / 0.9801 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 6.905e-05/0.1608, allocations: 4 kB / 0.9801 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.438e-05/0.1608, allocations: 27.84 kB / 0.9802 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.665e-05/0.1609, allocations: 15.92 kB / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.1609, allocations: 0 / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.24e-05/0.161, allocations: 8 kB / 0.9802 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.296e-05/0.161, allocations: 7.922 kB / 0.9802 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.795e-05/0.161, allocations: 33.7 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.174e-05/0.1611, allocations: 27.92 kB / 0.9802 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.51e-06/0.1611, allocations: 0 / 0.9802 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.427e-06/0.1611, allocations: 4 kB / 0.9802 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.487e-06/0.1611, allocations: 0 / 0.9802 GB, free: 26.65 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003951/0.1615, allocations: 359.5 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1616, allocations: 8.031 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.241e-05/0.1616, allocations: 11.91 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.1618, allocations: 182.9 kB / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.149e-05/0.1618, allocations: 0 / 0.9808 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.219e-05/0.1618, allocations: 8 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.162, allocations: 61.67 kB / 0.9809 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1621, allocations: 4 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.147e-05/0.1621, allocations: 4 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1621, allocations: 4 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.1625, allocations: 47.95 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/0.1631, allocations: 296.8 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.1637, allocations: 58.61 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.112e-05/0.1637, allocations: 7.938 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.342e-05/0.1638, allocations: 38.56 kB / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 3.511e-06/0.1638, allocations: 0 / 0.9813 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.000755/0.1646, allocations: 121.7 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.1646, allocations: 51.41 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.1647, allocations: 113.8 kB / 0.9816 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.661e-05/0.1648, allocations: 25.7 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.056e-05/0.1648, allocations: 84.14 kB / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.1649, allocations: 23.73 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.1649, allocations: 0 / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.349e-05/0.165, allocations: 314.8 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.1652, allocations: 35.92 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001938/0.1655, allocations: 27.97 kB / 0.9821 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002188/0.1657, allocations: 31.98 kB / 0.9821 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.504e-06/0.1657, allocations: 4 kB / 0.9821 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004872/0.1662, allocations: 101.5 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1663, allocations: 4 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.838e-06/0.1663, allocations: 0 / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1663, allocations: 192 / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000189/0.1665, allocations: 19.98 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.053e-06/0.1666, allocations: 0 / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.1667, allocations: 11.98 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.1667, allocations: 3.953 kB / 0.9822 GB, free: 24.41 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 (5): * Single equations (assignments): 5 * 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 8.875e-05/0.1668, allocations: 113.8 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.987e-05/0.1669, allocations: 11.89 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004616/0.1674, allocations: 101.5 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.746e-06/0.1674, allocations: 0 / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.521e-06/0.1675, allocations: 4 kB / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.406e-06/0.1675, allocations: 0 / 0.9824 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002877/0.1678, allocations: 169.6 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.081e-06/0.1678, allocations: 3.984 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001848/0.168, allocations: 20 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.074e-06/0.168, allocations: 384 / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.577e-05/0.1681, allocations: 192 / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.205e-06/0.1681, allocations: 7.984 kB / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.738e-06/0.1681, allocations: 0 / 0.9826 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006508/0.1688, allocations: 227.3 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.448e-05/0.1688, allocations: 81.09 kB / 0.9829 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.977e-05/0.1689, allocations: 4 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002091/0.1691, allocations: 8 kB / 0.9829 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.1692, allocations: 11.98 kB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.1692, allocations: 0 / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.528e-05/0.1693, allocations: 87.28 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.59e-07/0.1693, allocations: 0 / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005948/0.1699, allocations: 8 kB / 0.983 GB, free: 23.47 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (4): * Single equations (assignments): 4 * 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.0001301/0.17, allocations: 99.23 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000435/0.1705, allocations: 67.95 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.77e-06/0.1705, allocations: 3.938 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002063/0.1707, allocations: 31.92 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.1712, allocations: 11.94 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/0.1716, allocations: 164.6 kB / 0.9834 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001544/0.1718, allocations: 0.6887 MB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.629e-05/0.1719, allocations: 3.984 kB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.42e-05/0.172, allocations: 11.44 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of SimCode: time 1.935e-06/0.172, allocations: 4 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of Templates: time 0.004119/0.1761, allocations: 0.5099 MB / 0.9846 GB, free: 21.83 MB / 0.6198 GB