Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.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.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004192/0.004195, allocations: 233.5 kB / 15.82 MB, free: 6.293 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.0011/0.0011, allocations: 174 kB / 16.7 MB, free: 5.449 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.958/3.958, allocations: 389.1 MB / 406.5 MB, free: 11.82 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.173/4.173, allocations: 472.3 MB / 0.9024 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006849/0.0006851, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2084, allocations: 98.71 MB / 1.105 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7822/0.9907, allocations: 131.6 MB / 1.233 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.9911, allocations: 91.92 kB / 1.233 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.07034/1.061, allocations: 16.36 MB / 1.249 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.765e-06/1.062, allocations: 0 / 1.249 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.918e-05/1.062, allocations: 19.94 kB / 1.249 GB, free: 11.12 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.002712/1.064, allocations: 1.036 MB / 1.25 GB, free: 10.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/1.064, allocations: 8.031 kB / 1.25 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002939/1.065, allocations: 90.23 kB / 1.25 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001311/1.066, allocations: 0.571 MB / 1.251 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001466/1.066, allocations: 101.3 kB / 1.251 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001238/1.066, allocations: 49.94 kB / 1.251 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0017/1.068, allocations: 0.6305 MB / 1.252 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/1.068, allocations: 0 / 1.252 GB, free: 8.879 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.905e-05/1.068, allocations: 21.58 kB / 1.252 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/1.068, allocations: 15.94 kB / 1.252 GB, free: 8.855 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00168/1.07, allocations: 482.6 kB / 1.252 GB, free: 8.527 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004356/1.074, allocations: 1.999 MB / 1.254 GB, free: 6.848 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002147/1.076, allocations: 0.5895 MB / 1.255 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000781/1.077, allocations: 231.1 kB / 1.255 GB, free: 6.266 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.912e-05/1.077, allocations: 5.438 kB / 1.255 GB, free: 6.262 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001094/1.079, allocations: 318.9 kB / 1.255 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=44): time 3.717e-06/1.079, allocations: 0 / 1.255 GB, free: 6.016 MB / 0.6198 GB Notification: Performance of matching and sorting (n=44): time 0.002568/1.081, allocations: 0.7026 MB / 1.256 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.598e-05/1.081, allocations: 187.9 kB / 1.256 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009995/1.082, allocations: 0.5918 MB / 1.257 GB, free: 4.801 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/1.082, allocations: 36.7 kB / 1.257 GB, free: 4.766 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000317/1.083, allocations: 336 kB / 1.257 GB, free: 4.566 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001579/1.083, allocations: 152.3 kB / 1.257 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.31e-05/1.083, allocations: 9.312 kB / 1.257 GB, free: 4.438 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000304/1.083, allocations: 382.1 kB / 1.257 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008052/1.084, allocations: 215.8 kB / 1.258 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008827/1.085, allocations: 334.7 kB / 1.258 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008147/1.086, allocations: 250.7 kB / 1.258 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/1.086, allocations: 3.5 kB / 1.258 GB, free: 19.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.002033/1.088, allocations: 0.6339 MB / 1.259 GB, free: 19 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001397/1.088, allocations: 180.2 kB / 1.259 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.088, allocations: 4 kB / 1.259 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.088, allocations: 4.062 kB / 1.259 GB, free: 18.79 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009646/1.089, allocations: 118.2 kB / 1.259 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.367e-05/1.089, allocations: 7.938 kB / 1.259 GB, free: 18.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/1.09, allocations: 92.73 kB / 1.259 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.581e-05/1.09, allocations: 15.25 kB / 1.259 GB, free: 18.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/1.09, allocations: 7.953 kB / 1.259 GB, free: 18.57 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001486/1.092, allocations: 483.6 kB / 1.26 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/1.092, allocations: 0.625 kB / 1.26 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/1.092, allocations: 8 kB / 1.26 GB, free: 18.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007703/1.093, allocations: 98.33 kB / 1.26 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/1.093, allocations: 4 kB / 1.26 GB, free: 18.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008096/1.094, allocations: 62.31 kB / 1.26 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/1.094, allocations: 15.31 kB / 1.26 GB, free: 18.08 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDRev.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 (60): * Single equations (assignments): 59 * 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.0005577/1.094, allocations: 277.4 kB / 1.26 GB, free: 17.85 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/1.094, allocations: 75.11 kB / 1.26 GB, free: 17.78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001642/1.094, allocations: 72.59 kB / 1.26 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/1.095, allocations: 4 kB / 1.26 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.095, allocations: 1.219 kB / 1.26 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/1.095, allocations: 3.984 kB / 1.26 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008613/1.095, allocations: 0.6321 MB / 1.261 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.095, allocations: 4 kB / 1.261 GB, free: 17.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009131/1.096, allocations: 98.41 kB / 1.261 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.066e-06/1.096, allocations: 0 / 1.261 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.051e-05/1.096, allocations: 14.27 kB / 1.261 GB, free: 17.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/1.096, allocations: 3.938 kB / 1.261 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.096, allocations: 0 / 1.261 GB, free: 17.1 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002643/1.099, allocations: 0.8142 MB / 1.262 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004317/1.1, allocations: 200.9 kB / 1.262 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/1.1, allocations: 10.81 kB / 1.262 GB, free: 16.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009401/1.101, allocations: 73.33 kB / 1.262 GB, free: 16.25 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/1.101, allocations: 34.08 kB / 1.262 GB, free: 16.23 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-05/1.101, allocations: 18.14 kB / 1.262 GB, free: 16.21 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007379/1.102, allocations: 416.4 kB / 1.263 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.102, allocations: 0 / 1.263 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0009585/1.103, allocations: 219.8 kB / 1.263 GB, free: 15.71 MB / 0.6355 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,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.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 (44): * Single equations (assignments): 42 * 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.0002413/1.103, allocations: 116.2 kB / 1.263 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002724/1.106, allocations: 0.8316 MB / 1.264 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/1.106, allocations: 3.5 kB / 1.264 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0009208/1.107, allocations: 251.6 kB / 1.264 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001588/1.108, allocations: 181.8 kB / 1.264 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003682/1.112, allocations: 1.345 MB / 1.265 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/1.113, allocations: 0.9274 MB / 1.266 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008158/1.113, allocations: 91.58 kB / 1.266 GB, free: 12.37 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002456/1.114, allocations: 46.94 kB / 1.266 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of SimCode: time 1.032e-06/1.114, allocations: 2.812 kB / 1.266 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of Templates: time 0.02519/1.139, allocations: 7.628 MB / 1.274 GB, free: 5.113 MB / 0.6355 GB