Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004202/0.004201, allocations: 236.6 kB / 15.8 MB, free: 6.316 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.001183/0.001183, allocations: 178.1 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.951/3.951, allocations: 389.1 MB / 406.5 MB, free: 11.85 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.48/4.48, allocations: 472.3 MB / 0.9024 GB, free: 9.25 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004883, allocations: 12 kB / 1.008 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1701, allocations: 98.71 MB / 1.105 GB, free: 80.51 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.TrimAndRespond): time 0.002323/0.1725, allocations: 1.669 MB / 1.106 GB, free: 78.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001262/0.1738, allocations: 0.6092 MB / 1.107 GB, free: 78.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001115/0.174, allocations: 7.938 kB / 1.107 GB, free: 78.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 4.86e-05/0.174, allocations: 10.36 kB / 1.107 GB, free: 78.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001468/0.1742, allocations: 27.72 kB / 1.107 GB, free: 78.17 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003997/0.1746, allocations: 88.2 kB / 1.107 GB, free: 78.08 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004659/0.1751, allocations: 462 kB / 1.107 GB, free: 77.63 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.1754, allocations: 187.4 kB / 1.108 GB, free: 77.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002335/0.1757, allocations: 147.3 kB / 1.108 GB, free: 77.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002109/0.1759, allocations: 172.3 kB / 1.108 GB, free: 77.16 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.132e-05/0.176, allocations: 16 kB / 1.108 GB, free: 77.14 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.551e-05/0.1761, allocations: 16 kB / 1.108 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.041e-05/0.1761, allocations: 74.28 kB / 1.108 GB, free: 77.05 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.477e-05/0.1762, allocations: 93.45 kB / 1.108 GB, free: 76.96 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005429/0.1768, allocations: 0.503 MB / 1.109 GB, free: 76.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1768, allocations: 0 / 1.109 GB, free: 76.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.114e-06/0.1768, allocations: 0 / 1.109 GB, free: 76.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.1768, allocations: 0 / 1.109 GB, free: 76.45 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: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.0029/0.1797, allocations: 0.9381 MB / 1.109 GB, free: 75.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.1798, allocations: 11.47 kB / 1.109 GB, free: 75.46 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.18, allocations: 55.39 kB / 1.11 GB, free: 75.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006564/0.1806, allocations: 382.7 kB / 1.11 GB, free: 74.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/0.1807, allocations: 28.66 kB / 1.11 GB, free: 74.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.952e-05/0.1808, allocations: 35.98 kB / 1.11 GB, free: 74.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/0.1826, allocations: 0.6771 MB / 1.111 GB, free: 74.23 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/0.1826, allocations: 0 / 1.111 GB, free: 74.23 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.993e-05/0.1827, allocations: 12 kB / 1.111 GB, free: 74.22 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.164e-05/0.1827, allocations: 8 kB / 1.111 GB, free: 74.21 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.1848, allocations: 0.6295 MB / 1.111 GB, free: 73.59 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003284/0.1881, allocations: 1.652 MB / 1.113 GB, free: 71.89 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002951/0.1911, allocations: 0.9459 MB / 1.114 GB, free: 70.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001079/0.1922, allocations: 380.2 kB / 1.114 GB, free: 70.52 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 5.532e-05/0.1923, allocations: 14.86 kB / 1.114 GB, free: 70.5 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001453/0.1938, allocations: 0.5397 MB / 1.115 GB, free: 69.94 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 3.948e-06/0.1938, allocations: 0 / 1.115 GB, free: 69.94 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.003782/0.1976, allocations: 1.148 MB / 1.116 GB, free: 68.8 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.1977, allocations: 278.6 kB / 1.116 GB, free: 68.47 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006051/0.1983, allocations: 429.5 kB / 1.117 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.943e-05/0.1984, allocations: 53.69 kB / 1.117 GB, free: 67.99 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.1986, allocations: 196.3 kB / 1.117 GB, free: 67.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001345/0.1988, allocations: 130.4 kB / 1.117 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.525e-05/0.1988, allocations: 8 kB / 1.117 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001002/0.1989, allocations: 358.8 kB / 1.117 GB, free: 67.3 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.1999, allocations: 308.3 kB / 1.118 GB, free: 67.01 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/0.2011, allocations: 0.4902 MB / 1.118 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.2022, allocations: 374.6 kB / 1.118 GB, free: 66.1 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.2022, allocations: 7.938 kB / 1.118 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.002463/0.2047, allocations: 0.8401 MB / 1.119 GB, free: 65.25 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.2049, allocations: 254 kB / 1.119 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.2049, allocations: 4 kB / 1.119 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.134e-05/0.2049, allocations: 9.562 kB / 1.119 GB, free: 64.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.2056, allocations: 117.1 kB / 1.12 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.2056, allocations: 8 kB / 1.12 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007444/0.2064, allocations: 110.8 kB / 1.12 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.689e-05/0.2065, allocations: 27.92 kB / 1.12 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/0.2065, allocations: 7.938 kB / 1.12 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001608/0.2081, allocations: 0.6131 MB / 1.12 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.2081, allocations: 7.984 kB / 1.12 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.2081, allocations: 8 kB / 1.12 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004875/0.2086, allocations: 74.61 kB / 1.12 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.2087, allocations: 11.98 kB / 1.12 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005893/0.2093, allocations: 84.66 kB / 1.12 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.2093, allocations: 20 kB / 1.12 GB, free: 63.85 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 53 ($PRE.triAndRes[1].uniDel1.firstTrigger,triAndRes[1].uniDel1.firstTrigger,$PRE.triAndRes[1].sam.firstTrigger,triAndRes[1].sam.firstTrigger,$whenCondition9,triAndRes[1].sam.sampleTrigger,$whenCondition10,triAndRes[1].uniDel1.sampleTrigger,$PRE.triAndRes[1].firstTrigger,triAndRes[1].firstTrigger,$whenCondition7,triAndRes[1].sampleTrigger,$PRE.triAndRes[2].uniDel1.firstTrigger,triAndRes[2].uniDel1.firstTrigger,$PRE.triAndRes[2].sam.firstTrigger,triAndRes[2].sam.firstTrigger,$whenCondition5,triAndRes[2].sam.sampleTrigger,$whenCondition6,triAndRes[2].uniDel1.sampleTrigger,triAndRes[2].incY.y,triAndRes[2].sam.y,$PRE.triAndRes[2].uniDel1.y,triAndRes[2].uniDel1.y,$PRE.triAndRes[2].firstTrigger,triAndRes[2].firstTrigger,$whenCondition4,triAndRes[2].sampleTrigger,$PRE.triAndRes[3].uniDel1.firstTrigger,triAndRes[3].uniDel1.firstTrigger,$PRE.triAndRes[3].sam.firstTrigger,triAndRes[3].sam.firstTrigger,$whenCondition2,triAndRes[3].sam.sampleTrigger,$whenCondition3,triAndRes[3].uniDel1.sampleTrigger,triAndRes[3].incY.y,triAndRes[3].sam.y,$PRE.triAndRes[3].uniDel1.y,triAndRes[3].uniDel1.y,$PRE.triAndRes[3].firstTrigger,triAndRes[3].firstTrigger,$whenCondition1,triAndRes[3].sampleTrigger,$whenCondition8,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.count,triAndRes[1].incY.y,triAndRes[1].sam.y,$PRE.triAndRes[1].uniDel1.y,triAndRes[1].uniDel1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.000501/0.2098, allocations: 371.8 kB / 1.121 GB, free: 63.49 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.21, allocations: 47.44 kB / 1.121 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001349/0.2101, allocations: 55.36 kB / 1.121 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.918e-06/0.2101, allocations: 7.453 kB / 1.121 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.2102, allocations: 4 kB / 1.121 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.97e-05/0.2103, allocations: 120.6 kB / 1.121 GB, free: 63.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.2104, allocations: 19.98 kB / 1.121 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009131/0.2113, allocations: 119.2 kB / 1.121 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001463/0.2115, allocations: 55.88 kB / 1.121 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003083/0.2146, allocations: 1.348 MB / 1.123 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002624/0.2172, allocations: 1.366 MB / 1.124 GB, free: 60.34 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001168/0.2184, allocations: 385.3 kB / 1.124 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004172/0.2189, allocations: 304 kB / 1.125 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of Backend: time 8.72e-07/0.2189, allocations: 0 / 1.125 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003143/0.222, allocations: 0.9156 MB / 1.125 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001926/0.224, allocations: 1.339 MB / 1.127 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of Templates: time 0.02057/0.2446, allocations: 8.919 MB / 1.135 GB, free: 48.88 MB / 0.6042 GB