Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.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.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01284/0.01284, allocations: 110.5 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.001156/0.001156, allocations: 180.2 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 2.135/2.135, allocations: 194.6 MB / 211.3 MB, free: 11.12 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.415/2.415, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005185/0.0005189, allocations: 12 kB / 0.5869 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5406, allocations: 98.7 MB / 0.6833 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0006657/0.5413, allocations: 331.5 kB / 0.6837 GB, free: 16.41 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0002697/0.5416, allocations: 64.61 kB / 0.6837 GB, free: 16.38 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.291e-05/0.5417, allocations: 5.531 kB / 0.6837 GB, free: 16.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.5417, allocations: 4.641 kB / 0.6837 GB, free: 16.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.332e-05/0.5418, allocations: 5.812 kB / 0.6837 GB, free: 16.37 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002267/0.542, allocations: 37.11 kB / 0.6838 GB, free: 16.35 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 5.96e-05/0.5421, allocations: 21.59 kB / 0.6838 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.5421, allocations: 1.406 kB / 0.6838 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 3.344e-05/0.5422, allocations: 17.67 kB / 0.6838 GB, free: 16.34 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.5424, allocations: 79.44 kB / 0.6839 GB, free: 16.32 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.277e-05/0.5424, allocations: 9.625 kB / 0.6839 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 9.445e-05/0.5425, allocations: 27.34 kB / 0.6839 GB, free: 16.31 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.703e-05/0.5426, allocations: 22.91 kB / 0.6839 GB, free: 16.3 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.39e-05/0.5426, allocations: 34.3 kB / 0.684 GB, free: 16.27 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.702e-05/0.5427, allocations: 42.3 kB / 0.684 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.439e-06/0.5427, allocations: 0 / 0.684 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.198e-06/0.5427, allocations: 0 / 0.684 GB, free: 16.25 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.365e-06/0.5427, allocations: 0 / 0.684 GB, free: 16.25 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0002423/0.543, allocations: 342 kB / 0.6843 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.543, allocations: 9.156 kB / 0.6843 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.5431, allocations: 15.83 kB / 0.6844 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.21e-05/0.5432, allocations: 173.7 kB / 0.6845 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.5432, allocations: 5.422 kB / 0.6845 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/0.5432, allocations: 2.688 kB / 0.6845 GB, free: 15.67 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.5435, allocations: 177.9 kB / 0.6847 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.646e-06/0.5435, allocations: 1.531 kB / 0.6847 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.5436, allocations: 5.438 kB / 0.6847 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.296e-05/0.5436, allocations: 24.64 kB / 0.6847 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.139e-05/0.5437, allocations: 40.78 kB / 0.6848 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005925/0.5443, allocations: 0.8996 MB / 0.6857 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 5.367e-05/0.5444, allocations: 171.5 kB / 0.6858 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.5444, allocations: 75.28 kB / 0.6859 GB, free: 14.42 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.5445, allocations: 116.6 kB / 0.686 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=0): time 2.161e-06/0.5445, allocations: 0 / 0.686 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=0): time 8.623e-05/0.5446, allocations: 36.31 kB / 0.686 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.963e-05/0.5447, allocations: 387 kB / 0.6864 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.5448, allocations: 164.7 kB / 0.6866 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.5449, allocations: 32.17 kB / 0.6866 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.5449, allocations: 149.8 kB / 0.6867 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.701e-06/0.545, allocations: 5.875 kB / 0.6867 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.351e-06/0.545, allocations: 5.344 kB / 0.6867 GB, free: 13.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.557e-05/0.5451, allocations: 324.1 kB / 0.6871 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.925e-05/0.5451, allocations: 29.66 kB / 0.6871 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.5453, allocations: 216.4 kB / 0.6873 GB, free: 12.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.5454, allocations: 69.94 kB / 0.6874 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.653e-06/0.5455, allocations: 1.375 kB / 0.6874 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003822/0.5458, allocations: 188.5 kB / 0.6875 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.5459, allocations: 8.297 kB / 0.6875 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.5459, allocations: 5.469 kB / 0.6875 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.5459, allocations: 7.344 kB / 0.6876 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.5461, allocations: 47.05 kB / 0.6876 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.5461, allocations: 10.11 kB / 0.6876 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.5463, allocations: 23.53 kB / 0.6876 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.87e-05/0.5463, allocations: 9.938 kB / 0.6876 GB, free: 12.78 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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.0001159/0.5464, allocations: 219.9 kB / 0.6879 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.642e-05/0.5465, allocations: 110.1 kB / 0.688 GB, free: 12.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.849e-05/0.5466, allocations: 115.3 kB / 0.6881 GB, free: 12.35 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.024e-05/0.5466, allocations: 186.4 kB / 0.6882 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.961e-05/0.5466, allocations: 182.6 kB / 0.6884 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-05/0.5467, allocations: 177.2 kB / 0.6886 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.5469, allocations: 421.8 kB / 0.689 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-05/0.5469, allocations: 110.8 kB / 0.6891 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.948e-05/0.5469, allocations: 106.7 kB / 0.6892 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.258e-05/0.547, allocations: 182.5 kB / 0.6894 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.547, allocations: 178.6 kB / 0.6895 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-05/0.5471, allocations: 177.2 kB / 0.6897 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.857e-05/0.5471, allocations: 186.6 kB / 0.6899 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.575e-05/0.5472, allocations: 318.1 kB / 0.6902 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.5473, allocations: 189 kB / 0.6904 GB, free: 9.859 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.5473, allocations: 184.2 kB / 0.6905 GB, free: 9.676 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.277e-05/0.5474, allocations: 112.2 kB / 0.6907 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.168e-05/0.5475, allocations: 178.7 kB / 0.6908 GB, free: 9.383 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.5475, allocations: 110.3 kB / 0.6909 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.584e-05/0.5476, allocations: 116.8 kB / 0.691 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.22e-07/0.5476, allocations: 0 / 0.691 GB, free: 9.188 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000441/0.5481, allocations: 27.53 kB / 0.6911 GB, free: 9.184 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001951/0.5483, allocations: 187.9 kB / 0.6912 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.5485, allocations: 80.39 kB / 0.6913 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5485, allocations: 0 / 0.6913 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.12e-06/0.5485, allocations: 1.125 kB / 0.6913 GB, free: 8.992 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.5488, allocations: 0.5306 MB / 0.6918 GB, free: 8.465 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.5491, allocations: 241.9 kB / 0.6921 GB, free: 8.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001521/0.5492, allocations: 0.6999 MB / 0.6928 GB, free: 7.551 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002577/0.5495, allocations: 54.89 kB / 0.6928 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.92e-05/0.5495, allocations: 13.72 kB / 0.6928 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of SimCode: time 1.365e-06/0.5495, allocations: 0 / 0.6928 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of Templates: time 0.005771/0.5553, allocations: 1.686 MB / 0.6945 GB, free: 7.367 MB / 0.5261 GB