Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.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.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004166/0.004166, allocations: 237.9 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.001127/0.001127, allocations: 179.7 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 4.112/4.112, 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.242/4.242, allocations: 472.3 MB / 0.9024 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004818/0.000482, allocations: 12 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1723/0.1729, allocations: 98.73 MB / 1.105 GB, free: 42.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.TrimAndRespond): time 0.00333/0.1762, allocations: 2.48 MB / 1.107 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001746/0.178, allocations: 0.718 MB / 1.108 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003861/0.1785, allocations: 12 kB / 1.108 GB, free: 38.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.1786, allocations: 47.44 kB / 1.108 GB, free: 38.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0003055/0.1789, allocations: 47.52 kB / 1.108 GB, free: 38.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006933/0.1796, allocations: 195.2 kB / 1.108 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006949/0.1803, allocations: 0.6333 MB / 1.109 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000577/0.1809, allocations: 285.2 kB / 1.109 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003828/0.1813, allocations: 183.1 kB / 1.109 GB, free: 37.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002958/0.1816, allocations: 242.6 kB / 1.109 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 7.549e-05/0.1817, allocations: 24 kB / 1.109 GB, free: 37.19 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.099e-05/0.1818, allocations: 20 kB / 1.109 GB, free: 37.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.732e-05/0.1819, allocations: 103.5 kB / 1.109 GB, free: 37.07 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/0.1821, allocations: 140.6 kB / 1.11 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000772/0.1828, allocations: 0.7365 MB / 1.11 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.1829, allocations: 0 / 1.11 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1829, allocations: 0 / 1.11 GB, free: 36.19 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.359e-05/0.1829, allocations: 0 / 1.11 GB, free: 36.19 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002255/0.1852, allocations: 0.8701 MB / 1.111 GB, free: 35.28 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.1852, allocations: 8.031 kB / 1.111 GB, free: 35.27 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001709/0.1854, allocations: 83.02 kB / 1.111 GB, free: 35.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.1857, allocations: 290.8 kB / 1.112 GB, free: 34.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.1859, allocations: 76.47 kB / 1.112 GB, free: 34.8 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.186, allocations: 72 kB / 1.112 GB, free: 34.73 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001627/0.1877, allocations: 0.647 MB / 1.112 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.449e-05/0.1877, allocations: 0 / 1.112 GB, free: 34.08 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.618e-05/0.1878, allocations: 31.92 kB / 1.112 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.757e-05/0.1878, allocations: 19.95 kB / 1.112 GB, free: 34.03 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001447/0.1893, allocations: 473 kB / 1.113 GB, free: 33.57 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003605/0.1929, allocations: 1.708 MB / 1.114 GB, free: 31.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002016/0.195, allocations: 0.638 MB / 1.115 GB, free: 31.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000716/0.1957, allocations: 238.8 kB / 1.115 GB, free: 30.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.383e-05/0.1958, allocations: 12.22 kB / 1.115 GB, free: 30.94 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.1969, allocations: 419.8 kB / 1.116 GB, free: 30.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=67): time 3.236e-06/0.1969, allocations: 0 / 1.116 GB, free: 30.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=67): time 0.002679/0.1996, allocations: 0.8607 MB / 1.117 GB, free: 29.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.1997, allocations: 89.11 kB / 1.117 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006653/0.2004, allocations: 481.8 kB / 1.117 GB, free: 29.07 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.847e-05/0.2005, allocations: 45.64 kB / 1.117 GB, free: 29.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002044/0.2007, allocations: 274.6 kB / 1.117 GB, free: 28.75 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/0.2009, allocations: 185.4 kB / 1.118 GB, free: 28.56 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.831e-05/0.2009, allocations: 8 kB / 1.118 GB, free: 28.55 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.201, allocations: 381.9 kB / 1.118 GB, free: 28.18 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006607/0.2017, allocations: 185.9 kB / 1.118 GB, free: 27.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007306/0.2025, allocations: 352.5 kB / 1.119 GB, free: 27.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007068/0.2032, allocations: 208.1 kB / 1.119 GB, free: 27.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.2032, allocations: 0 / 1.119 GB, free: 27.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001814/0.205, allocations: 0.626 MB / 1.119 GB, free: 26.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.696e-05/0.2051, allocations: 8 kB / 1.119 GB, free: 26.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.404e-05/0.2051, allocations: 4.703 kB / 1.119 GB, free: 26.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.2051, allocations: 11.98 kB / 1.119 GB, free: 26.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007526/0.2059, allocations: 103.8 kB / 1.119 GB, free: 26.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.874e-05/0.2059, allocations: 19.33 kB / 1.119 GB, free: 26.63 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005983/0.2065, allocations: 75.36 kB / 1.12 GB, free: 26.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.169e-05/0.2066, allocations: 31.98 kB / 1.12 GB, free: 26.53 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: 47 ($PRE.trimRespondLogic.tim.u,$PRE.trimRespondLogic1.tim.u,$PRE.trimRespondLogic.sampler.firstTrigger,trimRespondLogic.sampler.firstTrigger,$PRE.trimRespondLogic.uniDel.firstTrigger,trimRespondLogic.uniDel.firstTrigger,$whenCondition7,$PRE.trimRespondLogic.tim.t_next,$whenCondition10,trimRespondLogic.uniDel.sampleTrigger,$whenCondition11,trimRespondLogic.sampler.sampleTrigger,$whenCondition8,$whenCondition9,trimRespondLogic.tim.u,trimRespondLogic.tim.y,trimRespondLogic.greThr.y,trimRespondLogic.netRes.u2,$PRE.trimRespondLogic.uniDel.y,trimRespondLogic.uniDel.y,trimRespondLogic.sampler.y,reaToInt1.y,trimRespondLogic.tim.t_next,$PRE.trimRespondLogic1.sampler.firstTrigger,trimRespondLogic1.sampler.firstTrigger,$PRE.trimRespondLogic1.uniDel.firstTrigger,trimRespondLogic1.uniDel.firstTrigger,$whenCondition6,$whenCondition1,$PRE.trimRespondLogic1.tim.t_next,$whenCondition4,trimRespondLogic1.uniDel.sampleTrigger,$whenCondition5,trimRespondLogic1.sampler.sampleTrigger,$whenCondition2,$whenCondition3,trimRespondLogic1.tim.u,trimRespondLogic1.tim.y,trimRespondLogic1.greThr.y,trimRespondLogic1.netRes.u2,$PRE.trimRespondLogic1.uniDel.y,trimRespondLogic1.uniDel.y,trimRespondLogic1.sampler.y,$PRE.booPul.pulseStart,booPul.pulseStart,reaToInt2.y,trimRespondLogic1.tim.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * 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.000403/0.207, allocations: 223.7 kB / 1.12 GB, free: 26.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.2072, allocations: 59.25 kB / 1.12 GB, free: 26.25 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.2092, allocations: 0.701 MB / 1.121 GB, free: 25.55 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.2093, allocations: 3.984 kB / 1.121 GB, free: 25.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/0.2093, allocations: 4 kB / 1.121 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001518/0.2094, allocations: 136.4 kB / 1.121 GB, free: 25.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.2096, allocations: 15.98 kB / 1.121 GB, free: 25.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005939/0.2102, allocations: 51.17 kB / 1.121 GB, free: 25.33 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001894/0.2104, allocations: 69.45 kB / 1.121 GB, free: 25.26 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002206/0.2126, allocations: 0.8248 MB / 1.122 GB, free: 24.44 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001971/0.2146, allocations: 0.9142 MB / 1.122 GB, free: 23.52 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008377/0.2155, allocations: 306.2 kB / 1.123 GB, free: 23.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004736/0.216, allocations: 325.9 kB / 1.123 GB, free: 22.9 MB / 0.6042 GB Notification: Performance of Backend: time 4.01e-07/0.216, allocations: 0 / 1.123 GB, free: 22.9 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001602/0.2176, allocations: 431.9 kB / 1.124 GB, free: 22.48 MB / 0.6042 GB Notification: Performance of SimCode: time 0.002063/0.2197, allocations: 1.489 MB / 1.125 GB, free: 20.96 MB / 0.6042 GB Notification: Performance of Templates: time 0.01755/0.2373, allocations: 5.985 MB / 1.131 GB, free: 15.27 MB / 0.6042 GB