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.PIDHysteresisTimer.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.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.00422/0.004221, allocations: 235.5 kB / 15.81 MB, free: 6.281 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.001078/0.001078, allocations: 182.6 kB / 16.69 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.839/3.839, allocations: 389.1 MB / 406.5 MB, free: 11.86 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.205/4.205, allocations: 472.3 MB / 0.9024 GB, free: 9.258 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004953/0.0004955, allocations: 8.219 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1774/0.1779, allocations: 98.71 MB / 1.105 GB, free: 42.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.PIDHysteresisTimer): time 0.003818/0.1818, allocations: 2.66 MB / 1.107 GB, free: 39.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002083/0.1839, allocations: 0.9359 MB / 1.108 GB, free: 38.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003032/0.1843, allocations: 11.94 kB / 1.108 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.58e-05/0.1844, allocations: 38.55 kB / 1.108 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004843/0.1849, allocations: 91.27 kB / 1.108 GB, free: 38.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006045/0.1855, allocations: 183.3 kB / 1.108 GB, free: 38.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.000568/0.1861, allocations: 0.4919 MB / 1.109 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000363/0.1864, allocations: 174.1 kB / 1.109 GB, free: 37.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002453/0.1867, allocations: 146.3 kB / 1.109 GB, free: 37.34 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.1869, allocations: 147.1 kB / 1.109 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.187, allocations: 12 kB / 1.109 GB, free: 37.18 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.422e-05/0.187, allocations: 16 kB / 1.109 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.273e-05/0.1871, allocations: 63.62 kB / 1.109 GB, free: 37.11 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.047e-05/0.1872, allocations: 105.4 kB / 1.11 GB, free: 37 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0004389/0.1877, allocations: 415.2 kB / 1.11 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1877, allocations: 1.312 kB / 1.11 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.054e-06/0.1877, allocations: 0 / 1.11 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.382e-05/0.1877, allocations: 0 / 1.11 GB, free: 36.59 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001361/0.1891, allocations: 0.6922 MB / 1.111 GB, free: 35.86 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1891, allocations: 11.34 kB / 1.111 GB, free: 35.85 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001133/0.1893, allocations: 63.28 kB / 1.111 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006854/0.19, allocations: 399.6 kB / 1.111 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.354e-05/0.19, allocations: 30.5 kB / 1.111 GB, free: 35.33 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.188e-05/0.1901, allocations: 36 kB / 1.111 GB, free: 35.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008902/0.191, allocations: 392.9 kB / 1.111 GB, free: 34.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.248e-05/0.191, allocations: 3.938 kB / 1.111 GB, free: 34.89 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.151e-05/0.1911, allocations: 19.95 kB / 1.112 GB, free: 34.88 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.1911, allocations: 12 kB / 1.112 GB, free: 34.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007985/0.1919, allocations: 262.8 kB / 1.112 GB, free: 34.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.1941, allocations: 1.33 MB / 1.113 GB, free: 33.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.1952, allocations: 313.2 kB / 1.113 GB, free: 32.91 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.1956, allocations: 144.8 kB / 1.114 GB, free: 32.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.058e-05/0.1956, allocations: 3.469 kB / 1.114 GB, free: 32.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004914/0.1961, allocations: 170.7 kB / 1.114 GB, free: 32.59 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=33): time 3.487e-06/0.1962, allocations: 0 / 1.114 GB, free: 32.59 MB / 0.6042 GB Notification: Performance of matching and sorting (n=33): time 0.001179/0.1973, allocations: 388.1 kB / 1.114 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.1974, allocations: 93.09 kB / 1.114 GB, free: 32.11 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004453/0.1979, allocations: 349.4 kB / 1.114 GB, free: 31.76 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.1979, allocations: 37.7 kB / 1.115 GB, free: 31.72 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001661/0.1981, allocations: 228.4 kB / 1.115 GB, free: 31.49 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.382e-05/0.1982, allocations: 105.5 kB / 1.115 GB, free: 31.39 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.384e-05/0.1982, allocations: 8 kB / 1.115 GB, free: 31.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.936e-05/0.1983, allocations: 350.8 kB / 1.115 GB, free: 31.03 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003497/0.1987, allocations: 100.7 kB / 1.115 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003781/0.1991, allocations: 171.1 kB / 1.115 GB, free: 30.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003625/0.1995, allocations: 116 kB / 1.116 GB, free: 30.63 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.1995, allocations: 4 kB / 1.116 GB, free: 30.62 MB / 0.6042 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008804/0.2004, allocations: 351.8 kB / 1.116 GB, free: 30.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.481e-05/0.2004, allocations: 134.2 kB / 1.116 GB, free: 30.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2005, allocations: 4 kB / 1.116 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.968e-05/0.2005, allocations: 8.766 kB / 1.116 GB, free: 30.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004912/0.201, allocations: 71.47 kB / 1.116 GB, free: 30.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.201, allocations: 4 kB / 1.116 GB, free: 30.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.2014, allocations: 43.67 kB / 1.116 GB, free: 30 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.2014, allocations: 15.98 kB / 1.116 GB, free: 29.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.283e-06/0.2014, allocations: 4 kB / 1.116 GB, free: 29.98 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000654/0.2021, allocations: 273.2 kB / 1.116 GB, free: 29.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.2021, allocations: 0 / 1.116 GB, free: 29.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.622e-06/0.2021, allocations: 4 kB / 1.116 GB, free: 29.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000426/0.2026, allocations: 69.97 kB / 1.116 GB, free: 29.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.2026, allocations: 4 kB / 1.116 GB, free: 29.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002939/0.2029, allocations: 35.77 kB / 1.117 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.779e-05/0.2029, allocations: 23.22 kB / 1.117 GB, free: 29.59 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: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.greaterEqualThreshold.y,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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.0002647/0.2032, allocations: 249 kB / 1.117 GB, free: 29.34 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.143e-05/0.2033, allocations: 39.53 kB / 1.117 GB, free: 29.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.2034, allocations: 45.7 kB / 1.117 GB, free: 29.25 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.2034, allocations: 0 / 1.117 GB, free: 29.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2034, allocations: 0 / 1.117 GB, free: 29.25 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.2036, allocations: 144 kB / 1.117 GB, free: 29.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.933e-05/0.2037, allocations: 12 kB / 1.117 GB, free: 29.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.204, allocations: 19.98 kB / 1.117 GB, free: 29.07 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.892e-05/0.2041, allocations: 31.91 kB / 1.117 GB, free: 29.04 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001096/0.2052, allocations: 386.5 kB / 1.117 GB, free: 28.66 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001213/0.2064, allocations: 0.5984 MB / 1.118 GB, free: 28.05 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003756/0.2068, allocations: 120.8 kB / 1.118 GB, free: 27.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003341/0.2072, allocations: 248.7 kB / 1.118 GB, free: 27.69 MB / 0.6042 GB Notification: Performance of Backend: time 7.31e-07/0.2072, allocations: 0 / 1.118 GB, free: 27.69 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.2085, allocations: 416.4 kB / 1.119 GB, free: 27.28 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001923/0.2105, allocations: 1.368 MB / 1.12 GB, free: 25.92 MB / 0.6042 GB Notification: Performance of Templates: time 0.01312/0.2236, allocations: 4.461 MB / 1.124 GB, free: 21.68 MB / 0.6042 GB