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.004246/0.00425, allocations: 231.2 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.001195/0.001195, allocations: 175.3 kB / 16.7 MB, free: 5.453 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 4.031/4.031, allocations: 389.1 MB / 406.5 MB, free: 11.84 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.004/4.004, allocations: 472.3 MB / 0.9024 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005341/0.0005344, allocations: 14.09 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1704, allocations: 98.72 MB / 1.105 GB, free: 42.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7822/0.9527, allocations: 131.3 MB / 1.233 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/0.9531, allocations: 82.09 kB / 1.233 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.03875/0.9919, allocations: 6.968 MB / 1.24 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.746e-06/0.992, allocations: 0 / 1.24 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.609e-05/0.992, allocations: 12 kB / 1.24 GB, free: 19.1 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.002382/0.9944, allocations: 0.6516 MB / 1.24 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.9945, allocations: 12.03 kB / 1.24 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002138/0.9948, allocations: 47.44 kB / 1.24 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.9958, allocations: 385.2 kB / 1.241 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.511e-05/0.9959, allocations: 30.09 kB / 1.241 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/0.996, allocations: 29.56 kB / 1.241 GB, free: 18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.998, allocations: 358.4 kB / 1.241 GB, free: 17.72 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.07e-05/0.9981, allocations: 3.938 kB / 1.241 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.864e-05/0.9982, allocations: 14.38 kB / 1.241 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.9982, allocations: 8 kB / 1.241 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001095/0.9993, allocations: 253.9 kB / 1.241 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003715/1.003, allocations: 1.241 MB / 1.243 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009062/1.004, allocations: 281.1 kB / 1.243 GB, free: 16.27 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003347/1.004, allocations: 126.7 kB / 1.243 GB, free: 16.19 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/1.004, allocations: 4.188 kB / 1.243 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.384e-05/1.004, allocations: 47.16 kB / 1.243 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.795e-06/1.004, allocations: 0 / 1.243 GB, free: 16.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.001073/1.006, allocations: 349.9 kB / 1.243 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.69e-05/1.006, allocations: 158.2 kB / 1.244 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/1.006, allocations: 346.8 kB / 1.244 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/1.006, allocations: 32.95 kB / 1.244 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001733/1.006, allocations: 209.1 kB / 1.244 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-05/1.006, allocations: 78.97 kB / 1.244 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/1.006, allocations: 6.938 kB / 1.244 GB, free: 15.17 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0004468/1.007, allocations: 352.5 kB / 1.245 GB, free: 30.84 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/1.007, allocations: 93.33 kB / 1.245 GB, free: 30.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/1.008, allocations: 166 kB / 1.245 GB, free: 30.63 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003229/1.008, allocations: 100.8 kB / 1.245 GB, free: 30.57 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.008, allocations: 4 kB / 1.245 GB, free: 30.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008473/1.009, allocations: 296.8 kB / 1.245 GB, free: 30.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.245e-05/1.009, allocations: 131.1 kB / 1.245 GB, free: 30.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/1.009, allocations: 3.984 kB / 1.245 GB, free: 30.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/1.009, allocations: 4 kB / 1.245 GB, free: 30.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/1.009, allocations: 55.91 kB / 1.245 GB, free: 30.15 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/1.009, allocations: 1.594 kB / 1.245 GB, free: 30.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003852/1.01, allocations: 42.36 kB / 1.245 GB, free: 30.11 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/1.01, allocations: 11.44 kB / 1.245 GB, free: 30.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.694e-06/1.01, allocations: 4 kB / 1.245 GB, free: 30.1 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005317/1.01, allocations: 212 kB / 1.246 GB, free: 29.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/1.01, allocations: 0 / 1.246 GB, free: 29.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-06/1.011, allocations: 4 kB / 1.246 GB, free: 29.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/1.011, allocations: 47.92 kB / 1.246 GB, free: 29.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.011, allocations: 7.984 kB / 1.246 GB, free: 29.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003178/1.011, allocations: 39.03 kB / 1.246 GB, free: 29.88 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/1.011, allocations: 9.219 kB / 1.246 GB, free: 29.87 MB / 0.6355 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.0003361/1.012, allocations: 233.8 kB / 1.246 GB, free: 29.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.428e-05/1.012, allocations: 35.53 kB / 1.246 GB, free: 29.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/1.012, allocations: 40.81 kB / 1.246 GB, free: 29.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/1.012, allocations: 7.156 kB / 1.246 GB, free: 29.6 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.012, allocations: 0 / 1.246 GB, free: 29.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.624e-06/1.012, allocations: 10.56 kB / 1.246 GB, free: 29.59 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005492/1.012, allocations: 414.1 kB / 1.246 GB, free: 29.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/1.012, allocations: 0 / 1.246 GB, free: 29.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/1.013, allocations: 46.91 kB / 1.246 GB, free: 29.19 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/1.013, allocations: 0 / 1.246 GB, free: 29.19 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/1.013, allocations: 11.16 kB / 1.247 GB, free: 29.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/1.013, allocations: 3.938 kB / 1.247 GB, free: 29.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.013, allocations: 0 / 1.247 GB, free: 29.18 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001128/1.014, allocations: 480.8 kB / 1.247 GB, free: 28.81 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001781/1.014, allocations: 139.3 kB / 1.247 GB, free: 28.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.289e-05/1.014, allocations: 12.39 kB / 1.247 GB, free: 28.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003708/1.015, allocations: 26.14 kB / 1.247 GB, free: 28.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.331e-05/1.015, allocations: 20.56 kB / 1.247 GB, free: 28.62 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.166e-05/1.015, allocations: 7.984 kB / 1.247 GB, free: 28.62 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0003534/1.015, allocations: 243.8 kB / 1.247 GB, free: 28.44 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.8e-07/1.015, allocations: 0 / 1.247 GB, free: 28.44 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006547/1.016, allocations: 140.5 kB / 1.248 GB, free: 28.31 MB / 0.6355 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.0001677/1.016, allocations: 108.4 kB / 1.248 GB, free: 28.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001037/1.017, allocations: 351.1 kB / 1.248 GB, free: 27.96 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/1.017, allocations: 0 / 1.248 GB, free: 27.96 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0003304/1.018, allocations: 117.5 kB / 1.248 GB, free: 27.88 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008399/1.018, allocations: 75.31 kB / 1.248 GB, free: 27.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/1.02, allocations: 0.8766 MB / 1.249 GB, free: 27.04 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/1.021, allocations: 0.7994 MB / 1.25 GB, free: 26.22 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003322/1.021, allocations: 42.05 kB / 1.25 GB, free: 26.19 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/1.021, allocations: 31.42 kB / 1.25 GB, free: 26.17 MB / 0.6355 GB Notification: Performance of SimCode: time 8.62e-07/1.021, allocations: 0 / 1.25 GB, free: 26.17 MB / 0.6355 GB Notification: Performance of Templates: time 0.01141/1.033, allocations: 3.492 MB / 1.253 GB, free: 22.88 MB / 0.6355 GB