Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.001665/0.001665, allocations: 100.4 kB / 19.72 MB, free: 2.121 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.002158/0.002158, allocations: 213.8 kB / 23.01 MB, free: 4.93 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.614/1.614, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.422/3.422, allocations: 0.49 GB / 0.7958 GB, free: 35.52 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.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside") translateModel(Buildings.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|smoothHeaviside.y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.54e-05/2.54e-05, allocations: 4.391 kB / 1.155 GB, free: 25.14 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.002513/0.002538, allocations: 1.461 MB / 1.156 GB, free: 24.15 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0008534/0.003391, allocations: 476.5 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.003435, allocations: 1.156 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.501e-05/0.00346, allocations: 1.172 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.818e-05/0.003528, allocations: 7.922 kB / 1.157 GB, free: 23.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.003767, allocations: 21.22 kB / 1.157 GB, free: 23.83 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.617e-05/0.003853, allocations: 28.03 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.003963, allocations: 9.344 kB / 1.157 GB, free: 23.81 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 6.26e-05/0.004026, allocations: 12.72 kB / 1.157 GB, free: 23.8 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.167e-05/0.004068, allocations: 8.891 kB / 1.157 GB, free: 23.8 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.283e-05/0.004081, allocations: 5.875 kB / 1.157 GB, free: 23.8 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 6.976e-05/0.00415, allocations: 19.75 kB / 1.157 GB, free: 23.79 MB / 0.9044 GB Notification: Performance of combineBinaries: time 5.727e-05/0.004208, allocations: 42.83 kB / 1.157 GB, free: 23.77 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 1.867e-05/0.004226, allocations: 28.47 kB / 1.157 GB, free: 23.75 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.262e-05/0.004239, allocations: 1.125 kB / 1.157 GB, free: 23.75 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.181e-05/0.004251, allocations: 1.188 kB / 1.157 GB, free: 23.75 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: 3 (3) * Number of variables: 3 (3) Notification: Performance of [SIM] Bindings: time 0.0004179/0.004669, allocations: 272 kB / 1.157 GB, free: 23.42 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 5.809e-05/0.004727, allocations: 36.59 kB / 1.157 GB, free: 23.39 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002461/0.004973, allocations: 173.1 kB / 1.158 GB, free: 23.27 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 8.32e-05/0.005056, allocations: 81.14 kB / 1.158 GB, free: 23.18 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0003764/0.005432, allocations: 164.6 kB / 1.158 GB, free: 23.01 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 7.392e-05/0.005506, allocations: 85.2 kB / 1.158 GB, free: 22.91 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.705e-05/0.005533, allocations: 41.48 kB / 1.158 GB, free: 22.85 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 8.258e-05/0.005616, allocations: 94.77 kB / 1.158 GB, free: 22.73 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 8.361e-05/0.0057, allocations: 33.36 kB / 1.158 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.0001145/0.005814, allocations: 65.25 kB / 1.158 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0001396/0.005954, allocations: 72.53 kB / 1.158 GB, free: 22.64 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001047/0.006058, allocations: 121.3 kB / 1.158 GB, free: 22.59 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001535/0.006212, allocations: 132.7 kB / 1.158 GB, free: 22.43 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.000192/0.006404, allocations: 182.1 kB / 1.159 GB, free: 22.34 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.316e-05/0.006417, allocations: 11.47 kB / 1.159 GB, free: 22.33 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 3.369e-05/0.006451, allocations: 25.31 kB / 1.159 GB, free: 22.32 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.000163/0.006614, allocations: 83.98 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.58e-05/0.006629, allocations: 1.094 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 1.342e-06/0.006631, allocations: 1.219 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.988e-06/0.006635, allocations: 0 / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.408e-06/0.006639, allocations: 5.094 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 7.735e-06/0.006647, allocations: 0.9375 kB / 1.159 GB, free: 22.29 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 0.0001889/0.006836, allocations: 122.2 kB / 1.159 GB, free: 22.25 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 9.118e-06/0.006845, allocations: 1.25 kB / 1.159 GB, free: 22.25 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: ................. 2 (2) {$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: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, 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: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.873e-05/0.006884, allocations: 31.23 kB / 1.159 GB, free: 22.22 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005302/0.007414, allocations: 210.3 kB / 1.159 GB, free: 22.07 MB / 0.9044 GB Notification: Performance of Templates: time 0.003149/0.01056, allocations: 0.5018 MB / 1.16 GB, free: 21.99 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.sim & ./Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Examples_SmoothHeaviside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.383197195827961]