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.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01125/0.01125, allocations: 111.1 kB / 15.05 MB, free: 6.031 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.001062/0.001062, allocations: 188.5 kB / 15.95 MB, free: 5.965 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 1.845/1.845, allocations: 194.6 MB / 211.3 MB, free: 11.3 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.153/2.153, allocations: 236.2 MB / 492.6 MB, free: 11.33 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004645/0.0004648, allocations: 12 kB / 0.5869 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5309/0.5314, allocations: 98.7 MB / 0.6833 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2356/0.767, allocations: 131.3 MB / 0.8115 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.7673, allocations: 79.95 kB / 0.8116 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02552/0.7928, allocations: 6.981 MB / 0.8184 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.027e-06/0.7929, allocations: 0 / 0.8184 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.254e-05/0.7929, allocations: 15.98 kB / 0.8184 GB, free: 3.789 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.001156/0.7941, allocations: 0.6466 MB / 0.8191 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7941, allocations: 8.031 kB / 0.8191 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.7943, allocations: 51.39 kB / 0.8191 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.795, allocations: 387.2 kB / 0.8195 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.788e-05/0.795, allocations: 24.66 kB / 0.8195 GB, free: 2.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.376e-05/0.7951, allocations: 24 kB / 0.8195 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008188/0.7959, allocations: 366 kB / 0.8199 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.796, allocations: 4 kB / 0.8199 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.796, allocations: 12 kB / 0.8199 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.796, allocations: 11.98 kB / 0.8199 GB, free: 2.148 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007106/0.7968, allocations: 250 kB / 0.8201 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.7989, allocations: 1.233 MB / 0.8213 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008257/0.7997, allocations: 291.2 kB / 0.8216 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.908e-05/0.7998, allocations: 4.188 kB / 0.8216 GB, free: 300 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.7998, allocations: 34.69 kB / 0.8217 GB, free: 256 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=22): time 2.535e-06/0.7999, allocations: 0 / 0.8217 GB, free: 256 kB / 0.6355 GB Notification: Performance of matching and sorting (n=22): time 0.001016/0.8009, allocations: 352.2 kB / 0.822 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/0.801, allocations: 154.2 kB / 0.8221 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004778/0.8015, allocations: 316.8 kB / 0.8224 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.8016, allocations: 33.7 kB / 0.8225 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002033/0.8018, allocations: 208.4 kB / 0.8227 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.552e-05/0.8019, allocations: 86.84 kB / 0.8228 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.519e-05/0.8019, allocations: 4 kB / 0.8228 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001888/0.8021, allocations: 338.8 kB / 0.8231 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002863/0.8024, allocations: 91.95 kB / 0.8232 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003654/0.8028, allocations: 173.1 kB / 0.8233 GB, free: 14.44 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.8031, allocations: 103.4 kB / 0.8234 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.716e-06/0.8031, allocations: 4 kB / 0.8234 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007658/0.8039, allocations: 301 kB / 0.8237 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002585/0.8042, allocations: 454.5 kB / 0.8242 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.316e-06/0.8042, allocations: 0 / 0.8242 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.8042, allocations: 4 kB / 0.8242 GB, free: 13.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/0.8045, allocations: 55.91 kB / 0.8242 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.8046, allocations: 7.938 kB / 0.8242 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.8049, allocations: 47.81 kB / 0.8243 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.8049, allocations: 15.94 kB / 0.8243 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.186e-06/0.8049, allocations: 4 kB / 0.8243 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00054/0.8055, allocations: 206.6 kB / 0.8245 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.659e-06/0.8055, allocations: 4.125 kB / 0.8245 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.096e-06/0.8055, allocations: 4 kB / 0.8245 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.8058, allocations: 47.91 kB / 0.8245 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.194e-06/0.8058, allocations: 4 kB / 0.8245 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002478/0.8061, allocations: 35.73 kB / 0.8246 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.8061, allocations: 16 kB / 0.8246 GB, free: 13.12 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 () * Number of clocked 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.0002838/0.8064, allocations: 245 kB / 0.8248 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.8065, allocations: 35.56 kB / 0.8249 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.959e-05/0.8066, allocations: 39.47 kB / 0.8249 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.96e-06/0.8066, allocations: 0 / 0.8249 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.943e-06/0.8067, allocations: 48 / 0.8249 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.89e-06/0.8067, allocations: 3.984 kB / 0.8249 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000639/0.8073, allocations: 425.2 kB / 0.8253 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.674e-06/0.8073, allocations: 0 / 0.8253 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000317/0.8077, allocations: 47.92 kB / 0.8254 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.101e-06/0.8077, allocations: 3.984 kB / 0.8254 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.8077, allocations: 8 kB / 0.8254 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.727e-06/0.8077, allocations: 0 / 0.8254 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.672e-06/0.8077, allocations: 0 / 0.8254 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.8088, allocations: 483.2 kB / 0.8258 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.809, allocations: 136.6 kB / 0.826 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.8091, allocations: 8 kB / 0.826 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.8094, allocations: 36.03 kB / 0.826 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.98e-05/0.8095, allocations: 15.97 kB / 0.826 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.8095, allocations: 8 kB / 0.826 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003632/0.8099, allocations: 243.2 kB / 0.8263 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.3e-07/0.8099, allocations: 0 / 0.8263 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006373/0.8106, allocations: 135.5 kB / 0.8264 GB, free: 11.2 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) * Number of clocked states: 0 () * 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.0001612/0.8107, allocations: 115.2 kB / 0.8265 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00092/0.8117, allocations: 346.4 kB / 0.8268 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.8117, allocations: 0 / 0.8268 GB, free: 10.74 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.812, allocations: 115.9 kB / 0.8269 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/0.8126, allocations: 69.58 kB / 0.827 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001771/0.8144, allocations: 0.8704 MB / 0.8279 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.8149, allocations: 0.8038 MB / 0.8286 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002488/0.8151, allocations: 46.94 kB / 0.8287 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.8153, allocations: 23.44 kB / 0.8287 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of SimCode: time 1.271e-06/0.8153, allocations: 0 / 0.8287 GB, free: 8.766 MB / 0.6511 GB Notification: Performance of Templates: time 0.01048/0.8258, allocations: 3.486 MB / 0.8321 GB, free: 5.316 MB / 0.6511 GB