Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset.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.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.685/2.685, allocations: 287.9 MB / 302.9 MB, free: 8.348 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.001406/0.001406, allocations: 181 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.042/2.042, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001009/0.001009, allocations: 99.08 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004774, allocations: 12.38 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1568, allocations: 115.3 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.LimPIDWithReset): time 0.004017/0.1608, allocations: 3.677 MB / 0.9824 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002291/0.1632, allocations: 1.05 MB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006379/0.1638, allocations: 19.94 kB / 0.9834 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/0.164, allocations: 83.02 kB / 0.9835 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006819/0.1647, allocations: 163.4 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006/0.1653, allocations: 271.6 kB / 0.9839 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000995/0.1663, allocations: 0.6715 MB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007057/0.1671, allocations: 481.1 kB / 0.985 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002405/0.1673, allocations: 254.5 kB / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.1676, allocations: 313.9 kB / 0.9856 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.287e-05/0.1677, allocations: 28 kB / 0.9856 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.757e-05/0.1678, allocations: 28 kB / 0.9856 GB, free: 21.1 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.1679, allocations: 139.2 kB / 0.9857 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.168, allocations: 173.1 kB / 0.9859 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009043/0.169, allocations: 1.095 MB / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.515e-06/0.169, allocations: 0 / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.359e-06/0.169, allocations: 0 / 0.987 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.169, allocations: 8 kB / 0.987 GB, free: 19.68 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: 238 * Number of variables: 238 Notification: Performance of Generate backend data structure: time 0.002043/0.1711, allocations: 1.235 MB / 0.9882 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.1711, allocations: 12.02 kB / 0.9882 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001941/0.1713, allocations: 134.3 kB / 0.9883 GB, free: 18.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009188/0.1723, allocations: 0.5938 MB / 0.9889 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.43e-05/0.1723, allocations: 74 kB / 0.989 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.1725, allocations: 103.9 kB / 0.9891 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001787/0.1743, allocations: 0.9018 MB / 0.99 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/0.1743, allocations: 0 / 0.99 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-05/0.1744, allocations: 43.98 kB / 0.99 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.139e-05/0.1745, allocations: 24 kB / 0.99 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.1761, allocations: 0.6792 MB / 0.9907 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004874/0.181, allocations: 2.892 MB / 0.9935 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001441/0.1824, allocations: 0.7222 MB / 0.9942 GB, free: 12.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.707e-05/0.1825, allocations: 12.64 kB / 0.9942 GB, free: 12.06 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008213/0.1834, allocations: 368.3 kB / 0.9946 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=74): time 4.337e-06/0.1834, allocations: 0 / 0.9946 GB, free: 11.68 MB / 0.6198 GB Notification: Performance of matching and sorting (n=74): time 0.002029/0.1854, allocations: 0.8796 MB / 0.9954 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.487e-05/0.1855, allocations: 170.8 kB / 0.9956 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008842/0.1864, allocations: 0.6216 MB / 0.9962 GB, free: 9.965 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.925e-05/0.1865, allocations: 45.69 kB / 0.9963 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002886/0.1868, allocations: 460.1 kB / 0.9967 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.187, allocations: 252.3 kB / 0.9969 GB, free: 9.207 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.709e-05/0.187, allocations: 16 kB / 0.997 GB, free: 9.191 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.446e-05/0.1871, allocations: 337.9 kB / 0.9973 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006354/0.1877, allocations: 253.8 kB / 0.9975 GB, free: 8.609 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007157/0.1885, allocations: 390 kB / 0.9979 GB, free: 8.188 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006833/0.1892, allocations: 294.9 kB / 0.9982 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.571e-06/0.1892, allocations: 0 / 0.9982 GB, free: 7.898 MB / 0.6198 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00166/0.1909, allocations: 0.7505 MB / 0.9989 GB, free: 7.145 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001176/0.191, allocations: 461 kB / 0.9993 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.191, allocations: 4 kB / 0.9993 GB, free: 6.656 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.1911, allocations: 7.938 kB / 0.9994 GB, free: 6.648 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007365/0.1918, allocations: 167.8 kB / 0.9995 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.1918, allocations: 4 kB / 0.9995 GB, free: 6.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005334/0.1924, allocations: 123.2 kB / 0.9996 GB, free: 6.359 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.305e-05/0.1924, allocations: 20 kB / 0.9997 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.1925, allocations: 4 kB / 0.9997 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001011/0.1935, allocations: 0.5427 MB / 1 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.089e-06/0.1935, allocations: 0 / 1 GB, free: 5.793 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.1935, allocations: 4 kB / 1 GB, free: 5.789 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005946/0.1941, allocations: 135.8 kB / 1 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.1942, allocations: 11.92 kB / 1 GB, free: 5.645 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004443/0.1946, allocations: 83.48 kB / 1 GB, free: 5.562 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.45e-05/0.1947, allocations: 24 kB / 1 GB, free: 5.539 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (noTri.y,$whenCondition1,limPIDInp.trigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (92): * Single equations (assignments): 92 * 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 0.0004625/0.1951, allocations: 308.9 kB / 1.001 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.1953, allocations: 86.92 kB / 1.001 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001646/0.1955, allocations: 88.27 kB / 1.001 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.898e-06/0.1955, allocations: 12 kB / 1.001 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.662e-06/0.1955, allocations: 0 / 1.001 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.914e-06/0.1955, allocations: 3.984 kB / 1.001 GB, free: 5.031 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/0.1983, allocations: 1.659 MB / 1.003 GB, free: 3.316 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.343e-06/0.1984, allocations: 4 kB / 1.003 GB, free: 3.312 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000716/0.1991, allocations: 143.8 kB / 1.003 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.605e-06/0.1991, allocations: 0 / 1.003 GB, free: 3.172 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.1992, allocations: 16 kB / 1.003 GB, free: 3.156 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.381e-06/0.1992, allocations: 4 kB / 1.003 GB, free: 3.152 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.206e-06/0.1992, allocations: 3.938 kB / 1.003 GB, free: 3.148 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.2014, allocations: 1.1 MB / 1.004 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.2016, allocations: 160 kB / 1.004 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.2017, allocations: 12 kB / 1.004 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.2022, allocations: 59.95 kB / 1.004 GB, free: 1.785 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.983e-05/0.2023, allocations: 36.61 kB / 1.004 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.978e-05/0.2023, allocations: 23.98 kB / 1.004 GB, free: 1.727 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006019/0.2029, allocations: 439 kB / 1.004 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.61e-07/0.203, allocations: 0 / 1.004 GB, free: 1.305 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009057/0.2039, allocations: 334.2 kB / 1.005 GB, free: 0.9766 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.0001519/0.204, allocations: 136.5 kB / 1.005 GB, free: 0.8359 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002062/0.2061, allocations: 0.931 MB / 1.006 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.632e-06/0.2062, allocations: 0 / 1.006 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008205/0.207, allocations: 331.9 kB / 1.006 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009556/0.208, allocations: 151.6 kB / 1.006 GB, free: 15.43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00386/0.2118, allocations: 1.973 MB / 1.008 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008527/0.2127, allocations: 1.025 MB / 1.009 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006159/0.2134, allocations: 102 kB / 1.009 GB, free: 12.28 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002372/0.2136, allocations: 59.42 kB / 1.009 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of SimCode: time 1.709e-06/0.2136, allocations: 0 / 1.009 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of Templates: time 0.02256/0.2362, allocations: 7.142 MB / 1.016 GB, free: 5.156 MB / 0.6355 GB