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.001841/0.001841, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002226/0.002226, allocations: 209.3 kB / 22.99 MB, free: 4.984 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.485/1.485, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.182/3.182, allocations: 0.49 GB / 0.7959 GB, free: 35.59 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.002974/0.002974, allocations: 73.89 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3937, allocations: 176.1 MB / 1.327 GB, free: 0.9844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.002426/0.3961, allocations: 0.597 MB / 1.328 GB, free: 404 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000432/0.3966, allocations: 67.84 kB / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.3966, allocations: 0 / 1.328 GB, free: 336 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.668e-05/0.3966, allocations: 7.938 kB / 1.328 GB, free: 328 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.082e-05/0.3967, allocations: 7.984 kB / 1.328 GB, free: 320 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.3971, allocations: 51.88 kB / 1.328 GB, free: 268 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.673e-05/0.3972, allocations: 19.98 kB / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.33e-05/0.3972, allocations: 416 / 1.328 GB, free: 248 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.489e-05/0.3973, allocations: 15.98 kB / 1.328 GB, free: 232 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002629/0.3975, allocations: 71.86 kB / 1.328 GB, free: 160 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.3976, allocations: 3.938 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.3977, allocations: 47.95 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.3977, allocations: 19.92 kB / 1.328 GB, free: 88 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.41e-05/0.3978, allocations: 11.94 kB / 1.328 GB, free: 76 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002117/0.398, allocations: 75.75 kB / 1.328 GB, free: 16 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.398, allocations: 0 / 1.328 GB, free: 16 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.505e-06/0.398, allocations: 0 / 1.328 GB, free: 16 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.398, allocations: 0 / 1.328 GB, free: 16 MB / 1.029 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.0004679/0.3985, allocations: 290.2 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.3985, allocations: 12.03 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.3986, allocations: 8.891 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001039/0.3987, allocations: 106.5 kB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.3987, allocations: 16.34 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.736e-05/0.3987, allocations: 384 / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005212/0.3992, allocations: 444.4 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.3992, allocations: 0 / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.3993, allocations: 7.984 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.348e-05/0.3993, allocations: 27.91 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.724e-05/0.3994, allocations: 39.91 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000939/0.4004, allocations: 0.8474 MB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.4005, allocations: 169.1 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.866e-05/0.4005, allocations: 80.14 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.4006, allocations: 83.28 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.672e-05/0.4007, allocations: 109.8 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.323e-06/0.4007, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 0.0001177/0.4008, allocations: 37.64 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002639/0.401, allocations: 387.7 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002245/0.4013, allocations: 176.4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.657e-05/0.4013, allocations: 25.7 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.4014, allocations: 159.5 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.404e-06/0.4014, allocations: 4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.607e-05/0.4015, allocations: 53.66 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001733/0.4017, allocations: 326.8 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.805e-05/0.4018, allocations: 27.98 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004213/0.4022, allocations: 478.3 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002864/0.4025, allocations: 201.7 kB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.121e-06/0.4025, allocations: 4 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004487/0.4029, allocations: 189.7 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.403, allocations: 8.094 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.403, allocations: 11.98 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.403, allocations: 7.938 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.4032, allocations: 43.92 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.33e-05/0.4032, allocations: 7.938 kB / 1.332 GB, free: 11.13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.4033, allocations: 27.84 kB / 1.332 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.317e-05/0.4034, allocations: 12 kB / 1.332 GB, free: 11.09 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.0001924/0.4036, allocations: 209 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.4037, allocations: 120.9 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.575e-05/0.4037, allocations: 112.8 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.812e-05/0.4038, allocations: 188.2 kB / 1.333 GB, free: 10.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.714e-05/0.4039, allocations: 184.2 kB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.883e-05/0.404, allocations: 184.2 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003152/0.4043, allocations: 372.8 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.468e-05/0.4044, allocations: 105 kB / 1.334 GB, free: 9.547 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.248e-05/0.4045, allocations: 104.9 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.484e-05/0.4046, allocations: 180.3 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.663e-05/0.4046, allocations: 176.3 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.55e-05/0.4047, allocations: 188.2 kB / 1.334 GB, free: 8.883 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.915e-05/0.4048, allocations: 176.3 kB / 1.335 GB, free: 8.703 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002073/0.405, allocations: 315.7 kB / 1.335 GB, free: 8.371 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-05/0.4051, allocations: 120.9 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/0.4052, allocations: 184.3 kB / 1.335 GB, free: 8.059 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.4054, allocations: 109 kB / 1.335 GB, free: 7.945 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.4055, allocations: 188.4 kB / 1.335 GB, free: 7.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.347e-05/0.4055, allocations: 101 kB / 1.335 GB, free: 7.648 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001194/0.4056, allocations: 119.2 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4057, allocations: 0 / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005109/0.4062, allocations: 28 kB / 1.336 GB, free: 7.504 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.0002681/0.4064, allocations: 186.5 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002315/0.4067, allocations: 79.72 kB / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.4067, allocations: 0 / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.4067, allocations: 32 / 1.336 GB, free: 7.234 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000576/0.4072, allocations: 474.5 kB / 1.336 GB, free: 6.77 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.4077, allocations: 236.5 kB / 1.337 GB, free: 6.512 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.4078, allocations: 75.98 kB / 1.337 GB, free: 6.414 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0003089/0.4081, allocations: 56.58 kB / 1.337 GB, free: 6.355 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.4081, allocations: 15.44 kB / 1.337 GB, free: 6.34 MB / 1.029 GB Notification: Performance of SimCode: time 3.9e-07/0.4081, allocations: 4 kB / 1.337 GB, free: 6.336 MB / 1.029 GB Notification: Performance of Templates: time 0.006395/0.4145, allocations: 1.897 MB / 1.339 GB, free: 4.512 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 -s gbode -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: 9.049280802995781]