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.009162/0.009167, allocations: 106.8 kB / 15.06 MB, free: 5.562 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.001153/0.001153, allocations: 184 kB / 15.95 MB, free: 5.523 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 2.313/2.313, allocations: 194.5 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.288/2.288, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007887/0.000789, allocations: 20 kB / 0.587 GB, free: 2.133 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.565/0.5658, allocations: 98.71 MB / 0.6834 GB, free: 16.6 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID): time 0.005017/0.5709, allocations: 4.412 MB / 0.6877 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004278/0.5752, allocations: 1.79 MB / 0.6894 GB, free: 12.01 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001013/0.5763, allocations: 38.78 kB / 0.6895 GB, free: 12 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002135/0.5765, allocations: 90.75 kB / 0.6895 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.5776, allocations: 317.1 kB / 0.6898 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002457/0.5801, allocations: 0.6973 MB / 0.6905 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001956/0.5821, allocations: 0.9123 MB / 0.6914 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007244/0.5828, allocations: 386.5 kB / 0.6918 GB, free: 10.68 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006592/0.5835, allocations: 401.4 kB / 0.6922 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004659/0.584, allocations: 398.5 kB / 0.6925 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.5841, allocations: 30.56 kB / 0.6926 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001156/0.5842, allocations: 31.72 kB / 0.6926 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001735/0.5844, allocations: 166.5 kB / 0.6928 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.5846, allocations: 205.2 kB / 0.693 GB, free: 10.01 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001388/0.586, allocations: 1.102 MB / 0.694 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.114e-06/0.586, allocations: 3.938 kB / 0.694 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.944e-06/0.586, allocations: 0 / 0.694 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.988e-05/0.5861, allocations: 0 / 0.694 GB, free: 9.754 MB / 0.5261 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.003124/0.5892, allocations: 1.464 MB / 0.6955 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5893, allocations: 10.66 kB / 0.6955 GB, free: 8.844 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003006/0.5896, allocations: 147.9 kB / 0.6956 GB, free: 8.766 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/0.5916, allocations: 0.8373 MB / 0.6964 GB, free: 8.258 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.634e-05/0.5917, allocations: 61.75 kB / 0.6965 GB, free: 8.227 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.5918, allocations: 80.58 kB / 0.6966 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002014/0.5939, allocations: 0.8745 MB / 0.6974 GB, free: 7.664 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.089e-05/0.5939, allocations: 5.125 kB / 0.6974 GB, free: 7.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.605e-05/0.594, allocations: 36.14 kB / 0.6975 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.425e-05/0.594, allocations: 19.59 kB / 0.6975 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001983/0.596, allocations: 0.6111 MB / 0.6981 GB, free: 7.336 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005625/0.6017, allocations: 3.455 MB / 0.7015 GB, free: 4.496 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002592/0.6043, allocations: 0.7608 MB / 0.7022 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-05/0.6044, allocations: 16.25 kB / 0.7022 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001011/0.6054, allocations: 347.3 kB / 0.7025 GB, free: 3.895 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=67): time 4.42e-06/0.6055, allocations: 5.312 kB / 0.7026 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of matching and sorting (n=67): time 0.002778/0.6082, allocations: 0.8633 MB / 0.7034 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.395e-05/0.6083, allocations: 60 kB / 0.7035 GB, free: 3.402 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/0.61, allocations: 0.9424 MB / 0.7044 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001307/0.6101, allocations: 40.27 kB / 0.7044 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/0.6106, allocations: 0.4966 MB / 0.7049 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002167/0.6108, allocations: 232.3 kB / 0.7051 GB, free: 2.191 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.164e-05/0.6109, allocations: 14.69 kB / 0.7051 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.407e-05/0.611, allocations: 331.6 kB / 0.7054 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008596/0.6118, allocations: 237.2 kB / 0.7057 GB, free: 1.746 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008597/0.6127, allocations: 339.9 kB / 0.706 GB, free: 1.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008392/0.6136, allocations: 268.3 kB / 0.7063 GB, free: 1.387 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.6136, allocations: 5.641 kB / 0.7063 GB, free: 1.383 MB / 0.5261 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002252/0.6159, allocations: 0.7544 MB / 0.707 GB, free: 1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001784/0.6161, allocations: 0.7948 MB / 0.7078 GB, free: 168 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.6161, allocations: 5.984 kB / 0.7078 GB, free: 164 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.557e-05/0.6161, allocations: 9.266 kB / 0.7078 GB, free: 160 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008922/0.617, allocations: 153 kB / 0.7079 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.877e-05/0.6171, allocations: 10.02 kB / 0.7079 GB, free: 116 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007553/0.6178, allocations: 85.56 kB / 0.708 GB, free: 56 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-05/0.6179, allocations: 22.19 kB / 0.708 GB, free: 52 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.6179, allocations: 4 kB / 0.708 GB, free: 52 kB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001542/0.6195, allocations: 0.5665 MB / 0.7086 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.994e-06/0.6195, allocations: 2.812 kB / 0.7086 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.6195, allocations: 5.031 kB / 0.7086 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007145/0.6203, allocations: 142.6 kB / 0.7087 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.608e-05/0.6203, allocations: 8.234 kB / 0.7088 GB, free: 15.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006882/0.621, allocations: 72.86 kB / 0.7088 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.6211, allocations: 20.31 kB / 0.7088 GB, free: 15.68 MB / 0.5417 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.0006672/0.6218, allocations: 320.2 kB / 0.7091 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/0.622, allocations: 111.2 kB / 0.7093 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002843/0.6223, allocations: 130.2 kB / 0.7094 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.6223, allocations: 7.344 kB / 0.7094 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.111e-05/0.6223, allocations: 0 / 0.7094 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.448e-05/0.6224, allocations: 5.234 kB / 0.7094 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.6238, allocations: 0.8671 MB / 0.7102 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.769e-06/0.6238, allocations: 9.312 kB / 0.7102 GB, free: 14.58 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009093/0.6247, allocations: 128.1 kB / 0.7104 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.6248, allocations: 6.656 kB / 0.7104 GB, free: 14.54 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.223e-05/0.6248, allocations: 13.06 kB / 0.7104 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.861e-06/0.6249, allocations: 2.031 kB / 0.7104 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.276e-06/0.6249, allocations: 0 / 0.7104 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003105/0.628, allocations: 1.014 MB / 0.7114 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005487/0.6286, allocations: 243.7 kB / 0.7116 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/0.6287, allocations: 20.14 kB / 0.7116 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005641/0.6293, allocations: 31.16 kB / 0.7117 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.6295, allocations: 41.16 kB / 0.7117 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/0.6295, allocations: 20.27 kB / 0.7117 GB, free: 13.7 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001229/0.6308, allocations: 0.6413 MB / 0.7123 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.18e-07/0.6308, allocations: 0 / 0.7123 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001088/0.6319, allocations: 299.1 kB / 0.7126 GB, free: 13.25 MB / 0.5417 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.0002187/0.6321, allocations: 125.2 kB / 0.7128 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002675/0.6348, allocations: 0.8968 MB / 0.7136 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.612e-06/0.6348, allocations: 1.031 kB / 0.7136 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009726/0.6358, allocations: 308.3 kB / 0.7139 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.6375, allocations: 318.2 kB / 0.7142 GB, free: 12.46 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004425/0.642, allocations: 2.107 MB / 0.7163 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008923/0.6429, allocations: 1.082 MB / 0.7173 GB, free: 10.17 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001032/0.644, allocations: 141.5 kB / 0.7175 GB, free: 10.1 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003137/0.6443, allocations: 77.59 kB / 0.7175 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of SimCode: time 2.018e-06/0.6443, allocations: 0 / 0.7175 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of Templates: time 0.0299/0.6742, allocations: 10.11 MB / 0.7274 GB, free: 0.6211 MB / 0.5417 GB