Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin.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.Sin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.Sin") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.515/2.515, allocations: 287.9 MB / 302.9 MB, free: 8.188 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.001387/0.001387, allocations: 178.9 kB / 371.4 MB, free: 10.66 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.086/2.086, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001024/0.001024, allocations: 99.44 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004784, allocations: 17.75 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1703, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sin): time 0.0006744/0.171, allocations: 381.3 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007983/0.1718, allocations: 0.7988 MB / 0.9799 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.597e-05/0.1718, allocations: 0 / 0.9799 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.112e-05/0.1719, allocations: 0 / 0.9799 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.099e-05/0.1719, allocations: 0 / 0.9799 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001037/0.172, allocations: 19.91 kB / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.604e-05/0.1721, allocations: 15.94 kB / 0.9799 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.483e-05/0.1722, allocations: 7.984 kB / 0.98 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.788e-05/0.1722, allocations: 11.92 kB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.467e-05/0.1723, allocations: 7.984 kB / 0.98 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.1723, allocations: 0 / 0.98 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.929e-06/0.1723, allocations: 4 kB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.023e-05/0.1724, allocations: 3.938 kB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.1724, allocations: 29.7 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.489e-05/0.1724, allocations: 11.97 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1725, allocations: 4 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.848e-06/0.1725, allocations: 0 / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1725, allocations: 0 / 0.98 GB, free: 26.86 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003322/0.1728, allocations: 344.9 kB / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.1729, allocations: 12.02 kB / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.1729, allocations: 4 kB / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.778e-05/0.173, allocations: 167 kB / 0.9805 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.173, allocations: 4 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.265e-05/0.173, allocations: 4 kB / 0.9805 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.1732, allocations: 53.67 kB / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.512e-06/0.1732, allocations: 0 / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.683e-06/0.1732, allocations: 0 / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.406e-06/0.1733, allocations: 0 / 0.9806 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.1735, allocations: 47.91 kB / 0.9806 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002587/0.1737, allocations: 244.9 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001373/0.1739, allocations: 46.59 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.1739, allocations: 0 / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.1739, allocations: 34.62 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.725e-06/0.174, allocations: 0 / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003762/0.1743, allocations: 101.6 kB / 0.981 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.874e-05/0.1744, allocations: 51.41 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.736e-05/0.1744, allocations: 101.8 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.504e-06/0.1745, allocations: 25.7 kB / 0.9812 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.1745, allocations: 88.05 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.1745, allocations: 128 / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-06/0.1745, allocations: 4 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.1746, allocations: 322.7 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.492e-05/0.1747, allocations: 19.98 kB / 0.9816 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.671e-05/0.1748, allocations: 23.97 kB / 0.9817 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.198e-05/0.1749, allocations: 24.05 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.325e-06/0.1749, allocations: 0 / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002256/0.1752, allocations: 85.5 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1752, allocations: 4 kB / 0.9818 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.1752, allocations: 7.922 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.1752, allocations: 4 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.648e-05/0.1753, allocations: 8 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.811e-06/0.1753, allocations: 0 / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.95e-05/0.1754, allocations: 7.984 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.064e-06/0.1754, allocations: 8 kB / 0.9818 GB, free: 24.84 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 (2): * Single equations (assignments): 2 * 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 5.416e-05/0.1755, allocations: 117.8 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.367e-05/0.1755, allocations: 0 / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.1758, allocations: 88.89 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1758, allocations: 4.031 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.469e-06/0.1758, allocations: 3.984 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.613e-06/0.1758, allocations: 0 / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.176, allocations: 165.6 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-06/0.176, allocations: 0 / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.572e-05/0.1761, allocations: 11.98 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1761, allocations: 0 / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.794e-06/0.1761, allocations: 0 / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.12e-06/0.1761, allocations: 0 / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.731e-06/0.1761, allocations: 0 / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002449/0.1764, allocations: 175.5 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.1764, allocations: 88.89 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.1765, allocations: 4 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.1766, allocations: 12.02 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.556e-05/0.1766, allocations: 4 kB / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.474e-06/0.1766, allocations: 0 / 0.9824 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.905e-05/0.1767, allocations: 83.27 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.21e-07/0.1767, allocations: 0 / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002866/0.177, allocations: 4 kB / 0.9825 GB, free: 23.99 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 (2): * Single equations (assignments): 2 * 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.0001013/0.1771, allocations: 99.25 kB / 0.9826 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002303/0.1773, allocations: 51.91 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.467e-06/0.1774, allocations: 0 / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1775, allocations: 28.03 kB / 0.9827 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.1777, allocations: 7.953 kB / 0.9827 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002548/0.178, allocations: 107 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000112/0.1781, allocations: 0.6809 MB / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.1781, allocations: 0 / 0.9835 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.1782, allocations: 7.5 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of SimCode: time 1.293e-06/0.1782, allocations: 4 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.002324/0.1805, allocations: 342.4 kB / 0.9838 GB, free: 22.62 MB / 0.6198 GB