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.GreaterThreshold.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.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009663/0.009663, allocations: 109.6 kB / 15.06 MB, free: 5.562 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.00114/0.00114, allocations: 182.8 kB / 15.95 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 1.806/1.806, allocations: 194.6 MB / 211.3 MB, free: 10.98 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.292/2.292, allocations: 236.1 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 16 kB / 0.587 GB, free: 2.129 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5406/0.5416, allocations: 98.71 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold): time 0.001313/0.543, allocations: 1.081 MB / 0.6844 GB, free: 15.96 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0002496/0.5432, allocations: 107.6 kB / 0.6845 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.469e-05/0.5433, allocations: 0 / 0.6845 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.5433, allocations: 0 / 0.6845 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.673e-05/0.5434, allocations: 1.891 kB / 0.6845 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 4.302e-05/0.5434, allocations: 6.656 kB / 0.6845 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.105e-05/0.5435, allocations: 18.03 kB / 0.6845 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.049e-05/0.5436, allocations: 4.219 kB / 0.6845 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.86e-05/0.5436, allocations: 9.047 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.756e-05/0.5437, allocations: 13.27 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.5437, allocations: 1.375 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.478e-06/0.5437, allocations: 1.469 kB / 0.6846 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.141e-05/0.5437, allocations: 4.781 kB / 0.6846 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.67e-05/0.5438, allocations: 32.14 kB / 0.6846 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 4.971e-05/0.5438, allocations: 12.05 kB / 0.6846 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.289e-06/0.5438, allocations: 1.25 kB / 0.6846 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.17e-06/0.5438, allocations: 0 / 0.6846 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.483e-06/0.5439, allocations: 0 / 0.6846 GB, free: 15.82 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003568/0.5442, allocations: 347.1 kB / 0.6849 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.5443, allocations: 8.531 kB / 0.685 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.5443, allocations: 5.906 kB / 0.685 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.43e-05/0.5444, allocations: 169.9 kB / 0.6851 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.5444, allocations: 1.594 kB / 0.6851 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.5444, allocations: 1.625 kB / 0.6851 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.5446, allocations: 56.75 kB / 0.6852 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.293e-06/0.5446, allocations: 0 / 0.6852 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.626e-06/0.5447, allocations: 0.9688 kB / 0.6852 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.53e-06/0.5447, allocations: 0 / 0.6852 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002005/0.5449, allocations: 47.67 kB / 0.6852 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.5452, allocations: 256.2 kB / 0.6855 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.5454, allocations: 49 kB / 0.6855 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.5454, allocations: 8.547 kB / 0.6855 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.5454, allocations: 35.62 kB / 0.6856 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.95e-06/0.5454, allocations: 0 / 0.6856 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003939/0.5458, allocations: 95.12 kB / 0.6857 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.575e-05/0.5459, allocations: 55.86 kB / 0.6857 GB, free: 14.74 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.22e-05/0.5459, allocations: 110.3 kB / 0.6858 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.425e-06/0.546, allocations: 27.05 kB / 0.6858 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.04e-05/0.546, allocations: 86.23 kB / 0.6859 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/0.546, allocations: 4.703 kB / 0.6859 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-06/0.546, allocations: 1.281 kB / 0.6859 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.881e-05/0.5461, allocations: 315.4 kB / 0.6862 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.5462, allocations: 23.3 kB / 0.6862 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.379e-05/0.5463, allocations: 19.12 kB / 0.6863 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001025/0.5464, allocations: 27.22 kB / 0.6863 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.07e-06/0.5465, allocations: 0 / 0.6863 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002412/0.5467, allocations: 72.41 kB / 0.6864 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.5467, allocations: 7.328 kB / 0.6864 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.5468, allocations: 4.031 kB / 0.6864 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.5468, allocations: 1.438 kB / 0.6864 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.823e-05/0.5469, allocations: 13.95 kB / 0.6864 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.225e-06/0.5469, allocations: 1.656 kB / 0.6864 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.974e-05/0.547, allocations: 10.72 kB / 0.6864 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.547, allocations: 3.953 kB / 0.6864 GB, free: 14.13 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: 1 (greThr.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 5.753e-05/0.5471, allocations: 117.5 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.462e-05/0.5471, allocations: 5.031 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.771e-05/0.5471, allocations: 4.156 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.463e-06/0.5471, allocations: 1.859 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5472, allocations: 0 / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.818e-06/0.5472, allocations: 1.031 kB / 0.6865 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.5473, allocations: 160.1 kB / 0.6867 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.5473, allocations: 1.344 kB / 0.6867 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-05/0.5474, allocations: 13.25 kB / 0.6867 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5474, allocations: 4.656 kB / 0.6867 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.12e-06/0.5474, allocations: 1.531 kB / 0.6867 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.5475, allocations: 0 / 0.6867 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.092e-06/0.5475, allocations: 0.6562 kB / 0.6867 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.5477, allocations: 179.3 kB / 0.6869 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.217e-05/0.5478, allocations: 79.11 kB / 0.6869 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.5478, allocations: 2.047 kB / 0.6869 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.5479, allocations: 10.8 kB / 0.687 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.548, allocations: 6.828 kB / 0.687 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-06/0.548, allocations: 1.094 kB / 0.687 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.264e-05/0.548, allocations: 92.84 kB / 0.6871 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.95e-07/0.548, allocations: 0 / 0.6871 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000283/0.5483, allocations: 3.719 kB / 0.6871 GB, free: 13.47 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: 1 (greThr.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.0001185/0.5485, allocations: 103.2 kB / 0.6872 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000242/0.5487, allocations: 48.81 kB / 0.6872 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5487, allocations: 0 / 0.6872 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.5489, allocations: 26.08 kB / 0.6872 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002228/0.5491, allocations: 10.72 kB / 0.6872 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002589/0.5494, allocations: 119.2 kB / 0.6874 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.5495, allocations: 0.6801 MB / 0.688 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.666e-05/0.5495, allocations: 0 / 0.688 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.391e-05/0.5496, allocations: 8.656 kB / 0.688 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.314e-06/0.5496, allocations: 0 / 0.688 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.002687/0.5523, allocations: 386 kB / 0.6884 GB, free: 12.48 MB / 0.5261 GB