Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis.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.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadModel(Buildings): time 3.9/3.9, allocations: 433.4 MB / 440.9 MB, free: 10.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.712e-05/1.723e-05, allocations: 0 / 0.5325 GB, free: 1.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.492/0.492, allocations: 98.7 MB / 0.6289 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.247/0.739, allocations: 130.5 MB / 0.7564 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.7393, allocations: 79.94 kB / 0.7564 GB, free: 12.86 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02596/0.7653, allocations: 6.895 MB / 0.7632 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.488e-06/0.7654, allocations: 0 / 0.7632 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.134e-05/0.7654, allocations: 8 kB / 0.7632 GB, free: 5.934 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001058/0.7665, allocations: 0.5998 MB / 0.7638 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.7665, allocations: 16.02 kB / 0.7638 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001181/0.7667, allocations: 51.39 kB / 0.7638 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/0.7674, allocations: 380.3 kB / 0.7642 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.7674, allocations: 12.22 kB / 0.7642 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.328e-05/0.7675, allocations: 16 kB / 0.7642 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000511/0.768, allocations: 185.5 kB / 0.7644 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006511/0.7687, allocations: 306.1 kB / 0.7647 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.7687, allocations: 0 / 0.7647 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.824e-05/0.7688, allocations: 0 / 0.7647 GB, free: 4.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.7688, allocations: 15.89 kB / 0.7647 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002112/0.7709, allocations: 1.174 MB / 0.7658 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006047/0.7716, allocations: 227.2 kB / 0.7661 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002182/0.7718, allocations: 97.22 kB / 0.7662 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.7718, allocations: 4.188 kB / 0.7662 GB, free: 2.68 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.7719, allocations: 30.75 kB / 0.7662 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 2.518e-06/0.7719, allocations: 0 / 0.7662 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22): time 0.0005336/0.7724, allocations: 214.5 kB / 0.7664 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.7726, allocations: 166.1 kB / 0.7665 GB, free: 2.23 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004532/0.773, allocations: 266.4 kB / 0.7668 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/0.7731, allocations: 29.7 kB / 0.7668 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.7733, allocations: 216 kB / 0.767 GB, free: 1.723 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.983e-05/0.7734, allocations: 74.91 kB / 0.7671 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.47e-05/0.7735, allocations: 0 / 0.7671 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001992/0.7737, allocations: 342.8 kB / 0.7674 GB, free: 1.305 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001706/0.7738, allocations: 68 kB / 0.7675 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002559/0.7741, allocations: 139.7 kB / 0.7676 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.7743, allocations: 83.97 kB / 0.7677 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.521e-06/0.7743, allocations: 0 / 0.7677 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005569/0.7749, allocations: 235.1 kB / 0.7679 GB, free: 0.7617 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000265/0.7752, allocations: 455.2 kB / 0.7684 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.937e-06/0.7752, allocations: 0 / 0.7684 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.7752, allocations: 4 kB / 0.7684 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.7756, allocations: 59.91 kB / 0.7684 GB, free: 228 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.75e-06/0.7756, allocations: 3.953 kB / 0.7684 GB, free: 224 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002946/0.7759, allocations: 43.81 kB / 0.7685 GB, free: 180 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.78e-05/0.7759, allocations: 4 kB / 0.7685 GB, free: 176 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.776, allocations: 4 kB / 0.7685 GB, free: 172 kB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000403/0.7764, allocations: 174.5 kB / 0.7687 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.945e-06/0.7764, allocations: 0 / 0.7687 GB, free: 0 / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/0.7764, allocations: 4.047 kB / 0.7687 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002672/0.7767, allocations: 55.98 kB / 0.7687 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.218e-06/0.7767, allocations: 4 kB / 0.7687 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00024/0.777, allocations: 27.83 kB / 0.7687 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.777, allocations: 8 kB / 0.7687 GB, free: 15.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001389/0.7772, allocations: 112.9 kB / 0.7689 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.546e-05/0.7773, allocations: 39.58 kB / 0.7689 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.7774, allocations: 43.05 kB / 0.7689 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.326e-06/0.7774, allocations: 0 / 0.7689 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.218e-06/0.7774, allocations: 0 / 0.7689 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.338e-06/0.7775, allocations: 4 kB / 0.7689 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005928/0.7781, allocations: 357.8 kB / 0.7693 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.683e-06/0.7781, allocations: 0 / 0.7693 GB, free: 15.31 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003186/0.7784, allocations: 47.97 kB / 0.7693 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.945e-06/0.7784, allocations: 3.953 kB / 0.7693 GB, free: 15.26 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/0.7785, allocations: 4 kB / 0.7693 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.7785, allocations: 7.984 kB / 0.7693 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.523e-06/0.7785, allocations: 0 / 0.7693 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007388/0.7792, allocations: 403 kB / 0.7697 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001891/0.7794, allocations: 136.7 kB / 0.7699 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.986e-05/0.7795, allocations: 3.953 kB / 0.7699 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003019/0.7798, allocations: 32.03 kB / 0.7699 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.093e-05/0.7799, allocations: 19.97 kB / 0.7699 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.245e-05/0.78, allocations: 4 kB / 0.7699 GB, free: 14.62 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002954/0.7803, allocations: 208.6 kB / 0.7701 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.61e-07/0.7803, allocations: 0 / 0.7701 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006456/0.7809, allocations: 123.5 kB / 0.7702 GB, free: 14.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0001751/0.7811, allocations: 108.1 kB / 0.7703 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0006971/0.7818, allocations: 285.8 kB / 0.7706 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.012e-06/0.7818, allocations: 0 / 0.7706 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001989/0.782, allocations: 90.56 kB / 0.7707 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000524/0.7826, allocations: 65.66 kB / 0.7708 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.784, allocations: 0.5131 MB / 0.7713 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.7845, allocations: 0.8074 MB / 0.772 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003524/0.7849, allocations: 56.55 kB / 0.7721 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.895e-05/0.785, allocations: 19.44 kB / 0.7721 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of SimCode: time 1.489e-06/0.785, allocations: 0 / 0.7721 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of Templates: time 0.01108/0.7961, allocations: 3.625 MB / 0.7757 GB, free: 8.711 MB / 0.6511 GB