Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.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.001663/0.001663, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001907/0.001907, allocations: 212.6 kB / 22.24 MB, free: 5.258 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.797 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.356/3.356, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") translateModel(Buildings.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin") [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.002151/0.002151, allocations: 63.41 kB / 1.186 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3904, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.003528/0.3939, allocations: 1.489 MB / 1.365 GB, free: 12.07 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0005575/0.3944, allocations: 139.6 kB / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.3945, allocations: 0 / 1.365 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 5.831e-05/0.3945, allocations: 7.922 kB / 1.365 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.272e-05/0.3946, allocations: 7.922 kB / 1.365 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.3949, allocations: 31.91 kB / 1.365 GB, free: 11.88 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000113/0.395, allocations: 35.92 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001321/0.3951, allocations: 15.98 kB / 1.366 GB, free: 11.83 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.32e-05/0.3952, allocations: 23.91 kB / 1.366 GB, free: 11.81 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.363e-05/0.3952, allocations: 23.86 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.785e-05/0.3952, allocations: 4 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.854e-05/0.3953, allocations: 31.98 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.149e-05/0.3954, allocations: 11.98 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.3954, allocations: 11.94 kB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.3956, allocations: 67.72 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3956, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.854e-06/0.3956, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.3956, allocations: 0 / 1.366 GB, free: 11.66 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005253/0.3961, allocations: 282.2 kB / 1.366 GB, free: 11.35 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.3961, allocations: 12.03 kB / 1.366 GB, free: 11.34 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001103/0.3972, allocations: 212.5 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.3974, allocations: 118.4 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3974, allocations: 384 / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.823e-05/0.3974, allocations: 4.375 kB / 1.366 GB, free: 10.99 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005977/0.398, allocations: 194 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.398, allocations: 192 / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.765e-05/0.398, allocations: 7.938 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.398, allocations: 0 / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008869/0.3989, allocations: 283.6 kB / 1.367 GB, free: 10.51 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009375/0.3999, allocations: 365 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.401, allocations: 286.2 kB / 1.367 GB, free: 9.832 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.4014, allocations: 100.8 kB / 1.367 GB, free: 9.73 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.4014, allocations: 3.984 kB / 1.367 GB, free: 9.727 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.4015, allocations: 34.56 kB / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.402e-06/0.4015, allocations: 0 / 1.368 GB, free: 9.684 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.00129/0.4028, allocations: 317.2 kB / 1.368 GB, free: 9.367 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.4028, allocations: 51.41 kB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.4029, allocations: 113.8 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.4029, allocations: 29.7 kB / 1.368 GB, free: 9.148 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.306e-05/0.403, allocations: 84.14 kB / 1.368 GB, free: 9.062 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.403, allocations: 15.84 kB / 1.368 GB, free: 9.047 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.4031, allocations: 21.7 kB / 1.368 GB, free: 9.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001549/0.4033, allocations: 314.8 kB / 1.368 GB, free: 8.703 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003827/0.4036, allocations: 95.88 kB / 1.369 GB, free: 8.609 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003616/0.404, allocations: 99.86 kB / 1.369 GB, free: 8.512 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/0.4047, allocations: 176.5 kB / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.4047, allocations: 0 / 1.369 GB, free: 8.336 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0008251/0.4055, allocations: 209.5 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4055, allocations: 8 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.4055, allocations: 4 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.4056, allocations: 0 / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002724/0.4058, allocations: 43.94 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.78e-06/0.4058, allocations: 0 / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001896/0.406, allocations: 23.95 kB / 1.369 GB, free: 8.047 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.406, allocations: 4 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.0001189/0.4062, allocations: 122.9 kB / 1.369 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.4062, allocations: 3.953 kB / 1.369 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.144e-05/0.4062, allocations: 8 kB / 1.369 GB, free: 7.891 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.4062, allocations: 4 kB / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4063, allocations: 0 / 1.369 GB, free: 7.887 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.4063, allocations: 3.938 kB / 1.369 GB, free: 7.883 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.4065, allocations: 149.2 kB / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4065, allocations: 0 / 1.369 GB, free: 7.707 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.4067, allocations: 35.94 kB / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4067, allocations: 0 / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.159e-05/0.4067, allocations: 0 / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4067, allocations: 0 / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.4067, allocations: 0 / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008299/0.4075, allocations: 315.2 kB / 1.37 GB, free: 7.348 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.535e-05/0.4076, allocations: 11.94 kB / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.111e-05/0.4076, allocations: 0 / 1.37 GB, free: 7.336 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.4078, allocations: 27.95 kB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.772e-05/0.4079, allocations: 4 kB / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.334e-06/0.4079, allocations: 0 / 1.37 GB, free: 7.305 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.29e-05/0.4079, allocations: 91.27 kB / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4079, allocations: 0 / 1.37 GB, free: 7.215 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002452/0.4082, allocations: 15.94 kB / 1.37 GB, free: 7.199 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 (3): * Single equations (assignments): 3 * 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.0001561/0.4083, allocations: 95.25 kB / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0008143/0.4091, allocations: 199.7 kB / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.4091, allocations: 0 / 1.37 GB, free: 6.902 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0003858/0.4095, allocations: 96.34 kB / 1.37 GB, free: 6.809 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.4098, allocations: 7.938 kB / 1.37 GB, free: 6.801 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000958/0.4108, allocations: 269.2 kB / 1.37 GB, free: 6.512 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.046e-05/0.4108, allocations: 83.23 kB / 1.371 GB, free: 6.41 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 8.327e-05/0.4109, allocations: 16 kB / 1.371 GB, free: 6.395 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.657e-05/0.411, allocations: 11.42 kB / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.411, allocations: 0 / 1.371 GB, free: 6.383 MB / 1.061 GB Notification: Performance of Templates: time 0.003707/0.4147, allocations: 0.9744 MB / 1.371 GB, free: 5.418 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Math.Examples.SmoothMin.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.005587663501501]