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.Continuous.Validation.LessThreshold.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.Continuous.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01082/0.01082, allocations: 220.3 kB / 15.17 MB, free: 6 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.001115/0.001115, allocations: 175.6 kB / 16.06 MB, free: 5.871 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.804/3.804, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.36/4.36, allocations: 472.3 MB / 0.9017 GB, free: 3.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000795/0.0007953, allocations: 16 kB / 1.008 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6589/0.6598, allocations: 98.71 MB / 1.104 GB, free: 213 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.002399/0.6622, allocations: 1.079 MB / 1.105 GB, free: 212.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000424/0.6627, allocations: 105.1 kB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.6628, allocations: 3.438 kB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.223e-05/0.6628, allocations: 0.6875 kB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.01e-05/0.6629, allocations: 11.61 kB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 5.806e-05/0.663, allocations: 2.016 kB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 8.001e-05/0.6631, allocations: 21.75 kB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.6632, allocations: 5.891 kB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.536e-05/0.6633, allocations: 6.25 kB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.587e-05/0.6634, allocations: 11.23 kB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.6634, allocations: 2.844 kB / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.669e-06/0.6635, allocations: 0 / 1.105 GB, free: 212.4 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.603e-05/0.6635, allocations: 6.672 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.332e-05/0.6635, allocations: 29.39 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.3e-05/0.6636, allocations: 10.78 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.626e-06/0.6636, allocations: 1.25 kB / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6637, allocations: 0 / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.875e-06/0.6637, allocations: 0 / 1.105 GB, free: 212.3 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005052/0.6642, allocations: 348.6 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.6643, allocations: 9.875 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.6643, allocations: 3.906 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.6645, allocations: 168.3 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.6645, allocations: 1.375 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.048e-05/0.6645, allocations: 5 kB / 1.106 GB, free: 211.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.6648, allocations: 52.84 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.6649, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.6649, allocations: 2.906 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.995e-06/0.6649, allocations: 0 / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003532/0.6653, allocations: 45.08 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.6658, allocations: 267.7 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.666, allocations: 45.14 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001846/0.6662, allocations: 24.92 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.6663, allocations: 4.062 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.6663, allocations: 35.97 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 3.531e-06/0.6663, allocations: 0 / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0006809/0.667, allocations: 100.6 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.487e-05/0.6671, allocations: 58.83 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.765e-05/0.6672, allocations: 105.4 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.6672, allocations: 29.02 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.087e-05/0.6673, allocations: 84.14 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.6673, allocations: 7.281 kB / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-06/0.6674, allocations: 0 / 1.107 GB, free: 211 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.764e-05/0.6675, allocations: 316 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.6677, allocations: 22.58 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001696/0.6678, allocations: 20.42 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.668, allocations: 23.31 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.502e-06/0.6681, allocations: 0 / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004335/0.6685, allocations: 77.81 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.351e-05/0.6686, allocations: 9.344 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.6686, allocations: 0 / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.392e-05/0.6686, allocations: 1.5 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/0.6688, allocations: 8.5 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.983e-06/0.6688, allocations: 0 / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.669, allocations: 20.08 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.669, allocations: 2.844 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 9.498e-05/0.6691, allocations: 109.8 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.341e-05/0.6692, allocations: 5.188 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.993e-05/0.6693, allocations: 5.344 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.923e-06/0.6693, allocations: 0 / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.648e-06/0.6693, allocations: 0 / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.605e-06/0.6693, allocations: 6.375 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.6696, allocations: 158.4 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.833e-06/0.6696, allocations: 3.5 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001222/0.6698, allocations: 10.12 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.312e-06/0.6698, allocations: 0.9688 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.6698, allocations: 3.5 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.6698, allocations: 1.5 kB / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.043e-06/0.6699, allocations: 0 / 1.107 GB, free: 210.3 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.6703, allocations: 181 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/0.6704, allocations: 77.11 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.6704, allocations: 4.312 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.6707, allocations: 15.16 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.081e-05/0.6707, allocations: 1.594 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.648e-06/0.6708, allocations: 4.5 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.145e-05/0.6708, allocations: 86.25 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.078e-06/0.6709, allocations: 0 / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000556/0.6714, allocations: 3.281 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (lesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.000164/0.6716, allocations: 108.8 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004238/0.6721, allocations: 46.22 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6721, allocations: 0 / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.6723, allocations: 33.78 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.6729, allocations: 6.453 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003936/0.6734, allocations: 115.6 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001614/0.6735, allocations: 0.6796 MB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.474e-05/0.6736, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.6737, allocations: 8.875 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of SimCode: time 2.513e-06/0.6737, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of Templates: time 0.004167/0.6779, allocations: 385.5 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB