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.004309/0.004308, allocations: 236.2 kB / 15.8 MB, free: 6.32 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.001138/0.001138, allocations: 178.8 kB / 16.68 MB, free: 5.473 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.929/3.929, 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.147/4.147, allocations: 472.3 MB / 0.9024 GB, free: 9.234 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004876/0.0004879, allocations: 12.22 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1724, allocations: 98.73 MB / 1.105 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresis): time 0.003483/0.176, allocations: 2.519 MB / 1.107 GB, free: 39.59 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1779, allocations: 0.8898 MB / 1.108 GB, free: 38.69 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000264/0.1782, allocations: 11.94 kB / 1.108 GB, free: 38.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.936e-05/0.1783, allocations: 31.66 kB / 1.108 GB, free: 38.65 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004537/0.1788, allocations: 90.23 kB / 1.108 GB, free: 38.56 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005526/0.1794, allocations: 167.7 kB / 1.108 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0005049/0.1799, allocations: 435.3 kB / 1.109 GB, free: 37.97 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003092/0.1802, allocations: 146.4 kB / 1.109 GB, free: 37.84 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.1804, allocations: 131.2 kB / 1.109 GB, free: 37.71 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001923/0.1806, allocations: 123.2 kB / 1.109 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.484e-05/0.1807, allocations: 12 kB / 1.109 GB, free: 37.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.293e-05/0.1807, allocations: 12 kB / 1.109 GB, free: 37.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.106e-05/0.1808, allocations: 51.7 kB / 1.109 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.138e-05/0.1809, allocations: 96.08 kB / 1.109 GB, free: 37.41 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.1813, allocations: 363.3 kB / 1.11 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1813, allocations: 0 / 1.11 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.753e-06/0.1813, allocations: 0 / 1.11 GB, free: 37.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.1813, allocations: 0 / 1.11 GB, free: 37.06 MB / 0.6042 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.001233/0.1826, allocations: 0.6562 MB / 1.11 GB, free: 36.36 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.1826, allocations: 10.55 kB / 1.11 GB, free: 36.35 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.1827, allocations: 47.44 kB / 1.11 GB, free: 36.3 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007145/0.1834, allocations: 380 kB / 1.111 GB, free: 35.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.1835, allocations: 20.66 kB / 1.111 GB, free: 35.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.445e-05/0.1836, allocations: 24 kB / 1.111 GB, free: 35.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007456/0.1843, allocations: 349.8 kB / 1.111 GB, free: 35.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.1844, allocations: 1.172 kB / 1.111 GB, free: 35.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.1844, allocations: 19.89 kB / 1.111 GB, free: 35.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.1844, allocations: 7.938 kB / 1.111 GB, free: 35.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006835/0.1851, allocations: 221.4 kB / 1.111 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001951/0.1871, allocations: 1.189 MB / 1.112 GB, free: 33.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008052/0.1879, allocations: 238 kB / 1.113 GB, free: 33.75 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.1883, allocations: 124.6 kB / 1.113 GB, free: 33.63 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.039e-05/0.1883, allocations: 192 / 1.113 GB, free: 33.63 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/0.1884, allocations: 34.75 kB / 1.113 GB, free: 33.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 2.264e-06/0.1884, allocations: 0 / 1.113 GB, free: 33.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22): time 0.0009556/0.1893, allocations: 302.1 kB / 1.113 GB, free: 33.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.1894, allocations: 102.8 kB / 1.113 GB, free: 33.17 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004367/0.1898, allocations: 337.6 kB / 1.113 GB, free: 32.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.281e-05/0.1899, allocations: 33.7 kB / 1.113 GB, free: 32.8 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001589/0.1901, allocations: 220.2 kB / 1.114 GB, free: 32.59 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.701e-05/0.1901, allocations: 78.84 kB / 1.114 GB, free: 32.51 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.928e-05/0.1902, allocations: 11.22 kB / 1.114 GB, free: 32.5 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.092e-05/0.1903, allocations: 338.8 kB / 1.114 GB, free: 32.16 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.1905, allocations: 79.95 kB / 1.114 GB, free: 32.08 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.1909, allocations: 155.2 kB / 1.114 GB, free: 31.91 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003121/0.1912, allocations: 91.48 kB / 1.114 GB, free: 31.82 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.1912, allocations: 4 kB / 1.114 GB, free: 31.82 MB / 0.6042 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0007526/0.192, allocations: 278 kB / 1.115 GB, free: 31.54 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.9e-05/0.1921, allocations: 139.5 kB / 1.115 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1921, allocations: 0 / 1.115 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.1921, allocations: 4 kB / 1.115 GB, free: 31.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004163/0.1925, allocations: 59.91 kB / 1.115 GB, free: 31.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.749e-06/0.1926, allocations: 0 / 1.115 GB, free: 31.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003233/0.1929, allocations: 43.59 kB / 1.115 GB, free: 31.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.1929, allocations: 8 kB / 1.115 GB, free: 31.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/0.1929, allocations: 7.594 kB / 1.115 GB, free: 31.27 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005183/0.1935, allocations: 209.8 kB / 1.115 GB, free: 31.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.1935, allocations: 11.16 kB / 1.115 GB, free: 31.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.022e-06/0.1935, allocations: 4 kB / 1.115 GB, free: 31.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.1939, allocations: 55.86 kB / 1.115 GB, free: 31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.1939, allocations: 4 kB / 1.115 GB, free: 31 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002689/0.1942, allocations: 39.77 kB / 1.115 GB, free: 30.96 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.1942, allocations: 18.91 kB / 1.115 GB, free: 30.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (31): * Single equations (assignments): 31 * 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.0002194/0.1944, allocations: 229.1 kB / 1.115 GB, free: 30.71 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.1945, allocations: 35.53 kB / 1.116 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.639e-05/0.1946, allocations: 39.3 kB / 1.116 GB, free: 30.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.1946, allocations: 11.88 kB / 1.116 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1946, allocations: 0 / 1.116 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.1948, allocations: 133.4 kB / 1.116 GB, free: 30.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.387e-05/0.1949, allocations: 4 kB / 1.116 GB, free: 30.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003351/0.1952, allocations: 23.11 kB / 1.116 GB, free: 30.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.763e-05/0.1953, allocations: 19.97 kB / 1.116 GB, free: 30.43 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000909/0.1962, allocations: 312 kB / 1.116 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009687/0.1972, allocations: 0.4965 MB / 1.117 GB, free: 29.62 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002742/0.1975, allocations: 95.34 kB / 1.117 GB, free: 29.53 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002936/0.1978, allocations: 238.7 kB / 1.117 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of Backend: time 5.71e-07/0.1978, allocations: 0 / 1.117 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.1989, allocations: 329.4 kB / 1.117 GB, free: 28.98 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001765/0.2007, allocations: 1.279 MB / 1.118 GB, free: 27.7 MB / 0.6042 GB Notification: Performance of Templates: time 0.01153/0.2122, allocations: 3.839 MB / 1.122 GB, free: 24.06 MB / 0.6042 GB