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.009397/0.009396, allocations: 107.2 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.001129/0.001129, allocations: 182 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.792/1.792, allocations: 194.5 MB / 211.3 MB, free: 11.1 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.428/2.428, allocations: 236.1 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008254/0.0008256, allocations: 12 kB / 0.587 GB, free: 2.113 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6183/0.6192, allocations: 98.71 MB / 0.6834 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold): time 0.001396/0.6206, allocations: 1.078 MB / 0.6844 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0002624/0.6209, allocations: 109 kB / 0.6845 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.618e-05/0.621, allocations: 1.094 kB / 0.6845 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.67e-05/0.621, allocations: 1.031 kB / 0.6845 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.879e-05/0.6211, allocations: 5.344 kB / 0.6845 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 4.121e-05/0.6211, allocations: 1.922 kB / 0.6845 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 4.766e-05/0.6212, allocations: 19.09 kB / 0.6845 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.307e-05/0.6213, allocations: 7.469 kB / 0.6845 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.94e-05/0.6213, allocations: 5.266 kB / 0.6845 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 3.731e-05/0.6214, allocations: 13.62 kB / 0.6846 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.6214, allocations: 1.094 kB / 0.6846 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.349e-06/0.6214, allocations: 5.375 kB / 0.6846 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.05e-05/0.6214, allocations: 1.078 kB / 0.6846 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 1.637e-05/0.6215, allocations: 27.08 kB / 0.6846 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 5.207e-05/0.6215, allocations: 17.02 kB / 0.6846 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.479e-06/0.6215, allocations: 0 / 0.6846 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.97e-06/0.6215, allocations: 0 / 0.6846 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.897e-06/0.6216, allocations: 1.156 kB / 0.6846 GB, free: 15.68 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.000344/0.6219, allocations: 339.1 kB / 0.6849 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.622, allocations: 9.156 kB / 0.6849 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.155e-05/0.622, allocations: 7.125 kB / 0.6849 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.2e-05/0.6221, allocations: 172.6 kB / 0.6851 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.6221, allocations: 1.094 kB / 0.6851 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/0.6221, allocations: 13.05 kB / 0.6851 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/0.6223, allocations: 54.17 kB / 0.6852 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.329e-06/0.6223, allocations: 4 kB / 0.6852 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.6223, allocations: 0.7031 kB / 0.6852 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.6224, allocations: 1.062 kB / 0.6852 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002035/0.6226, allocations: 42.47 kB / 0.6852 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002837/0.6229, allocations: 256.9 kB / 0.6855 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.623, allocations: 45.75 kB / 0.6855 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.6231, allocations: 1.094 kB / 0.6855 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.836e-05/0.6231, allocations: 35.08 kB / 0.6855 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 2.165e-06/0.6231, allocations: 1.562 kB / 0.6855 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0004035/0.6235, allocations: 92.91 kB / 0.6856 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.031e-05/0.6235, allocations: 57 kB / 0.6857 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.482e-05/0.6236, allocations: 113.5 kB / 0.6858 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.387e-06/0.6236, allocations: 27.36 kB / 0.6858 GB, free: 14.45 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.02e-05/0.6237, allocations: 85.48 kB / 0.6859 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.6237, allocations: 5.469 kB / 0.6859 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-06/0.6237, allocations: 4 kB / 0.6859 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.078e-05/0.6238, allocations: 313.9 kB / 0.6862 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000107/0.6239, allocations: 22.08 kB / 0.6862 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.801e-05/0.624, allocations: 24.02 kB / 0.6863 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.624e-05/0.6241, allocations: 18.02 kB / 0.6863 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.171e-06/0.6241, allocations: 4.062 kB / 0.6863 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002402/0.6244, allocations: 77.33 kB / 0.6864 GB, free: 14 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.778e-05/0.6244, allocations: 5.906 kB / 0.6864 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.067e-06/0.6244, allocations: 1.438 kB / 0.6864 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.6244, allocations: 0 / 0.6864 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.661e-05/0.6246, allocations: 14.55 kB / 0.6864 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.453e-06/0.6246, allocations: 0 / 0.6864 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.6247, allocations: 11.22 kB / 0.6864 GB, free: 13.99 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-06/0.6247, allocations: 3.953 kB / 0.6864 GB, free: 13.99 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 (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 6.066e-05/0.6247, allocations: 113.3 kB / 0.6865 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.452e-05/0.6248, allocations: 3.906 kB / 0.6865 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.946e-05/0.6248, allocations: 13.16 kB / 0.6865 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.76e-06/0.6248, allocations: 1.891 kB / 0.6865 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.172e-06/0.6248, allocations: 0 / 0.6865 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.48e-06/0.6248, allocations: 0 / 0.6865 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001478/0.625, allocations: 161.6 kB / 0.6867 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.625, allocations: 0 / 0.6867 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.143e-05/0.6251, allocations: 9.875 kB / 0.6867 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.6251, allocations: 0.6094 kB / 0.6867 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.882e-06/0.6251, allocations: 1.188 kB / 0.6867 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.937e-06/0.6251, allocations: 0 / 0.6867 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.447e-06/0.6251, allocations: 4.797 kB / 0.6867 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.6254, allocations: 172.5 kB / 0.6869 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.6255, allocations: 79.3 kB / 0.6869 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.6255, allocations: 4.031 kB / 0.6869 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.6256, allocations: 14.39 kB / 0.6869 GB, free: 13.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.052e-05/0.6256, allocations: 11.14 kB / 0.687 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-06/0.6257, allocations: 1.031 kB / 0.687 GB, free: 13.41 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.6257, allocations: 84.56 kB / 0.687 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.45e-07/0.6257, allocations: 0 / 0.687 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002866/0.626, allocations: 3.375 kB / 0.687 GB, free: 13.33 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 (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.0001134/0.6261, allocations: 106.2 kB / 0.6871 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002528/0.6264, allocations: 45.38 kB / 0.6872 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.481e-06/0.6264, allocations: 3.938 kB / 0.6872 GB, free: 13.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001134/0.6265, allocations: 29.38 kB / 0.6872 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.6268, allocations: 7.469 kB / 0.6872 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002632/0.6271, allocations: 118.7 kB / 0.6873 GB, free: 13.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001194/0.6272, allocations: 0.6801 MB / 0.688 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.715e-05/0.6272, allocations: 4.062 kB / 0.688 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.376e-05/0.6273, allocations: 8.781 kB / 0.688 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of SimCode: time 1.268e-06/0.6273, allocations: 0 / 0.688 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of Templates: time 0.002667/0.6299, allocations: 386.7 kB / 0.6884 GB, free: 12.33 MB / 0.5261 GB