Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001309/0.001309, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001483/0.001483, allocations: 221.8 kB / 23 MB, free: 4.914 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.419/1.419, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.183/3.183, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002083/0.002083, allocations: 72.3 kB / 1.187 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3527, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.IsMonotonic): time 0.001743/0.3544, allocations: 0.6096 MB / 1.365 GB, free: 12.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0003177/0.3548, allocations: 71.84 kB / 1.365 GB, free: 12.87 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.315e-05/0.3548, allocations: 7.938 kB / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.601e-05/0.3548, allocations: 0 / 1.365 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.845e-05/0.3548, allocations: 7.984 kB / 1.365 GB, free: 12.85 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.3551, allocations: 43.88 kB / 1.365 GB, free: 12.81 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.471e-05/0.3552, allocations: 23.92 kB / 1.365 GB, free: 12.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.405e-05/0.3552, allocations: 8.344 kB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.992e-05/0.3553, allocations: 19.97 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.3555, allocations: 67.88 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.3555, allocations: 4 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001161/0.3556, allocations: 47.89 kB / 1.366 GB, free: 12.64 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.656e-05/0.3556, allocations: 15.98 kB / 1.366 GB, free: 12.62 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.826e-05/0.3556, allocations: 19.86 kB / 1.366 GB, free: 12.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001349/0.3558, allocations: 67.73 kB / 1.366 GB, free: 12.54 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.3558, allocations: 0 / 1.366 GB, free: 12.54 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3558, allocations: 0 / 1.366 GB, free: 12.54 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.438e-06/0.3558, allocations: 0 / 1.366 GB, free: 12.54 MB / 1.061 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.0003758/0.3562, allocations: 290.2 kB / 1.366 GB, free: 12.22 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.192e-05/0.3562, allocations: 8.031 kB / 1.366 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.3562, allocations: 8.891 kB / 1.366 GB, free: 12.21 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.102e-05/0.3563, allocations: 114.5 kB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.3563, allocations: 4.312 kB / 1.366 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.47e-05/0.3563, allocations: 8.359 kB / 1.366 GB, free: 12.06 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.3567, allocations: 432.5 kB / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.3568, allocations: 0 / 1.366 GB, free: 11.55 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.3568, allocations: 7.938 kB / 1.366 GB, free: 11.54 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.343e-05/0.3568, allocations: 23.97 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.873e-05/0.3569, allocations: 39.91 kB / 1.367 GB, free: 11.48 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007153/0.3576, allocations: 0.8552 MB / 1.367 GB, free: 10.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.869e-05/0.3577, allocations: 169.1 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.21e-05/0.3577, allocations: 84.14 kB / 1.368 GB, free: 10.31 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.3578, allocations: 75.28 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.536e-05/0.3578, allocations: 117.8 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.3578, allocations: 3.938 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of matching and sorting (n=0): time 7.506e-05/0.3579, allocations: 33.66 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002069/0.3581, allocations: 391.7 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.3583, allocations: 175.7 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.181e-05/0.3583, allocations: 25.7 kB / 1.368 GB, free: 9.402 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.886e-05/0.3584, allocations: 151.5 kB / 1.369 GB, free: 9.25 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.239e-06/0.3584, allocations: 8 kB / 1.369 GB, free: 9.242 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.008e-05/0.3585, allocations: 53.66 kB / 1.369 GB, free: 9.184 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.000195/0.3587, allocations: 326.8 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.3587, allocations: 23.98 kB / 1.369 GB, free: 8.832 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003502/0.3591, allocations: 475.6 kB / 1.369 GB, free: 8.211 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002195/0.3593, allocations: 209.7 kB / 1.37 GB, free: 7.941 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.3593, allocations: 4 kB / 1.37 GB, free: 7.938 MB / 1.061 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003097/0.3596, allocations: 185.8 kB / 1.37 GB, free: 7.75 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.3596, allocations: 11.94 kB / 1.37 GB, free: 7.738 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3596, allocations: 4 kB / 1.37 GB, free: 7.734 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.3596, allocations: 8 kB / 1.37 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.3598, allocations: 39.92 kB / 1.37 GB, free: 7.688 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.949e-06/0.3598, allocations: 11.94 kB / 1.37 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.843e-05/0.3599, allocations: 31.78 kB / 1.37 GB, free: 7.645 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.3599, allocations: 8 kB / 1.37 GB, free: 7.637 MB / 1.061 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.0001434/0.36, allocations: 214.1 kB / 1.37 GB, free: 7.418 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.226e-05/0.3601, allocations: 113 kB / 1.37 GB, free: 7.301 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.223e-05/0.3602, allocations: 116.8 kB / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.99e-05/0.3602, allocations: 184.2 kB / 1.37 GB, free: 6.988 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.021e-05/0.3603, allocations: 180.2 kB / 1.371 GB, free: 6.805 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-05/0.3604, allocations: 188.2 kB / 1.371 GB, free: 6.613 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002359/0.3606, allocations: 368.8 kB / 1.371 GB, free: 6.215 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.264e-05/0.3607, allocations: 101 kB / 1.371 GB, free: 6.109 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.096e-05/0.3607, allocations: 108.9 kB / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.059e-05/0.3608, allocations: 180.3 kB / 1.372 GB, free: 5.812 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-05/0.3609, allocations: 181.3 kB / 1.372 GB, free: 5.629 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.687e-05/0.361, allocations: 180.2 kB / 1.372 GB, free: 5.445 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-05/0.3611, allocations: 184.3 kB / 1.372 GB, free: 5.258 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001693/0.3612, allocations: 315.7 kB / 1.372 GB, free: 4.926 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.3613, allocations: 112.9 kB / 1.372 GB, free: 4.809 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.677e-05/0.3614, allocations: 188.2 kB / 1.373 GB, free: 4.617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/0.3615, allocations: 108.9 kB / 1.373 GB, free: 4.504 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.997e-05/0.3616, allocations: 192.5 kB / 1.373 GB, free: 4.309 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-05/0.3616, allocations: 105 kB / 1.373 GB, free: 4.199 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.996e-05/0.3617, allocations: 117.5 kB / 1.373 GB, free: 4.086 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3617, allocations: 0 / 1.373 GB, free: 4.086 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003262/0.362, allocations: 27.98 kB / 1.373 GB, free: 4.059 MB / 1.061 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.0002026/0.3622, allocations: 194.4 kB / 1.373 GB, free: 3.859 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.3624, allocations: 67.78 kB / 1.373 GB, free: 3.793 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3624, allocations: 0 / 1.373 GB, free: 3.793 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.3624, allocations: 5.344 kB / 1.373 GB, free: 3.789 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.3628, allocations: 467.1 kB / 1.374 GB, free: 3.332 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003117/0.3631, allocations: 258.2 kB / 1.374 GB, free: 3.047 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.128e-05/0.3632, allocations: 83.97 kB / 1.374 GB, free: 2.945 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.3632, allocations: 15.44 kB / 1.374 GB, free: 2.93 MB / 1.061 GB Notification: Performance of SimCode: time 2.7e-07/0.3632, allocations: 0 / 1.374 GB, free: 2.93 MB / 1.061 GB Notification: Performance of Templates: time 0.003538/0.3667, allocations: 1.731 MB / 1.376 GB, free: 1.215 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Functions.Examples.IsMonotonic_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Functions_Examples_IsMonotonic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.167743168771267]