Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 112.7 kB / 18.34 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 190 kB / 21.52 MB, free: 0.7969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.503/1.503, allocations: 225.6 MB / 250.1 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.883/2.883, allocations: 496.2 MB / 0.7826 GB, free: 12.3 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pri1.x.1.|pri1.x.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer") translateModel(Buildings.Utilities.IO.Files.Examples.Printer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pri1.x.1.|pri1.x.2.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.736e-05, allocations: 6.219 kB / 1.136 GB, free: 12.53 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.Printer): time 0.00303/0.003057, allocations: 1.61 MB / 1.138 GB, free: 10.9 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001415/0.004472, allocations: 0.7131 MB / 1.139 GB, free: 10.18 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.397e-05/0.004526, allocations: 3.938 kB / 1.139 GB, free: 10.18 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001126/0.004639, allocations: 15.86 kB / 1.139 GB, free: 10.16 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.332e-05/0.004702, allocations: 23.73 kB / 1.139 GB, free: 10.14 MB / 0.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/Utilities/IO/Files/BaseClasses/printRealArray.mo:2:1-45:19:writable] Warning: Pure function 'Buildings.Utilities.IO.Files.BaseClasses.printRealArray' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.005171, allocations: 107.8 kB / 1.139 GB, free: 10.04 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002404/0.005412, allocations: 163.5 kB / 1.139 GB, free: 9.875 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.005558, allocations: 21.11 kB / 1.139 GB, free: 9.855 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.005665, allocations: 71.75 kB / 1.139 GB, free: 9.785 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.005773, allocations: 59.77 kB / 1.139 GB, free: 9.727 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.005796, allocations: 8 kB / 1.139 GB, free: 9.719 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002051/0.006002, allocations: 59.89 kB / 1.139 GB, free: 9.66 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0002103/0.006212, allocations: 213.7 kB / 1.139 GB, free: 9.449 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 8.374e-05/0.006296, allocations: 122.1 kB / 1.14 GB, free: 9.328 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.006335, allocations: 19.94 kB / 1.14 GB, free: 9.309 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.275e-05/0.006357, allocations: 7.938 kB / 1.14 GB, free: 9.301 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 (14) * Number of variables: 14 (11) Notification: Performance of Bindings: time 0.0008764/0.007234, allocations: 0.5046 MB / 1.14 GB, free: 8.676 MB / 0.92 GB Notification: Performance of FunctionAlias: time 4.609e-05/0.00728, allocations: 26.78 kB / 1.14 GB, free: 8.652 MB / 0.92 GB Notification: Performance of Early Inline: time 0.0002132/0.007493, allocations: 188.3 kB / 1.14 GB, free: 8.441 MB / 0.92 GB Notification: Performance of Simplify 1: time 9.705e-05/0.00759, allocations: 68.39 kB / 1.14 GB, free: 8.348 MB / 0.92 GB Notification: Performance of Alias: time 0.0001184/0.007708, allocations: 89.84 kB / 1.14 GB, free: 8.211 MB / 0.92 GB Notification: Performance of Simplify 2: time 7.978e-05/0.007788, allocations: 68.39 kB / 1.141 GB, free: 8.117 MB / 0.92 GB Notification: Performance of Remove Stream: time 8.147e-05/0.00787, allocations: 80.31 kB / 1.141 GB, free: 8.012 MB / 0.92 GB Notification: Performance of Detect States: time 0.0002849/0.008155, allocations: 159.1 kB / 1.141 GB, free: 7.82 MB / 0.92 GB Notification: Performance of Events: time 0.0001421/0.008297, allocations: 55.89 kB / 1.141 GB, free: 7.766 MB / 0.92 GB Notification: Performance of Partitioning: time 0.000181/0.008478, allocations: 132.4 kB / 1.141 GB, free: 7.605 MB / 0.92 GB Notification: Performance of Causalize: time 0.0006065/0.009084, allocations: 368.3 kB / 1.141 GB, free: 7.215 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.0001971/0.009281, allocations: 183.8 kB / 1.141 GB, free: 7.035 MB / 0.92 GB Notification: Performance of Simplify: time 0.0002913/0.009573, allocations: 173.1 kB / 1.142 GB, free: 6.816 MB / 0.92 GB Notification: Performance of Inline: time 0.0003554/0.009928, allocations: 247.7 kB / 1.142 GB, free: 6.57 MB / 0.92 GB Notification: Performance of Partitioning: time 2.515e-05/0.009953, allocations: 20.11 kB / 1.142 GB, free: 6.543 MB / 0.92 GB Notification: Performance of Cleanup: time 6.307e-05/0.01002, allocations: 63.94 kB / 1.142 GB, free: 6.48 MB / 0.92 GB Notification: Performance of Causalize: time 0.0005267/0.01054, allocations: 384.6 kB / 1.142 GB, free: 6.094 MB / 0.92 GB Notification: Performance of Tearing: time 1.046e-05/0.01055, allocations: 0 / 1.142 GB, free: 6.094 MB / 0.92 GB Notification: Performance of Initialization: time 3.11e-07/0.01055, allocations: 0 / 1.142 GB, free: 6.094 MB / 0.92 GB Notification: Performance of Remove Dummies: time 6.622e-06/0.01056, allocations: 4 kB / 1.142 GB, free: 6.09 MB / 0.92 GB Notification: Performance of Tearing: time 5.19e-06/0.01057, allocations: 7.938 kB / 1.142 GB, free: 6.082 MB / 0.92 GB Notification: Performance of Categorize: time 1.13e-05/0.01058, allocations: 3.984 kB / 1.142 GB, free: 6.078 MB / 0.92 GB Notification: Performance of Solve: time 0.0001351/0.01071, allocations: 47.95 kB / 1.142 GB, free: 6.031 MB / 0.92 GB Notification: Performance of Jacobian: time 4.288e-06/0.01072, allocations: 0 / 1.142 GB, free: 6.031 MB / 0.92 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: ......... 4 * 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: .................... 3 (3) {pri3.firstTrigger, pri2.firstTrigger, pri1.firstTrigger} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 9 (9) {pri1.sampleTrigger, pri2.sampleTrigger, pri3.sampleTrigger, $TEV_5, $TEV_4, $TEV_3, $TEV_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: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 23 (scalar:23, 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 5.43e-05/0.01077, allocations: 25.94 kB / 1.142 GB, free: 6.012 MB / 0.92 GB Notification: Performance of SimCode: time 0.001436/0.01221, allocations: 1.141 MB / 1.144 GB, free: 4.887 MB / 0.92 GB Notification: Performance of Templates: time 0.004784/0.01699, allocations: 1.263 MB / 1.145 GB, free: 3.625 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_Printer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.Printer.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: 8.276122502982616]