Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LimPID.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.943/3.943, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.988e-05, allocations: 8 kB / 0.5325 GB, free: 1.934 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4969/0.4969, allocations: 98.71 MB / 0.6289 GB, free: 15.72 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.196/0.693, allocations: 127.7 MB / 0.7537 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.6933, allocations: 79.95 kB / 0.7538 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.08636/0.7796, allocations: 22.98 MB / 0.7762 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.76e-06/0.7797, allocations: 0 / 0.7762 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000115/0.7798, allocations: 31.94 kB / 0.7762 GB, free: 8.707 MB / 0.6511 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.002635/0.7825, allocations: 1.247 MB / 0.7774 GB, free: 7.41 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.7825, allocations: 12.02 kB / 0.7775 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003702/0.7829, allocations: 146.2 kB / 0.7776 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.7847, allocations: 0.7848 MB / 0.7784 GB, free: 6.414 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.227e-05/0.7848, allocations: 24 kB / 0.7784 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/0.785, allocations: 48 kB / 0.7784 GB, free: 6.344 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001465/0.7864, allocations: 0.5195 MB / 0.7789 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/0.7882, allocations: 0.8 MB / 0.7797 GB, free: 4.934 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.7883, allocations: 4 kB / 0.7797 GB, free: 4.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.34e-05/0.7884, allocations: 7.984 kB / 0.7797 GB, free: 4.922 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.7884, allocations: 20 kB / 0.7797 GB, free: 4.902 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006323/0.7947, allocations: 3.288 MB / 0.783 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002003/0.7968, allocations: 0.7152 MB / 0.7837 GB, free: 0.7969 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005901/0.7974, allocations: 250.5 kB / 0.7839 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.002e-05/0.7975, allocations: 12.5 kB / 0.7839 GB, free: 0.5391 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007676/0.7983, allocations: 322 kB / 0.7842 GB, free: 220 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=68): time 5.05e-06/0.7983, allocations: 0 / 0.7842 GB, free: 220 kB / 0.6511 GB Notification: Performance of matching and sorting (n=68): time 0.001606/0.7999, allocations: 0.5707 MB / 0.7848 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002296/0.8001, allocations: 368.4 kB / 0.7851 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.8016, allocations: 0.6863 MB / 0.7858 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001031/0.8018, allocations: 25.7 kB / 0.7858 GB, free: 14.45 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005896/0.8024, allocations: 0.5122 MB / 0.7863 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000262/0.8026, allocations: 224.6 kB / 0.7865 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/0.8027, allocations: 4 kB / 0.7865 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.8029, allocations: 333.9 kB / 0.7869 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.8034, allocations: 205.5 kB / 0.7871 GB, free: 13.17 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007343/0.8042, allocations: 361.6 kB / 0.7874 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006179/0.8048, allocations: 239.5 kB / 0.7876 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.818e-06/0.8048, allocations: 0 / 0.7876 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001697/0.8066, allocations: 0.6395 MB / 0.7882 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002894/0.8069, allocations: 455 kB / 0.7887 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.8069, allocations: 7.922 kB / 0.7887 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.8069, allocations: 4 kB / 0.7887 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.8079, allocations: 179.7 kB / 0.7889 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.808, allocations: 7.938 kB / 0.7889 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/0.809, allocations: 103.5 kB / 0.789 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.93e-05/0.8091, allocations: 23.98 kB / 0.789 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.8091, allocations: 4 kB / 0.789 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001224/0.8104, allocations: 474.6 kB / 0.7894 GB, free: 10.63 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.838e-06/0.8104, allocations: 4.125 kB / 0.7895 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.8104, allocations: 4 kB / 0.7895 GB, free: 10.62 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000727/0.8111, allocations: 131.8 kB / 0.7896 GB, free: 10.49 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.8112, allocations: 11.92 kB / 0.7896 GB, free: 10.48 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008214/0.812, allocations: 59.56 kB / 0.7897 GB, free: 10.42 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.894e-05/0.8121, allocations: 28 kB / 0.7897 GB, free: 10.39 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0002552/0.8123, allocations: 129.7 kB / 0.7898 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002623/0.8126, allocations: 102.7 kB / 0.7899 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003052/0.8129, allocations: 106.7 kB / 0.79 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.813, allocations: 8 kB / 0.79 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.813, allocations: 3.953 kB / 0.79 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.391e-05/0.813, allocations: 3.984 kB / 0.79 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.8145, allocations: 0.8424 MB / 0.7908 GB, free: 9.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.453e-06/0.8145, allocations: 4 kB / 0.7908 GB, free: 9.156 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009983/0.8155, allocations: 159.8 kB / 0.791 GB, free: 9 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/0.8156, allocations: 4 kB / 0.791 GB, free: 8.996 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.8156, allocations: 3.984 kB / 0.791 GB, free: 8.992 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.8156, allocations: 8 kB / 0.791 GB, free: 8.984 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.984e-06/0.8157, allocations: 0 / 0.791 GB, free: 8.984 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002204/0.8179, allocations: 0.9268 MB / 0.7919 GB, free: 8.035 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005531/0.8184, allocations: 259.5 kB / 0.7922 GB, free: 7.762 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001717/0.8186, allocations: 11.98 kB / 0.7922 GB, free: 7.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008207/0.8195, allocations: 71.94 kB / 0.7922 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.8196, allocations: 40.5 kB / 0.7923 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.471e-05/0.8197, allocations: 19.98 kB / 0.7923 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001041/0.8208, allocations: 0.522 MB / 0.7928 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.094e-06/0.8208, allocations: 0 / 0.7928 GB, free: 7.09 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001213/0.822, allocations: 330.5 kB / 0.7931 GB, free: 6.766 MB / 0.6667 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 66 * 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.000272/0.8223, allocations: 119.1 kB / 0.7932 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001999/0.8243, allocations: 0.84 MB / 0.7941 GB, free: 5.805 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.296e-06/0.8243, allocations: 4.125 kB / 0.7941 GB, free: 5.801 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006584/0.825, allocations: 274 kB / 0.7943 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001623/0.8266, allocations: 303 kB / 0.7946 GB, free: 5.238 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/0.8301, allocations: 1.321 MB / 0.7959 GB, free: 3.887 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008957/0.831, allocations: 1.086 MB / 0.797 GB, free: 2.773 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001342/0.8323, allocations: 206.7 kB / 0.7972 GB, free: 2.566 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.8326, allocations: 63.42 kB / 0.7972 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of SimCode: time 1.694e-06/0.8327, allocations: 0 / 0.7972 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of Templates: time 0.4578/1.29, allocations: 12.99 MB / 0.8099 GB, free: 154 MB / 0.6667 GB