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.Integers.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.Integers.Validation.LessThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01051/0.01051, allocations: 107.5 kB / 15.06 MB, free: 5.559 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.001103/0.001103, allocations: 179.4 kB / 15.94 MB, free: 5.523 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 2.227/2.227, allocations: 194.5 MB / 211.3 MB, free: 11.14 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.465/2.465, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004753/0.0004756, allocations: 12 kB / 0.587 GB, free: 2.176 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5425/0.543, allocations: 98.71 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.001427/0.5445, allocations: 1.103 MB / 0.6844 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000349/0.5449, allocations: 145.7 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.386e-05/0.545, allocations: 0 / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.545, allocations: 5.719 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.5451, allocations: 4.656 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001234/0.5452, allocations: 18.86 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.563e-05/0.5453, allocations: 21.98 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.18e-05/0.5454, allocations: 12.69 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 6.121e-05/0.5455, allocations: 20.69 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.608e-05/0.5455, allocations: 21.05 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.5456, allocations: 1.438 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.5456, allocations: 1.531 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.556e-05/0.5456, allocations: 12.39 kB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.167e-05/0.5456, allocations: 31.73 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 7.567e-05/0.5457, allocations: 32.25 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.058e-06/0.5457, allocations: 0 / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.604e-06/0.5457, allocations: 0.7031 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.493e-06/0.5458, allocations: 1.469 kB / 0.6847 GB, free: 15.79 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004409/0.5462, allocations: 353.1 kB / 0.6851 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.5463, allocations: 12.94 kB / 0.6851 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.778e-05/0.5463, allocations: 6.953 kB / 0.6851 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.5464, allocations: 167.5 kB / 0.6853 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.5464, allocations: 5.062 kB / 0.6853 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.5465, allocations: 2.875 kB / 0.6853 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.5467, allocations: 68.31 kB / 0.6853 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.315e-06/0.5467, allocations: 3.984 kB / 0.6853 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.5468, allocations: 10.09 kB / 0.6853 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-06/0.5468, allocations: 0 / 0.6853 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002659/0.547, allocations: 57.39 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.5475, allocations: 298 kB / 0.6857 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002439/0.5478, allocations: 66.47 kB / 0.6858 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.5478, allocations: 1.438 kB / 0.6858 GB, free: 14.83 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.88e-05/0.5478, allocations: 32.58 kB / 0.6858 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 2.308e-06/0.5479, allocations: 4 kB / 0.6858 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0005287/0.5484, allocations: 131.5 kB / 0.6859 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/0.5484, allocations: 60.59 kB / 0.686 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.552e-05/0.5485, allocations: 106.4 kB / 0.6861 GB, free: 14.55 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.5486, allocations: 26.77 kB / 0.6861 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.075e-05/0.5486, allocations: 90.91 kB / 0.6862 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.5486, allocations: 10.41 kB / 0.6862 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.279e-06/0.5487, allocations: 0 / 0.6862 GB, free: 14.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.539e-05/0.5487, allocations: 317.6 kB / 0.6865 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/0.5489, allocations: 31.59 kB / 0.6865 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001263/0.549, allocations: 28.45 kB / 0.6866 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000133/0.5492, allocations: 28 kB / 0.6866 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.493e-06/0.5492, allocations: 0 / 0.6866 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003227/0.5495, allocations: 104.2 kB / 0.6867 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.5495, allocations: 6.719 kB / 0.6867 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.5496, allocations: 4 kB / 0.6867 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.5496, allocations: 0.7969 kB / 0.6867 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.5497, allocations: 18.67 kB / 0.6867 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.5498, allocations: 4 kB / 0.6867 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.5499, allocations: 11.62 kB / 0.6867 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.5499, allocations: 1.781 kB / 0.6867 GB, free: 14.03 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 7.412e-05/0.55, allocations: 113 kB / 0.6868 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.55, allocations: 2.719 kB / 0.6868 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/0.5501, allocations: 5.516 kB / 0.6868 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.554e-06/0.5501, allocations: 0.7031 kB / 0.6868 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.688e-06/0.5501, allocations: 5.391 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.369e-06/0.5501, allocations: 4 kB / 0.6868 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.5503, allocations: 178.5 kB / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.102e-06/0.5503, allocations: 0 / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001345/0.5505, allocations: 15.25 kB / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.641e-06/0.5505, allocations: 0.5156 kB / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.5505, allocations: 1.906 kB / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.5505, allocations: 0 / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.301e-06/0.5505, allocations: 0.8438 kB / 0.687 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003556/0.5509, allocations: 201.8 kB / 0.6872 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.785e-05/0.5509, allocations: 83.09 kB / 0.6873 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.968e-05/0.551, allocations: 0.6094 kB / 0.6873 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.5511, allocations: 14.58 kB / 0.6873 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.566e-05/0.5512, allocations: 11.77 kB / 0.6873 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.73e-06/0.5512, allocations: 2.797 kB / 0.6873 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.523e-05/0.5513, allocations: 87.84 kB / 0.6874 GB, free: 13.35 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.22e-07/0.5513, allocations: 3.938 kB / 0.6874 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003093/0.5516, allocations: 9.922 kB / 0.6874 GB, free: 13.34 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: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001063/0.5517, allocations: 104.1 kB / 0.6875 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003287/0.5521, allocations: 73.34 kB / 0.6876 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.197e-06/0.5521, allocations: 1.594 kB / 0.6876 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001536/0.5522, allocations: 33.78 kB / 0.6876 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.5525, allocations: 7.578 kB / 0.6876 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003695/0.5529, allocations: 138.5 kB / 0.6878 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.553, allocations: 0.6862 MB / 0.6884 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.923e-05/0.5531, allocations: 7.719 kB / 0.6885 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.5531, allocations: 11.66 kB / 0.6885 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of SimCode: time 1.479e-06/0.5532, allocations: 0 / 0.6885 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.003571/0.5567, allocations: 0.7351 MB / 0.6892 GB, free: 12.31 MB / 0.5261 GB