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.0129/0.0129, allocations: 110.2 kB / 15.05 MB, free: 5.949 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: 182.1 kB / 15.94 MB, free: 5.902 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.877/1.877, allocations: 194.5 MB / 211.3 MB, free: 11.27 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.267/2.267, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005246/0.0005247, allocations: 20 kB / 0.587 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6292/0.6298, allocations: 98.7 MB / 0.6834 GB, free: 16.87 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2408/0.8706, allocations: 124.3 MB / 0.8047 GB, free: 2.055 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003916/0.8711, allocations: 71.91 kB / 0.8048 GB, free: 1.984 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003113/0.8742, allocations: 0.6308 MB / 0.8054 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.093e-06/0.8743, allocations: 0 / 0.8054 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.168e-06/0.8743, allocations: 0 / 0.8054 GB, free: 1.352 MB / 0.6198 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.0006366/0.8749, allocations: 343.3 kB / 0.8057 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/0.875, allocations: 12.02 kB / 0.8057 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.8751, allocations: 7.906 kB / 0.8057 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.8753, allocations: 163 kB / 0.8059 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.8753, allocations: 0 / 0.8059 GB, free: 0.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.978e-05/0.8754, allocations: 4 kB / 0.8059 GB, free: 0.7461 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002969/0.8757, allocations: 53.67 kB / 0.8059 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.8757, allocations: 4 kB / 0.806 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.8758, allocations: 0 / 0.806 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.8758, allocations: 0 / 0.806 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003828/0.8762, allocations: 43.91 kB / 0.806 GB, free: 0.6406 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006822/0.8769, allocations: 272.9 kB / 0.8063 GB, free: 332 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002583/0.8772, allocations: 34.56 kB / 0.8063 GB, free: 288 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.765e-05/0.8772, allocations: 8.062 kB / 0.8063 GB, free: 280 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.663e-05/0.8773, allocations: 34.56 kB / 0.8063 GB, free: 236 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 3.608e-06/0.8773, allocations: 0 / 0.8063 GB, free: 236 kB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0007185/0.878, allocations: 97.67 kB / 0.8064 GB, free: 132 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.982e-05/0.8781, allocations: 55.34 kB / 0.8065 GB, free: 64 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.8783, allocations: 105 kB / 0.8066 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.8783, allocations: 25.7 kB / 0.8066 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.718e-05/0.8784, allocations: 84.14 kB / 0.8067 GB, free: 15.84 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.8785, allocations: 7.844 kB / 0.8067 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-06/0.8785, allocations: 0 / 0.8067 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002017/0.8787, allocations: 318.8 kB / 0.807 GB, free: 15.51 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002049/0.879, allocations: 28 kB / 0.807 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001818/0.8792, allocations: 19.98 kB / 0.807 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.8794, allocations: 24.05 kB / 0.8071 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.8794, allocations: 0 / 0.8071 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004633/0.8799, allocations: 77.59 kB / 0.8071 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.94e-05/0.8799, allocations: 8 kB / 0.8071 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.068e-06/0.88, allocations: 0 / 0.8071 GB, free: 15.35 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.88, allocations: 4.031 kB / 0.8071 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001662/0.8802, allocations: 11.98 kB / 0.8072 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.109e-06/0.8802, allocations: 0 / 0.8072 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001336/0.8804, allocations: 8 kB / 0.8072 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.407e-05/0.8804, allocations: 7.922 kB / 0.8072 GB, free: 15.32 MB / 0.6355 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 0.0001504/0.8806, allocations: 117.8 kB / 0.8073 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/0.8807, allocations: 7.906 kB / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.303e-05/0.8807, allocations: 3.125 kB / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.127e-06/0.8807, allocations: 0 / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.799e-06/0.8807, allocations: 0 / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.787e-06/0.8808, allocations: 0 / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003532/0.8811, allocations: 169.6 kB / 0.8075 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8812, allocations: 0 / 0.8075 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.8813, allocations: 8 kB / 0.8075 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/0.8813, allocations: 3.984 kB / 0.8075 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.8814, allocations: 4 kB / 0.8075 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/0.8814, allocations: 3.984 kB / 0.8075 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.911e-06/0.8814, allocations: 3.938 kB / 0.8075 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.8819, allocations: 171.5 kB / 0.8076 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.882, allocations: 85.09 kB / 0.8077 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.8821, allocations: 0 / 0.8077 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.8823, allocations: 11.94 kB / 0.8077 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.8824, allocations: 3.984 kB / 0.8077 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.759e-06/0.8824, allocations: 0 / 0.8077 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.09e-05/0.8825, allocations: 83.28 kB / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.087e-06/0.8826, allocations: 0 / 0.8078 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000572/0.8832, allocations: 8.031 kB / 0.8078 GB, free: 14.55 MB / 0.6355 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.0002124/0.8834, allocations: 107.2 kB / 0.8079 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004336/0.8839, allocations: 47.91 kB / 0.808 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.8e-06/0.8839, allocations: 4.062 kB / 0.808 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001967/0.8841, allocations: 23.98 kB / 0.808 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/0.8845, allocations: 7.938 kB / 0.808 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004247/0.885, allocations: 104.7 kB / 0.8081 GB, free: 14.22 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004407/0.8854, allocations: 0.6849 MB / 0.8088 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.89e-05/0.8855, allocations: 0 / 0.8088 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.116e-05/0.8856, allocations: 7.438 kB / 0.8088 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of SimCode: time 2.364e-06/0.8856, allocations: 0 / 0.8088 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of Templates: time 0.004207/0.8898, allocations: 395.6 kB / 0.8092 GB, free: 13.12 MB / 0.6355 GB