Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Controls.OBC.CDL.Continuous.Validation.Add,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Add") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.621/2.621, allocations: 287.9 MB / 302.9 MB, free: 8.305 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.00224/0.002239, allocations: 183.3 kB / 371.4 MB, free: 10.65 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.106/2.106, allocations: 205.4 MB / 0.6301 GB, free: 10.36 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.001006/0.001006, allocations: 94.03 kB / 0.7434 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004693, allocations: 21.75 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1617, allocations: 115.3 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.0007137/0.1625, allocations: 433.2 kB / 0.9792 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008062/0.1633, allocations: 0.7948 MB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.1633, allocations: 3.938 kB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.283e-05/0.1634, allocations: 3.938 kB / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.114e-05/0.1634, allocations: 11.98 kB / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.557e-05/0.1635, allocations: 7.984 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.68e-05/0.1636, allocations: 31.84 kB / 0.98 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.248e-05/0.1637, allocations: 12 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.594e-05/0.1637, allocations: 11.98 kB / 0.98 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.447e-05/0.1638, allocations: 27.84 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.1638, allocations: 4 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.642e-06/0.1638, allocations: 0 / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.169e-05/0.1639, allocations: 3.984 kB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.136e-05/0.1639, allocations: 33.7 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.631e-05/0.164, allocations: 27.92 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.613e-06/0.164, allocations: 0 / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.026e-06/0.164, allocations: 0 / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.836e-06/0.164, allocations: 4 kB / 0.9801 GB, free: 26.72 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.0004148/0.1644, allocations: 371.5 kB / 0.9805 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1645, allocations: 12.02 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.924e-05/0.1645, allocations: 7.906 kB / 0.9805 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.262e-05/0.1646, allocations: 179 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1646, allocations: 4 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.239e-05/0.1646, allocations: 4 kB / 0.9807 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002576/0.1649, allocations: 73.66 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.1649, allocations: 0 / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.165, allocations: 4 kB / 0.9808 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-06/0.165, allocations: 4 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003322/0.1653, allocations: 87.86 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003243/0.1657, allocations: 276.8 kB / 0.9811 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002241/0.1659, allocations: 70.53 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.1659, allocations: 0 / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.755e-05/0.166, allocations: 34.56 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.756e-06/0.166, allocations: 0 / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0006205/0.1666, allocations: 169.6 kB / 0.9814 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.107e-05/0.1666, allocations: 51.41 kB / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.447e-05/0.1667, allocations: 118 kB / 0.9815 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.1667, allocations: 25.7 kB / 0.9816 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.1668, allocations: 91.98 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.1668, allocations: 11.84 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-06/0.1668, allocations: 0 / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.1669, allocations: 326.8 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.1671, allocations: 39.97 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/0.1673, allocations: 48.14 kB / 0.9821 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001626/0.1674, allocations: 44.05 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.26e-06/0.1674, allocations: 0 / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003804/0.1678, allocations: 121.6 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1679, allocations: 5.406 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.396e-06/0.1679, allocations: 4 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.1679, allocations: 0 / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1681, allocations: 23.97 kB / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.912e-06/0.1681, allocations: 0 / 0.9822 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.239e-05/0.1682, allocations: 15.98 kB / 0.9823 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.652e-06/0.1682, allocations: 4 kB / 0.9823 GB, free: 24.32 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 (3): * Single equations (assignments): 3 * 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.521e-05/0.1683, allocations: 117.8 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.1683, allocations: 3.906 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.479e-05/0.1684, allocations: 11.91 kB / 0.9824 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1684, allocations: 3.984 kB / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.916e-06/0.1684, allocations: 0 / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.493e-06/0.1684, allocations: 0 / 0.9824 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/0.1686, allocations: 173.6 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.147e-06/0.1686, allocations: 0 / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.1687, allocations: 27.97 kB / 0.9826 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.1687, allocations: 0 / 0.9826 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.473e-06/0.1688, allocations: 3.938 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.943e-06/0.1688, allocations: 0 / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.222e-06/0.1688, allocations: 4 kB / 0.9826 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004141/0.1692, allocations: 219.3 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.231e-05/0.1692, allocations: 77.11 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.1693, allocations: 4 kB / 0.9829 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.1694, allocations: 19.97 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.029e-05/0.1695, allocations: 4 kB / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.798e-06/0.1695, allocations: 0 / 0.9829 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.648e-05/0.1695, allocations: 95.58 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.7e-07/0.1696, allocations: 3.938 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003009/0.1699, allocations: 4 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (3): * Single equations (assignments): 3 * 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.0001175/0.17, allocations: 107.2 kB / 0.9831 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003968/0.1704, allocations: 99.86 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.788e-06/0.1704, allocations: 0 / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.1706, allocations: 43.95 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.1709, allocations: 11.95 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.1712, allocations: 136.7 kB / 0.9834 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001191/0.1713, allocations: 0.6809 MB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.948e-05/0.1714, allocations: 8 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.1714, allocations: 7.438 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of SimCode: time 2.17e-06/0.1715, allocations: 0 / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of Templates: time 0.002922/0.1744, allocations: 0.5355 MB / 0.9846 GB, free: 21.8 MB / 0.6198 GB