Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.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.001821/0.001821, allocations: 104.3 kB / 19.71 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.002295/0.002295, allocations: 209.5 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.576/1.576, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.331/3.331, allocations: 0.49 GB / 0.7958 GB, free: 35.4 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.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.36e-05/2.36e-05, allocations: 2.281 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001771/0.001795, allocations: 0.5919 MB / 1.156 GB, free: 24.87 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.0002881/0.002083, allocations: 48.16 kB / 1.156 GB, free: 24.84 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.761e-05/0.002101, allocations: 0 / 1.156 GB, free: 24.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 1.711e-05/0.002118, allocations: 0 / 1.156 GB, free: 24.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.101e-06/0.002124, allocations: 0.5312 kB / 1.156 GB, free: 24.84 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.00237, allocations: 22.61 kB / 1.156 GB, free: 24.83 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 4.55e-05/0.002416, allocations: 1.219 kB / 1.156 GB, free: 24.83 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.383e-05/0.002469, allocations: 2.766 kB / 1.156 GB, free: 24.83 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 1.515e-05/0.002485, allocations: 7.312 kB / 1.156 GB, free: 24.82 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 2.431e-05/0.002509, allocations: 0.8906 kB / 1.156 GB, free: 24.82 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.899e-06/0.002519, allocations: 0.7812 kB / 1.156 GB, free: 24.82 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 9.915e-05/0.002618, allocations: 23.12 kB / 1.156 GB, free: 24.82 MB / 0.9044 GB Notification: Performance of combineBinaries: time 3.151e-05/0.002649, allocations: 6.328 kB / 1.156 GB, free: 24.81 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 7.143e-06/0.002657, allocations: 6.422 kB / 1.156 GB, free: 24.81 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 9.808e-06/0.002666, allocations: 1.156 kB / 1.156 GB, free: 24.81 MB / 0.9044 GB Notification: Performance of FrontEnd: time 7.965e-06/0.002674, allocations: 0 / 1.156 GB, free: 24.81 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: 1 (1) * Number of variables: 1 (1) Notification: Performance of [SIM] Bindings: time 0.0003469/0.003021, allocations: 192.5 kB / 1.156 GB, free: 24.54 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 3.575e-05/0.003057, allocations: 21.75 kB / 1.156 GB, free: 24.51 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0001491/0.003206, allocations: 77.67 kB / 1.156 GB, free: 24.44 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 5.147e-05/0.003257, allocations: 67.94 kB / 1.156 GB, free: 24.34 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 7.988e-05/0.003337, allocations: 78.91 kB / 1.156 GB, free: 24.22 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 4.776e-05/0.003385, allocations: 59.02 kB / 1.156 GB, free: 24.13 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 2.865e-05/0.003414, allocations: 38.33 kB / 1.156 GB, free: 24.07 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 7.624e-05/0.00349, allocations: 76.39 kB / 1.156 GB, free: 23.95 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 9.531e-05/0.003585, allocations: 25 kB / 1.156 GB, free: 23.94 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 8.151e-05/0.003667, allocations: 32.66 kB / 1.156 GB, free: 23.92 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 0.0002278/0.003895, allocations: 47.77 kB / 1.156 GB, free: 23.89 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 5.343e-05/0.003948, allocations: 44.27 kB / 1.156 GB, free: 23.88 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0001134/0.004062, allocations: 105.1 kB / 1.157 GB, free: 23.73 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 7.372e-05/0.004135, allocations: 68.11 kB / 1.157 GB, free: 23.69 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 9.517e-06/0.004145, allocations: 9.719 kB / 1.157 GB, free: 23.68 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.954e-05/0.004164, allocations: 9.859 kB / 1.157 GB, free: 23.67 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0001255/0.00429, allocations: 66.42 kB / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.094e-05/0.004301, allocations: 1.375 kB / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.71e-07/0.004301, allocations: 0 / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 3.407e-06/0.004304, allocations: 0 / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.318e-06/0.004309, allocations: 2.094 kB / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 5.29e-06/0.004314, allocations: 1.75 kB / 1.157 GB, free: 23.64 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 7.632e-05/0.00439, allocations: 26.38 kB / 1.157 GB, free: 23.63 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 8.345e-06/0.004399, allocations: 1 kB / 1.157 GB, free: 23.63 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: ........... 3 (scalar:3, 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: ........... 3 (scalar:3, 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 4.367e-05/0.004442, allocations: 28.41 kB / 1.157 GB, free: 23.61 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004133/0.004856, allocations: 166.7 kB / 1.157 GB, free: 23.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.002878/0.007734, allocations: 414.6 kB / 1.157 GB, free: 23.41 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Math_Functions_Examples_RegStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.RegStep.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.070387647952884]