Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Functions_Examples_IsMonotonic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01073/0.01073, allocations: 90.2 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001235/0.001235, allocations: 172.6 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.19/2.19, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.448/2.448, allocations: 252.8 MB / 0.511 GB, free: 8.309 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007575/0.000758, allocations: 12.53 kB / 0.6243 GB, free: 21.17 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2531, allocations: 106.2 MB / 0.7281 GB, free: 8.082 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.0009112/0.2541, allocations: 345 kB / 0.7284 GB, free: 7.742 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.000327/0.2544, allocations: 75.75 kB / 0.7285 GB, free: 7.668 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.44e-05/0.2545, allocations: 0 / 0.7285 GB, free: 7.668 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.32e-05/0.2545, allocations: 0 / 0.7285 GB, free: 7.668 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.847e-05/0.2546, allocations: 7.984 kB / 0.7285 GB, free: 7.66 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.2549, allocations: 39.95 kB / 0.7285 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 7.528e-05/0.2549, allocations: 23.97 kB / 0.7285 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.255, allocations: 1.594 kB / 0.7285 GB, free: 7.598 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.644e-05/0.2551, allocations: 19.92 kB / 0.7286 GB, free: 7.578 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002588/0.2553, allocations: 71.92 kB / 0.7286 GB, free: 7.508 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.2554, allocations: 0 / 0.7286 GB, free: 7.508 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.2555, allocations: 27.97 kB / 0.7287 GB, free: 7.48 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.309e-05/0.2555, allocations: 23.91 kB / 0.7287 GB, free: 7.457 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.2556, allocations: 29.7 kB / 0.7287 GB, free: 7.422 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.2557, allocations: 39.94 kB / 0.7288 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.394e-06/0.2557, allocations: 0 / 0.7288 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2557, allocations: 4 kB / 0.7288 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.2557, allocations: 0 / 0.7288 GB, free: 7.379 MB / 0.5573 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.0003453/0.2561, allocations: 347.6 kB / 0.7291 GB, free: 6.992 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.2561, allocations: 8.031 kB / 0.7291 GB, free: 6.984 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.412e-05/0.2562, allocations: 46.5 kB / 0.7291 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.842e-05/0.2563, allocations: 7.906 kB / 0.7291 GB, free: 6.922 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.2564, allocations: 163 kB / 0.7293 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.967e-06/0.2564, allocations: 0 / 0.7293 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.2564, allocations: 7.938 kB / 0.7293 GB, free: 6.715 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.2568, allocations: 179.3 kB / 0.7295 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.2568, allocations: 0 / 0.7295 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.2568, allocations: 4 kB / 0.7295 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-05/0.2569, allocations: 19.98 kB / 0.7295 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.257, allocations: 43.78 kB / 0.7295 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008889/0.2579, allocations: 0.9139 MB / 0.7304 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 8.637e-05/0.258, allocations: 169.1 kB / 0.7306 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.2581, allocations: 79.27 kB / 0.7307 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.99e-05/0.2581, allocations: 109.8 kB / 0.7308 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 1.784e-06/0.2581, allocations: 0 / 0.7308 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 0.0001021/0.2582, allocations: 45.53 kB / 0.7308 GB, free: 5.039 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/0.2584, allocations: 387.7 kB / 0.7312 GB, free: 4.586 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001914/0.2586, allocations: 168.7 kB / 0.7314 GB, free: 4.414 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.2587, allocations: 25.7 kB / 0.7314 GB, free: 4.383 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001117/0.2588, allocations: 155.2 kB / 0.7315 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.2588, allocations: 0 / 0.7315 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.947e-06/0.2588, allocations: 4 kB / 0.7315 GB, free: 4.223 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.2589, allocations: 326.8 kB / 0.7318 GB, free: 3.895 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.656e-05/0.259, allocations: 24.36 kB / 0.7319 GB, free: 3.871 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002496/0.2593, allocations: 230.5 kB / 0.7321 GB, free: 3.555 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.2594, allocations: 59.91 kB / 0.7321 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2595, allocations: 0 / 0.7321 GB, free: 3.496 MB / 0.5573 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004364/0.2599, allocations: 189.6 kB / 0.7323 GB, free: 3.305 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.2599, allocations: 8 kB / 0.7323 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.26, allocations: 8 kB / 0.7323 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.26, allocations: 4 kB / 0.7323 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.2602, allocations: 43.92 kB / 0.7324 GB, free: 3.242 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.2602, allocations: 15.92 kB / 0.7324 GB, free: 3.227 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.2604, allocations: 27.69 kB / 0.7324 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.2604, allocations: 12 kB / 0.7324 GB, free: 3.188 MB / 0.5573 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.0001703/0.2606, allocations: 217.3 kB / 0.7326 GB, free: 2.965 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.737e-05/0.2607, allocations: 116.8 kB / 0.7328 GB, free: 2.844 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.33e-05/0.2608, allocations: 108.9 kB / 0.7329 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.914e-05/0.2608, allocations: 176.3 kB / 0.733 GB, free: 2.547 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.741e-05/0.2609, allocations: 188.2 kB / 0.7332 GB, free: 2.355 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.399e-05/0.261, allocations: 185 kB / 0.7334 GB, free: 2.168 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002764/0.2613, allocations: 421.1 kB / 0.7338 GB, free: 1.699 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.74e-05/0.2613, allocations: 101 kB / 0.7339 GB, free: 1.594 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.294e-05/0.2614, allocations: 109 kB / 0.734 GB, free: 1.48 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.165e-05/0.2615, allocations: 180.3 kB / 0.7342 GB, free: 1.297 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.519e-05/0.2616, allocations: 188.3 kB / 0.7343 GB, free: 1.105 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.215e-05/0.2616, allocations: 184.2 kB / 0.7345 GB, free: 0.918 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.519e-05/0.2617, allocations: 184.3 kB / 0.7347 GB, free: 0.7305 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001665/0.2619, allocations: 319.6 kB / 0.735 GB, free: 404 kB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-05/0.262, allocations: 186 kB / 0.7352 GB, free: 192 kB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.109e-05/0.2621, allocations: 184.2 kB / 0.7353 GB, free: 0 / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.2623, allocations: 113 kB / 0.7355 GB, free: 15.88 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.558e-05/0.2623, allocations: 180.2 kB / 0.7356 GB, free: 15.7 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.91e-05/0.2624, allocations: 105 kB / 0.7357 GB, free: 15.59 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001287/0.2625, allocations: 111.8 kB / 0.7358 GB, free: 15.48 MB / 0.573 GB Notification: Performance of sort global known variables: time 4.01e-07/0.2625, allocations: 0 / 0.7358 GB, free: 15.48 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00045/0.263, allocations: 28 kB / 0.7359 GB, free: 15.45 MB / 0.573 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.0005317/0.2635, allocations: 0.8398 MB / 0.7367 GB, free: 14.59 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0002382/0.2638, allocations: 76.78 kB / 0.7368 GB, free: 14.51 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.2638, allocations: 0 / 0.7368 GB, free: 14.51 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 5.31e-06/0.2638, allocations: 4 kB / 0.7368 GB, free: 14.51 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003495/0.2642, allocations: 0.5224 MB / 0.7373 GB, free: 13.98 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006492/0.2648, allocations: 288.5 kB / 0.7375 GB, free: 13.66 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.2651, allocations: 0.6932 MB / 0.7382 GB, free: 12.94 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0003486/0.2655, allocations: 60.58 kB / 0.7383 GB, free: 12.88 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.49e-05/0.2656, allocations: 19.44 kB / 0.7383 GB, free: 12.86 MB / 0.573 GB Notification: Performance of SimCode: time 9.62e-07/0.2656, allocations: 0 / 0.7383 GB, free: 12.86 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.2873, allocations: 2.756 MB / 0.741 GB, free: 10.23 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003337/0.2877, allocations: 198.6 kB / 0.7412 GB, free: 9.984 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.695/2.983, allocations: 0 / 0.7412 GB, free: 9.984 MB / 0.573 GB