Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0153/0.0153, allocations: 222 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001163/0.001163, allocations: 180.4 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.679/3.679, allocations: 389.1 MB / 405.9 MB, free: 11.84 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.07/4.07, allocations: 472.3 MB / 0.9018 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.000489/0.0004893, allocations: 16 kB / 1.008 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1331, allocations: 98.72 MB / 1.104 GB, free: 80.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.004328/0.1375, allocations: 4.402 MB / 1.108 GB, free: 76.14 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.003689/0.1412, allocations: 1.761 MB / 1.11 GB, free: 74.38 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009294/0.1422, allocations: 43.75 kB / 1.11 GB, free: 74.33 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.1424, allocations: 90.84 kB / 1.11 GB, free: 74.24 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001026/0.1434, allocations: 269.3 kB / 1.11 GB, free: 73.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.1454, allocations: 0.7091 MB / 1.111 GB, free: 73.29 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001612/0.147, allocations: 1.289 MB / 1.112 GB, free: 72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006284/0.1477, allocations: 377.6 kB / 1.113 GB, free: 71.64 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004725/0.1481, allocations: 376.9 kB / 1.113 GB, free: 71.27 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003858/0.1485, allocations: 413.3 kB / 1.114 GB, free: 70.86 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.1487, allocations: 32 kB / 1.114 GB, free: 70.83 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.759e-05/0.1488, allocations: 32 kB / 1.114 GB, free: 70.8 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.1489, allocations: 162.4 kB / 1.114 GB, free: 70.64 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/0.1491, allocations: 201 kB / 1.114 GB, free: 70.44 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.1501, allocations: 1.107 MB / 1.115 GB, free: 69.33 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.754e-06/0.1501, allocations: 0 / 1.115 GB, free: 69.33 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.116e-06/0.1502, allocations: 0 / 1.115 GB, free: 69.33 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.415e-05/0.1502, allocations: 0 / 1.115 GB, free: 69.33 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002682/0.1529, allocations: 1.461 MB / 1.116 GB, free: 67.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1529, allocations: 15.09 kB / 1.116 GB, free: 67.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/0.1532, allocations: 146.2 kB / 1.117 GB, free: 67.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.1549, allocations: 0.8453 MB / 1.117 GB, free: 66.78 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.12e-05/0.155, allocations: 58 kB / 1.117 GB, free: 66.72 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001274/0.1551, allocations: 87.92 kB / 1.118 GB, free: 66.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001688/0.1568, allocations: 0.8757 MB / 1.118 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.1569, allocations: 0 / 1.118 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.413e-05/0.157, allocations: 32 kB / 1.118 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.157, allocations: 22.3 kB / 1.118 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/0.1587, allocations: 0.6223 MB / 1.119 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00492/0.1637, allocations: 3.454 MB / 1.122 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.1658, allocations: 0.7362 MB / 1.123 GB, free: 60.76 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00081/0.1667, allocations: 322.7 kB / 1.123 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.304e-05/0.1667, allocations: 13.97 kB / 1.123 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000896/0.1677, allocations: 349.3 kB / 1.124 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=67): time 4.226e-06/0.1677, allocations: 0.6562 kB / 1.124 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=67): time 0.002399/0.1701, allocations: 0.8613 MB / 1.125 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.1702, allocations: 63.91 kB / 1.125 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001308/0.1715, allocations: 0.9477 MB / 1.126 GB, free: 58.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.862e-05/0.1716, allocations: 41.7 kB / 1.126 GB, free: 58.15 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003645/0.1719, allocations: 0.4974 MB / 1.126 GB, free: 57.65 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.1721, allocations: 226.4 kB / 1.126 GB, free: 57.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.1722, allocations: 12 kB / 1.126 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.1723, allocations: 337.9 kB / 1.127 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007355/0.173, allocations: 237.6 kB / 1.127 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007501/0.1738, allocations: 336.9 kB / 1.127 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007651/0.1746, allocations: 274.8 kB / 1.128 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/0.1746, allocations: 0 / 1.128 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001909/0.1765, allocations: 0.7557 MB / 1.128 GB, free: 55.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.76e-05/0.1766, allocations: 150.5 kB / 1.128 GB, free: 55.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.93e-06/0.1766, allocations: 4 kB / 1.128 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.1767, allocations: 4 kB / 1.128 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007926/0.1775, allocations: 158.1 kB / 1.129 GB, free: 55.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.1775, allocations: 4 kB / 1.129 GB, free: 55.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006244/0.1781, allocations: 86.44 kB / 1.129 GB, free: 55.07 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.058e-05/0.1782, allocations: 27.98 kB / 1.129 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/0.1782, allocations: 4 kB / 1.129 GB, free: 55.04 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001242/0.1795, allocations: 0.5685 MB / 1.129 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.238e-06/0.1795, allocations: 0 / 1.129 GB, free: 54.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.1795, allocations: 4 kB / 1.129 GB, free: 54.47 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006267/0.1802, allocations: 143.3 kB / 1.129 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.1802, allocations: 7.938 kB / 1.129 GB, free: 54.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005412/0.1807, allocations: 67.27 kB / 1.129 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/0.1808, allocations: 28 kB / 1.129 GB, free: 54.23 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,noLimPID.I.trigger_internal,limPI.I.trigger_internal,limPIDOri.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * 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.0004698/0.1813, allocations: 317.4 kB / 1.13 GB, free: 53.92 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.1814, allocations: 118.5 kB / 1.13 GB, free: 53.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.1817, allocations: 126.5 kB / 1.13 GB, free: 53.68 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.563e-06/0.1817, allocations: 4 kB / 1.13 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/0.1817, allocations: 0 / 1.13 GB, free: 53.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.574e-06/0.1817, allocations: 7.984 kB / 1.13 GB, free: 53.66 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.1828, allocations: 0.8602 MB / 1.131 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.274e-06/0.1828, allocations: 0 / 1.131 GB, free: 52.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008086/0.1836, allocations: 121.1 kB / 1.131 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.015e-05/0.1836, allocations: 4.844 kB / 1.131 GB, free: 52.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.596e-05/0.1837, allocations: 27.88 kB / 1.131 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.1837, allocations: 3.375 kB / 1.131 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.329e-06/0.1837, allocations: 4 kB / 1.131 GB, free: 52.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002476/0.1862, allocations: 1.005 MB / 1.132 GB, free: 51.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/0.1866, allocations: 243.4 kB / 1.132 GB, free: 51.34 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001339/0.1868, allocations: 12 kB / 1.132 GB, free: 51.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004978/0.1873, allocations: 47.42 kB / 1.132 GB, free: 51.29 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.1874, allocations: 44.48 kB / 1.132 GB, free: 51.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.004e-05/0.1875, allocations: 16 kB / 1.132 GB, free: 51.23 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009453/0.1885, allocations: 0.6422 MB / 1.133 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.35e-07/0.1885, allocations: 0 / 1.133 GB, free: 50.58 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009161/0.1894, allocations: 302.9 kB / 1.133 GB, free: 50.28 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPID.I.y,limPID.D.x,limPIDOri.I.y,limPIDOri.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001686/0.1896, allocations: 120.4 kB / 1.133 GB, free: 50.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002321/0.1919, allocations: 0.9028 MB / 1.134 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.657e-06/0.192, allocations: 0 / 1.134 GB, free: 49.26 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0008152/0.1928, allocations: 306.2 kB / 1.135 GB, free: 48.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.1944, allocations: 326.1 kB / 1.135 GB, free: 48.66 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.198, allocations: 2.097 MB / 1.137 GB, free: 46.56 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005074/0.1985, allocations: 1.08 MB / 1.138 GB, free: 45.47 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008363/0.1994, allocations: 146.5 kB / 1.138 GB, free: 45.34 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.1997, allocations: 75.42 kB / 1.138 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of SimCode: time 1.928e-06/0.1997, allocations: 0 / 1.138 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.02538/0.2251, allocations: 10.13 MB / 1.148 GB, free: 35.71 MB / 0.6042 GB