Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001855/0.001855, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002247/0.002247, allocations: 220.9 kB / 23.01 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.65/1.65, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.346/3.346, allocations: 0.49 GB / 0.7958 GB, free: 33.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(Buildings.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|x_incStrict.1.|x_incStrict.2.|x_incStrict.3.|x_notMon.1.|x_notMon.2.|x_notMon.3.|x_incWeak.1.|x_incWeak.2.|x_incWeak.3.|x_incWeak.4.|x_notWeak.1.|x_notWeak.2.|x_notWeak.3.|x_notWeak.4.|x_decStrict.1.|x_decStrict.2.|x_decStrict.3.|x_decWeak.1.|x_decWeak.2.|x_decWeak.3.|x_decWeak.4.",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002208/0.002208, allocations: 64.17 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3627, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001789/0.3645, allocations: 0.6099 MB / 1.328 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0003745/0.3649, allocations: 71.84 kB / 1.328 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.154e-05/0.3649, allocations: 0 / 1.328 GB, free: 0.7695 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.748e-05/0.3649, allocations: 3.938 kB / 1.328 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.735e-05/0.365, allocations: 7.984 kB / 1.328 GB, free: 0.7578 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.3653, allocations: 51.88 kB / 1.328 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 6.892e-05/0.3654, allocations: 19.98 kB / 1.328 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.571e-05/0.3654, allocations: 4.406 kB / 1.328 GB, free: 0.6836 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.401e-05/0.3655, allocations: 19.97 kB / 1.328 GB, free: 0.6641 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.3657, allocations: 67.88 kB / 1.328 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.3657, allocations: 0 / 1.328 GB, free: 0.5977 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001316/0.3658, allocations: 51.88 kB / 1.328 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.076e-05/0.3659, allocations: 15.94 kB / 1.328 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.3659, allocations: 19.86 kB / 1.328 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.3661, allocations: 71.72 kB / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3661, allocations: 0 / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3661, allocations: 0 / 1.328 GB, free: 452 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.038e-05/0.3661, allocations: 4 kB / 1.328 GB, free: 448 kB / 1.014 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.0003828/0.3665, allocations: 290.2 kB / 1.328 GB, free: 124 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.3665, allocations: 12.03 kB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/0.3666, allocations: 12.88 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001072/0.3667, allocations: 106.5 kB / 1.329 GB, free: 15.97 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.3667, allocations: 4.375 kB / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.3667, allocations: 4.312 kB / 1.329 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002728/0.367, allocations: 179.5 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.367, allocations: 0 / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.367, allocations: 4 kB / 1.329 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/0.367, allocations: 27.91 kB / 1.329 GB, free: 15.73 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.327e-05/0.3671, allocations: 39.91 kB / 1.329 GB, free: 15.69 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008072/0.3679, allocations: 0.878 MB / 1.33 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.368, allocations: 165.1 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.768e-05/0.3681, allocations: 84.14 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.926e-05/0.3681, allocations: 79.22 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.104e-05/0.3682, allocations: 121.7 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.493e-06/0.3682, allocations: 0 / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001009/0.3683, allocations: 29.7 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002916/0.3686, allocations: 391.7 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002355/0.3688, allocations: 167.6 kB / 1.331 GB, free: 13.62 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.333e-05/0.3688, allocations: 29.7 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.369, allocations: 151.5 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.987e-06/0.369, allocations: 4 kB / 1.331 GB, free: 13.43 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.969e-05/0.3691, allocations: 53.66 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.3693, allocations: 322.8 kB / 1.331 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.819e-05/0.3693, allocations: 23.98 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002968/0.3696, allocations: 223.1 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.3699, allocations: 205.7 kB / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/0.3699, allocations: 0 / 1.332 GB, free: 12.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003792/0.3703, allocations: 193.6 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.3703, allocations: 8 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.3703, allocations: 4 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/0.3704, allocations: 11.94 kB / 1.332 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.3705, allocations: 35.92 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.998e-05/0.3705, allocations: 11.98 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001005/0.3706, allocations: 27.78 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.044e-05/0.3706, allocations: 15.94 kB / 1.332 GB, free: 12.14 MB / 1.029 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002025/0.3708, allocations: 217.2 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.3709, allocations: 108.9 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.712e-05/0.371, allocations: 112.8 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001434/0.3712, allocations: 192.2 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001015/0.3713, allocations: 180.3 kB / 1.333 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001008/0.3714, allocations: 184.2 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003395/0.3717, allocations: 396.3 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.243e-05/0.3718, allocations: 105 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.851e-05/0.3719, allocations: 104.9 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/0.372, allocations: 176.3 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.3721, allocations: 184.2 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.982e-05/0.3722, allocations: 184.2 kB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.633e-05/0.3723, allocations: 176.3 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002328/0.3725, allocations: 319.6 kB / 1.334 GB, free: 9.383 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.83e-05/0.3726, allocations: 112.9 kB / 1.335 GB, free: 9.266 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.3727, allocations: 188.3 kB / 1.335 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.3728, allocations: 112.8 kB / 1.335 GB, free: 8.957 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.111e-05/0.3729, allocations: 184.6 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/0.373, allocations: 101 kB / 1.335 GB, free: 8.664 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.561e-05/0.3731, allocations: 113.2 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3731, allocations: 3.938 kB / 1.335 GB, free: 8.551 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003993/0.3735, allocations: 31.94 kB / 1.335 GB, free: 8.52 MB / 1.029 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002889/0.3737, allocations: 198.4 kB / 1.335 GB, free: 8.316 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001975/0.3739, allocations: 71.81 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3739, allocations: 1.312 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.3739, allocations: 0 / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000446/0.3744, allocations: 471.7 kB / 1.336 GB, free: 7.781 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.3748, allocations: 262.2 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.3752, allocations: 0.6891 MB / 1.337 GB, free: 6.773 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.3752, allocations: 15.44 kB / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3752, allocations: 0 / 1.337 GB, free: 6.758 MB / 1.029 GB Notification: Performance of Templates: time 0.003895/0.3791, allocations: 1.715 MB / 1.339 GB, free: 5.062 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.188579515001038]