Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PID.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.PID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Continuous.Validation.PID") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.548/2.548, allocations: 287.9 MB / 302.9 MB, free: 8.312 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.001436/0.001436, allocations: 182.7 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.021/2.021, allocations: 205.4 MB / 0.6301 GB, free: 10.37 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.001047/0.001047, allocations: 100.3 kB / 0.7434 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004763, allocations: 17.75 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1551, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PID): time 0.003137/0.1583, allocations: 2.89 MB / 0.9816 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003184/0.1615, allocations: 1.999 MB / 0.9836 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006656/0.1622, allocations: 15.94 kB / 0.9836 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001619/0.1624, allocations: 87.03 kB / 0.9836 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0007346/0.1631, allocations: 179.3 kB / 0.9838 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009655/0.1641, allocations: 367.4 kB / 0.9842 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0009565/0.1651, allocations: 0.691 MB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005902/0.1657, allocations: 403.8 kB / 0.9852 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002806/0.166, allocations: 278.6 kB / 0.9855 GB, free: 21.23 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.1663, allocations: 330 kB / 0.9858 GB, free: 20.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.284e-05/0.1664, allocations: 32 kB / 0.9858 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.1665, allocations: 43.92 kB / 0.9859 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.1667, allocations: 135.3 kB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.1668, allocations: 173.1 kB / 0.9862 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009115/0.1677, allocations: 1.068 MB / 0.9872 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.967e-06/0.1678, allocations: 4 kB / 0.9872 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.17e-06/0.1678, allocations: 3.938 kB / 0.9872 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.267e-05/0.1678, allocations: 0 / 0.9872 GB, free: 19.44 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: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.002148/0.1699, allocations: 1.262 MB / 0.9885 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.17, allocations: 16 kB / 0.9885 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001977/0.1702, allocations: 122.6 kB / 0.9886 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001/0.1712, allocations: 0.622 MB / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.421e-05/0.1713, allocations: 66 kB / 0.9893 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.1714, allocations: 87.91 kB / 0.9893 GB, free: 17.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/0.173, allocations: 0.8245 MB / 0.9902 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.1731, allocations: 0 / 0.9902 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.406e-05/0.1732, allocations: 36 kB / 0.9902 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.788e-05/0.1732, allocations: 20 kB / 0.9902 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.1747, allocations: 0.6363 MB / 0.9908 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004492/0.1793, allocations: 2.848 MB / 0.9936 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001796/0.1811, allocations: 0.745 MB / 0.9943 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.056e-05/0.1812, allocations: 4.562 kB / 0.9943 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007613/0.1819, allocations: 339 kB / 0.9947 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 4.213e-06/0.182, allocations: 4 kB / 0.9947 GB, free: 11.58 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.002019/0.184, allocations: 0.8181 MB / 0.9955 GB, free: 10.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.1841, allocations: 196.5 kB / 0.9957 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009704/0.1851, allocations: 0.7038 MB / 0.9963 GB, free: 9.809 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.786e-05/0.1851, allocations: 41.7 kB / 0.9964 GB, free: 9.762 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003495/0.1855, allocations: 451.6 kB / 0.9968 GB, free: 9.312 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001475/0.1857, allocations: 205.1 kB / 0.997 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.75e-05/0.1857, allocations: 16 kB / 0.997 GB, free: 9.094 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.81e-05/0.1858, allocations: 330 kB / 0.9973 GB, free: 8.766 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007085/0.1865, allocations: 273.5 kB / 0.9976 GB, free: 8.496 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008134/0.1874, allocations: 456.8 kB / 0.998 GB, free: 7.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007495/0.1881, allocations: 340.7 kB / 0.9984 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.163e-06/0.1881, allocations: 0 / 0.9984 GB, free: 7.641 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00189/0.19, allocations: 0.8412 MB / 0.9992 GB, free: 6.789 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002663/0.1903, allocations: 1.174 MB / 1 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1904, allocations: 4 kB / 1 GB, free: 5.512 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.1904, allocations: 8 kB / 1 GB, free: 5.504 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/0.1914, allocations: 159.8 kB / 1 GB, free: 5.348 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.281e-05/0.1915, allocations: 11.94 kB / 1.001 GB, free: 5.336 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.1926, allocations: 169.1 kB / 1.001 GB, free: 5.172 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.432e-05/0.1927, allocations: 27.98 kB / 1.001 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.1927, allocations: 7.938 kB / 1.001 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001176/0.1939, allocations: 0.5981 MB / 1.001 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.459e-06/0.194, allocations: 8.078 kB / 1.001 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.194, allocations: 7.938 kB / 1.001 GB, free: 4.523 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005039/0.1945, allocations: 119.8 kB / 1.001 GB, free: 4.406 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.1945, allocations: 11.89 kB / 1.001 GB, free: 4.395 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006851/0.1952, allocations: 131.6 kB / 1.002 GB, free: 4.266 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.591e-05/0.1953, allocations: 28 kB / 1.002 GB, free: 4.238 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 1 * 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.0004441/0.1957, allocations: 305 kB / 1.002 GB, free: 3.93 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.1959, allocations: 78.97 kB / 1.002 GB, free: 3.852 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.1961, allocations: 80.03 kB / 1.002 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.1961, allocations: 8 kB / 1.002 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.334e-06/0.1961, allocations: 3.953 kB / 1.002 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.085e-06/0.1961, allocations: 3.984 kB / 1.002 GB, free: 3.754 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008866/0.197, allocations: 0.759 MB / 1.003 GB, free: 2.945 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.842e-06/0.197, allocations: 11.98 kB / 1.003 GB, free: 2.934 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006379/0.1977, allocations: 119.8 kB / 1.003 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.024e-05/0.1977, allocations: 4 kB / 1.003 GB, free: 2.812 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.1977, allocations: 15.98 kB / 1.003 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.334e-06/0.1978, allocations: 0 / 1.003 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.916e-06/0.1978, allocations: 0 / 1.003 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.1998, allocations: 0.9486 MB / 1.004 GB, free: 1.828 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.2, allocations: 164 kB / 1.004 GB, free: 1.648 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.885e-05/0.2001, allocations: 12 kB / 1.004 GB, free: 1.637 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003985/0.2005, allocations: 59.95 kB / 1.004 GB, free: 1.578 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.2006, allocations: 36.45 kB / 1.004 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.183e-05/0.2007, allocations: 19.98 kB / 1.004 GB, free: 1.523 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006872/0.2014, allocations: 499 kB / 1.005 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.58e-07/0.2014, allocations: 0 / 1.005 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009358/0.2023, allocations: 314.7 kB / 1.005 GB, free: 0.7305 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001957/0.2025, allocations: 123.2 kB / 1.005 GB, free: 0.6016 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002332/0.2049, allocations: 1.068 MB / 1.006 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.84e-06/0.2049, allocations: 7.922 kB / 1.006 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007436/0.2057, allocations: 292.6 kB / 1.006 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/0.2066, allocations: 164.8 kB / 1.007 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004551/0.2112, allocations: 1.714 MB / 1.008 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/0.2126, allocations: 0.9977 MB / 1.009 GB, free: 12.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001012/0.2136, allocations: 97.89 kB / 1.009 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003512/0.214, allocations: 63.42 kB / 1.009 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of SimCode: time 1.949e-06/0.214, allocations: 0 / 1.009 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of Templates: time 0.02551/0.2395, allocations: 8.406 MB / 1.018 GB, free: 3.805 MB / 0.6355 GB