Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001421/0.001421, allocations: 105.2 kB / 19.72 MB, free: 2.145 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.001422/0.001422, allocations: 211.8 kB / 23.01 MB, free: 4.965 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.571/1.571, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.411/3.411, allocations: 0.49 GB / 0.7959 GB, free: 35.58 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.Examples.SmoothMin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoLim.2..y|smoLim.1..y",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Math.Examples.SmoothMin") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.179e-05/3.179e-05, allocations: 4.391 kB / 1.155 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.002639/0.002671, allocations: 1.489 MB / 1.156 GB, free: 24.27 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0004182/0.003089, allocations: 132 kB / 1.157 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.933e-05/0.003129, allocations: 5.156 kB / 1.157 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.878e-05/0.003178, allocations: 1.328 kB / 1.157 GB, free: 24.18 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 7.163e-05/0.003249, allocations: 10.44 kB / 1.157 GB, free: 24.17 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.003482, allocations: 31.47 kB / 1.157 GB, free: 24.16 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.003649, allocations: 51.66 kB / 1.157 GB, free: 24.14 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.00378, allocations: 21.45 kB / 1.157 GB, free: 24.13 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.57e-05/0.003815, allocations: 14.28 kB / 1.157 GB, free: 24.12 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.132e-05/0.003867, allocations: 21.36 kB / 1.157 GB, free: 24.11 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.003885, allocations: 3.719 kB / 1.157 GB, free: 24.11 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.01e-05/0.003975, allocations: 35.58 kB / 1.157 GB, free: 24.1 MB / 0.9044 GB Notification: Performance of combineBinaries: time 7.438e-05/0.00405, allocations: 73.17 kB / 1.157 GB, free: 24.05 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.776e-05/0.004068, allocations: 38.64 kB / 1.157 GB, free: 24.03 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.179e-05/0.004079, allocations: 0.7812 kB / 1.157 GB, free: 24.03 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.067e-05/0.00409, allocations: 1.125 kB / 1.157 GB, free: 24.03 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 (7) * Number of variables: 8 (5) Notification: Performance of [SIM] Bindings: time 0.0004984/0.004588, allocations: 337.6 kB / 1.157 GB, free: 23.67 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.818e-05/0.004647, allocations: 42.86 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0003949/0.005041, allocations: 323.1 kB / 1.158 GB, free: 23.45 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001008/0.005142, allocations: 104 kB / 1.158 GB, free: 23.35 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003841/0.005526, allocations: 211.4 kB / 1.158 GB, free: 23.16 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 9.165e-05/0.005618, allocations: 105.4 kB / 1.158 GB, free: 23.05 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 4.099e-05/0.005659, allocations: 52.47 kB / 1.158 GB, free: 22.99 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001173/0.005776, allocations: 121.3 kB / 1.158 GB, free: 22.85 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001447/0.005921, allocations: 72.86 kB / 1.158 GB, free: 22.81 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.000184/0.006105, allocations: 122.7 kB / 1.158 GB, free: 22.75 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0004227/0.006528, allocations: 253 kB / 1.159 GB, free: 22.69 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002747/0.006803, allocations: 314.7 kB / 1.159 GB, free: 22.55 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0002246/0.007027, allocations: 197.3 kB / 1.159 GB, free: 22.36 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0003929/0.00742, allocations: 471.5 kB / 1.159 GB, free: 22.14 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.392e-05/0.007434, allocations: 15.45 kB / 1.159 GB, free: 22.12 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.727e-05/0.007491, allocations: 58.48 kB / 1.16 GB, free: 22.09 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0004517/0.007943, allocations: 276.6 kB / 1.16 GB, free: 22.02 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.471e-05/0.007958, allocations: 6.531 kB / 1.16 GB, free: 22.02 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.322e-06/0.007959, allocations: 1.844 kB / 1.16 GB, free: 22.02 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 4.829e-06/0.007964, allocations: 7.938 kB / 1.16 GB, free: 22.01 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 5.25e-06/0.007969, allocations: 10 kB / 1.16 GB, free: 22 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.444e-06/0.007977, allocations: 5.031 kB / 1.16 GB, free: 22 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001715/0.008148, allocations: 91.03 kB / 1.16 GB, free: 21.96 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.275e-06/0.008156, allocations: 1.062 kB / 1.16 GB, free: 21.96 MB / 0.9044 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 8 (5) {$SEV_2, $SEV_1, $SEV_0, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 4 (resizable: 4, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.983e-05/0.008196, allocations: 22.7 kB / 1.16 GB, free: 21.95 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0008345/0.009031, allocations: 442.2 kB / 1.16 GB, free: 21.69 MB / 0.9044 GB Notification: Performance of Templates: time 0.004768/0.0138, allocations: 1.466 MB / 1.162 GB, free: 21.52 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothMin.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothMin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,smoLim[2].y,smoLim[1].y Variables in the result:const.k,const.y,ramp.duration,ramp.height,ramp.offset,ramp.startTime,smoLim[1].deltaX,smoLim[1].y,smoLim[2].deltaX,smoLim[2].y,time [Calling sys.exit(0), Time elapsed: 9.227310711983591]