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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.462/4.462, allocations: 432.6 MB / 445.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.757e-05/4.774e-05, allocations: 6.203 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2502, allocations: 98.72 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2599/0.5101, allocations: 124.2 MB / 0.756 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/0.5105, allocations: 71.95 kB / 0.7561 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004898/0.5154, allocations: 1.176 MB / 0.7573 GB, free: 4.254 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.124e-06/0.5155, allocations: 3.938 kB / 0.7573 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.5155, allocations: 0 / 0.7573 GB, free: 4.25 MB / 0.6355 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.0004036/0.5159, allocations: 342.4 kB / 0.7576 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.516, allocations: 12.02 kB / 0.7576 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.663e-05/0.516, allocations: 38.56 kB / 0.7576 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.5161, allocations: 7.906 kB / 0.7576 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.5162, allocations: 167 kB / 0.7578 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.5162, allocations: 8 kB / 0.7578 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.5163, allocations: 0 / 0.7578 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.5166, allocations: 164.6 kB / 0.758 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5167, allocations: 0 / 0.758 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.238e-05/0.5167, allocations: 0 / 0.758 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.712e-05/0.5168, allocations: 31.97 kB / 0.758 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.5169, allocations: 35.92 kB / 0.758 GB, free: 3.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/0.5178, allocations: 0.8944 MB / 0.7589 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.5179, allocations: 173.1 kB / 0.7591 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.521e-05/0.5179, allocations: 80.14 kB / 0.7591 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.566e-05/0.518, allocations: 75.28 kB / 0.7592 GB, free: 2.039 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.605e-05/0.5181, allocations: 109.8 kB / 0.7593 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 3.687e-06/0.5181, allocations: 4 kB / 0.7593 GB, free: 1.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001183/0.5182, allocations: 37.61 kB / 0.7594 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002211/0.5185, allocations: 391.6 kB / 0.7597 GB, free: 1.418 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002208/0.5187, allocations: 155.1 kB / 0.7599 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.5187, allocations: 25.7 kB / 0.7599 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.5189, allocations: 151.2 kB / 0.7601 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 7.223e-06/0.5189, allocations: 3.984 kB / 0.7601 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.5189, allocations: 4 kB / 0.7601 GB, free: 1.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.519, allocations: 326.8 kB / 0.7604 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.5191, allocations: 24.36 kB / 0.7604 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002529/0.5194, allocations: 218.8 kB / 0.7606 GB, free: 424 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.5195, allocations: 59.89 kB / 0.7607 GB, free: 364 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.5196, allocations: 0 / 0.7607 GB, free: 364 kB / 0.6355 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004823/0.5201, allocations: 185.8 kB / 0.7608 GB, free: 172 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.407e-05/0.5201, allocations: 8.062 kB / 0.7608 GB, free: 164 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.5201, allocations: 8 kB / 0.7609 GB, free: 156 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.871e-05/0.5202, allocations: 8 kB / 0.7609 GB, free: 148 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002304/0.5204, allocations: 39.92 kB / 0.7609 GB, free: 108 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.953e-05/0.5204, allocations: 7.938 kB / 0.7609 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.5206, allocations: 31.69 kB / 0.7609 GB, free: 68 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.5206, allocations: 12 kB / 0.7609 GB, free: 56 kB / 0.6355 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 () * 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.0001762/0.5208, allocations: 196.2 kB / 0.7611 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.5209, allocations: 124.8 kB / 0.7613 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.592e-05/0.521, allocations: 124.3 kB / 0.7614 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.509e-05/0.5211, allocations: 176.3 kB / 0.7615 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.589e-05/0.5212, allocations: 181.3 kB / 0.7617 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.115e-05/0.5213, allocations: 180.3 kB / 0.7619 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003227/0.5216, allocations: 425.2 kB / 0.7623 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.63e-05/0.5217, allocations: 112.9 kB / 0.7624 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.651e-05/0.5217, allocations: 101 kB / 0.7625 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.976e-05/0.5218, allocations: 180.2 kB / 0.7627 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-05/0.5219, allocations: 184.2 kB / 0.7628 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.875e-05/0.5219, allocations: 180.3 kB / 0.763 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.552e-05/0.522, allocations: 184.4 kB / 0.7632 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001942/0.5222, allocations: 319.7 kB / 0.7635 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5224, allocations: 190 kB / 0.7637 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.5225, allocations: 176.3 kB / 0.7638 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001268/0.5226, allocations: 108.9 kB / 0.7639 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.5227, allocations: 188.2 kB / 0.7641 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.182e-05/0.5228, allocations: 116.9 kB / 0.7642 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001349/0.5229, allocations: 109.7 kB / 0.7643 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/0.5229, allocations: 0 / 0.7643 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004375/0.5234, allocations: 31.94 kB / 0.7644 GB, free: 12.33 MB / 0.6511 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 () * 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.000607/0.524, allocations: 0.8378 MB / 0.7652 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.5242, allocations: 76.86 kB / 0.7653 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5243, allocations: 0 / 0.7653 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.926e-06/0.5243, allocations: 192 / 0.7653 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000347/0.5246, allocations: 0.5302 MB / 0.7658 GB, free: 10.85 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005714/0.5252, allocations: 214.3 kB / 0.766 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002973/0.5255, allocations: 0.6971 MB / 0.7667 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0002988/0.5258, allocations: 56.72 kB / 0.7667 GB, free: 9.824 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/0.5259, allocations: 27.42 kB / 0.7668 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of SimCode: time 1.293e-06/0.5259, allocations: 0 / 0.7668 GB, free: 9.797 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02794/0.5539, allocations: 2.776 MB / 0.7695 GB, free: 7.105 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002793/0.5542, allocations: 167.5 kB / 0.7696 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.548/3.102, allocations: 0 / 0.7696 GB, free: 6.875 MB / 0.6511 GB