Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax.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.CDL.Discrete.Examples.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01062/0.01062, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.001109/0.001109, allocations: 176.2 kB / 16.06 MB, free: 5.875 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.61/3.61, allocations: 389.1 MB / 405.9 MB, free: 67.64 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.251/4.251, allocations: 472.3 MB / 0.9018 GB, free: 87.66 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004844/0.0004847, allocations: 11.84 kB / 1.008 GB, free: 37.5 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.1972, allocations: 98.72 MB / 1.104 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.001775/0.199, allocations: 1.151 MB / 1.105 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0006125/0.1996, allocations: 252.2 kB / 1.105 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.262e-05/0.1997, allocations: 1.25 kB / 1.105 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.431e-05/0.1997, allocations: 3.938 kB / 1.105 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.854e-05/0.1998, allocations: 7.922 kB / 1.105 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002038/0.2, allocations: 28.53 kB / 1.105 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.596e-05/0.2001, allocations: 53.16 kB / 1.105 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.113e-05/0.2002, allocations: 8 kB / 1.106 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.485e-05/0.2003, allocations: 25.5 kB / 1.106 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.102e-05/0.2004, allocations: 19.92 kB / 1.106 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.2004, allocations: 0 / 1.106 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.2004, allocations: 4 kB / 1.106 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.238e-05/0.2005, allocations: 13.89 kB / 1.106 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.133e-05/0.2005, allocations: 33.64 kB / 1.106 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 8.96e-05/0.2006, allocations: 35.91 kB / 1.106 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.766e-06/0.2006, allocations: 4 kB / 1.106 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.06e-06/0.2007, allocations: 0 / 1.106 GB, free: 10.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.936e-06/0.2007, allocations: 0.5 kB / 1.106 GB, free: 10.11 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00063/0.2013, allocations: 370.7 kB / 1.106 GB, free: 9.699 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.2014, allocations: 8.031 kB / 1.106 GB, free: 9.691 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.191e-05/0.2014, allocations: 7.906 kB / 1.106 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.2016, allocations: 183 kB / 1.106 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.2016, allocations: 3.984 kB / 1.106 GB, free: 9.461 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.2016, allocations: 4 kB / 1.106 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.2019, allocations: 73.59 kB / 1.106 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.202e-06/0.2019, allocations: 0 / 1.106 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.2019, allocations: 0 / 1.106 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-06/0.2019, allocations: 0 / 1.106 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002445/0.2022, allocations: 59.95 kB / 1.106 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005315/0.2027, allocations: 284.8 kB / 1.107 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.203, allocations: 66.48 kB / 1.107 GB, free: 8.918 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.2031, allocations: 32.95 kB / 1.107 GB, free: 8.883 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.494e-05/0.2032, allocations: 4 kB / 1.107 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002785/0.2035, allocations: 91.34 kB / 1.107 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=7): time 2.665e-06/0.2035, allocations: 0 / 1.107 GB, free: 8.777 MB / 0.5261 GB Notification: Performance of matching and sorting (n=7): time 0.0005465/0.204, allocations: 149.5 kB / 1.107 GB, free: 8.625 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/0.2041, allocations: 51.41 kB / 1.107 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001167/0.2042, allocations: 114.2 kB / 1.107 GB, free: 8.441 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.2043, allocations: 29.69 kB / 1.107 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.2044, allocations: 95.98 kB / 1.107 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.738e-05/0.2044, allocations: 27.67 kB / 1.107 GB, free: 8.281 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.2044, allocations: 4 kB / 1.107 GB, free: 8.277 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.2046, allocations: 318.8 kB / 1.108 GB, free: 7.957 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.2048, allocations: 27.98 kB / 1.108 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001494/0.2049, allocations: 50.55 kB / 1.108 GB, free: 7.871 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.2051, allocations: 39.97 kB / 1.108 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.797e-06/0.2051, allocations: 0 / 1.108 GB, free: 7.832 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003728/0.2055, allocations: 117.5 kB / 1.108 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.2055, allocations: 4 kB / 1.108 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.098e-06/0.2055, allocations: 0 / 1.108 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.2055, allocations: 4 kB / 1.108 GB, free: 7.703 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.2057, allocations: 23.88 kB / 1.108 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/0.2057, allocations: 320 / 1.108 GB, free: 7.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001266/0.2058, allocations: 23.97 kB / 1.108 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.298e-05/0.2059, allocations: 4 kB / 1.108 GB, free: 7.652 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$PRE.triggeredMax.y,triggeredMax.y,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001224/0.206, allocations: 113.8 kB / 1.108 GB, free: 7.531 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/0.206, allocations: 4 kB / 1.108 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004041/0.2064, allocations: 129.9 kB / 1.108 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.2065, allocations: 0 / 1.108 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.613e-06/0.2065, allocations: 4.047 kB / 1.108 GB, free: 7.387 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.336e-06/0.2065, allocations: 3.984 kB / 1.108 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007212/0.2072, allocations: 390.4 kB / 1.108 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.205e-06/0.2073, allocations: 0 / 1.108 GB, free: 6.945 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.042e-05/0.2074, allocations: 15.92 kB / 1.108 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.165e-06/0.2074, allocations: 0 / 1.108 GB, free: 6.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.2074, allocations: 7.953 kB / 1.108 GB, free: 6.922 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.2074, allocations: 4 kB / 1.108 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.106e-06/0.2074, allocations: 0 / 1.108 GB, free: 6.918 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.2078, allocations: 199.5 kB / 1.109 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 7.05e-05/0.2079, allocations: 92.95 kB / 1.109 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.208, allocations: 0 / 1.109 GB, free: 6.598 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.2081, allocations: 19.94 kB / 1.109 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.009e-05/0.2082, allocations: 7.984 kB / 1.109 GB, free: 6.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.2082, allocations: 4 kB / 1.109 GB, free: 6.566 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.895e-05/0.2083, allocations: 91.27 kB / 1.109 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.093e-06/0.2083, allocations: 192 / 1.109 GB, free: 6.477 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003391/0.2087, allocations: 15.94 kB / 1.109 GB, free: 6.461 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (booPul.y,$whenCondition2,$whenCondition1,triggeredMax.y,booPul.pulseStart) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001423/0.2088, allocations: 111.1 kB / 1.109 GB, free: 6.344 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003512/0.2092, allocations: 75.94 kB / 1.109 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.78e-06/0.2092, allocations: 4 kB / 1.109 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001602/0.2094, allocations: 43.97 kB / 1.109 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.2098, allocations: 15.59 kB / 1.109 GB, free: 6.211 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.2102, allocations: 173.2 kB / 1.109 GB, free: 6.016 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/0.2106, allocations: 0.6926 MB / 1.11 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.631e-05/0.2107, allocations: 4 kB / 1.11 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.2107, allocations: 11.44 kB / 1.11 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of SimCode: time 1.528e-06/0.2108, allocations: 0 / 1.11 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of Templates: time 0.003634/0.2144, allocations: 0.7421 MB / 1.111 GB, free: 4.539 MB / 0.5261 GB