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.009213/0.009213, allocations: 110.8 kB / 15.06 MB, free: 5.965 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.001121/0.00112, allocations: 178.7 kB / 15.94 MB, free: 5.93 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.916/1.916, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.198/2.198, allocations: 236.2 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.0004858, allocations: 16 kB / 0.587 GB, free: 2.141 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6095/0.61, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2076/0.8177, allocations: 124.3 MB / 0.8047 GB, free: 2.027 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002118/0.818, allocations: 67.97 kB / 0.8048 GB, free: 1.961 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.001878/0.8199, allocations: 0.623 MB / 0.8054 GB, free: 1.336 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.739e-06/0.8199, allocations: 3.938 kB / 0.8054 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.945e-06/0.8199, allocations: 0 / 0.8054 GB, free: 1.332 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.0004111/0.8204, allocations: 343.2 kB / 0.8057 GB, free: 0.9492 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.8204, allocations: 12.03 kB / 0.8057 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.432e-05/0.8205, allocations: 7.906 kB / 0.8057 GB, free: 0.9297 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.8206, allocations: 167 kB / 0.8059 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.8206, allocations: 0 / 0.8059 GB, free: 0.7266 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.8207, allocations: 4 kB / 0.8059 GB, free: 0.7227 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.8208, allocations: 53.67 kB / 0.8059 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.673e-06/0.8209, allocations: 0 / 0.8059 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.6e-06/0.8209, allocations: 0 / 0.8059 GB, free: 0.6641 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.262e-06/0.8209, allocations: 4 kB / 0.8059 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002017/0.8211, allocations: 47.89 kB / 0.806 GB, free: 0.6133 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004663/0.8216, allocations: 268.9 kB / 0.8063 GB, free: 308 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.8218, allocations: 38.55 kB / 0.8063 GB, free: 260 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.8218, allocations: 8.062 kB / 0.8063 GB, free: 252 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.8218, allocations: 30.56 kB / 0.8063 GB, free: 212 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 6.118e-06/0.8218, allocations: 4 kB / 0.8063 GB, free: 208 kB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004095/0.8223, allocations: 93.53 kB / 0.8064 GB, free: 108 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.8223, allocations: 59.52 kB / 0.8065 GB, free: 36 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.8224, allocations: 97 kB / 0.8066 GB, free: 15.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.8225, allocations: 25.7 kB / 0.8066 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.616e-05/0.8225, allocations: 84.14 kB / 0.8067 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.074e-05/0.8226, allocations: 11.83 kB / 0.8067 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.478e-06/0.8226, allocations: 0 / 0.8067 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001617/0.8228, allocations: 322.8 kB / 0.807 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001073/0.8229, allocations: 23.98 kB / 0.807 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.486e-05/0.823, allocations: 19.98 kB / 0.807 GB, free: 15.44 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.458e-05/0.8231, allocations: 19.98 kB / 0.8071 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.202e-06/0.8231, allocations: 0 / 0.8071 GB, free: 15.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002534/0.8234, allocations: 81.66 kB / 0.8071 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.8234, allocations: 8 kB / 0.8071 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.854e-06/0.8234, allocations: 0 / 0.8071 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.8234, allocations: 0 / 0.8071 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.8236, allocations: 16.02 kB / 0.8072 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.8236, allocations: 0 / 0.8072 GB, free: 15.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.978e-05/0.8237, allocations: 11.98 kB / 0.8072 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.969e-06/0.8237, allocations: 0 / 0.8072 GB, free: 15.3 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 (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.941e-05/0.8238, allocations: 113.8 kB / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.836e-05/0.8238, allocations: 7.906 kB / 0.8073 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.192e-05/0.8239, allocations: 3.125 kB / 0.8073 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.311e-06/0.8239, allocations: 4 kB / 0.8073 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.813e-06/0.8239, allocations: 3.938 kB / 0.8073 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.238e-06/0.8239, allocations: 0 / 0.8073 GB, free: 15.16 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002164/0.8241, allocations: 161.6 kB / 0.8074 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-06/0.8241, allocations: 0 / 0.8074 GB, free: 14.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.467e-05/0.8242, allocations: 8 kB / 0.8075 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.197e-06/0.8242, allocations: 3.984 kB / 0.8075 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.94e-06/0.8243, allocations: 4 kB / 0.8075 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.121e-06/0.8243, allocations: 3.984 kB / 0.8075 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.648e-06/0.8243, allocations: 0 / 0.8075 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003222/0.8246, allocations: 175.7 kB / 0.8076 GB, free: 14.74 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.432e-05/0.8247, allocations: 81.09 kB / 0.8077 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.8247, allocations: 11.97 kB / 0.8077 GB, free: 14.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001156/0.8248, allocations: 11.98 kB / 0.8077 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.026e-05/0.8249, allocations: 7.984 kB / 0.8077 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.879e-06/0.8249, allocations: 0 / 0.8077 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.689e-05/0.825, allocations: 83.28 kB / 0.8078 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.51e-07/0.825, allocations: 0 / 0.8078 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000287/0.8253, allocations: 4 kB / 0.8078 GB, free: 14.53 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 (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.0001478/0.8254, allocations: 107.2 kB / 0.8079 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002487/0.8257, allocations: 47.91 kB / 0.808 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.891e-06/0.8257, allocations: 0 / 0.808 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001138/0.8258, allocations: 28.05 kB / 0.808 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.8261, allocations: 11.94 kB / 0.808 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.8264, allocations: 104.7 kB / 0.8081 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003461/0.8267, allocations: 0.677 MB / 0.8088 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.779e-05/0.8268, allocations: 4.062 kB / 0.8088 GB, free: 13.49 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.542e-05/0.8268, allocations: 7.438 kB / 0.8088 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of SimCode: time 1.461e-06/0.8268, allocations: 4 kB / 0.8088 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of Templates: time 0.002623/0.8295, allocations: 386 kB / 0.8092 GB, free: 13.11 MB / 0.6355 GB