Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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.001412/0.001412, allocations: 104.3 kB / 19.76 MB, free: 1.906 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.001532/0.001532, allocations: 211.9 kB / 23.06 MB, free: 4.984 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.289/1.289, allocations: 230.7 MB / 256.9 MB, free: 7.727 MB / 206.1 MB " [Timeout remaining time 179] 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 2.756/2.756, allocations: 0.4893 GB / 0.7952 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] 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.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") translateModel(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cab.1..Amp|cab.2..Amp|cab.3..Amp|cab.4..Amp|cab.5..Amp|cab.6..Amp|cab.7..Amp",fileNamePrefix="Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.123e-05/1.123e-05, allocations: 5.234 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001773/0.001784, allocations: 1.431 MB / 1.156 GB, free: 24.61 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002238/0.004022, allocations: 2.403 MB / 1.158 GB, free: 23.04 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.027e-05/0.004052, allocations: 1.062 kB / 1.158 GB, free: 23.04 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.005219, allocations: 0.5426 MB / 1.159 GB, free: 22.78 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 3.939e-05/0.005258, allocations: 17.66 kB / 1.159 GB, free: 22.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 3.386e-06/0.005262, allocations: 0 / 1.159 GB, free: 22.77 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001471/0.005409, allocations: 70.55 kB / 1.159 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.38e-05/0.005443, allocations: 10.03 kB / 1.159 GB, free: 22.74 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.649e-05/0.005479, allocations: 29.02 kB / 1.159 GB, free: 22.73 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.249e-05/0.005532, allocations: 45.19 kB / 1.159 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.404e-06/0.005539, allocations: 3.938 kB / 1.159 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006908/0.00623, allocations: 400.8 kB / 1.159 GB, free: 22.63 MB / 0.9044 GB Notification: Performance of combineBinaries: time 9.722e-05/0.006327, allocations: 107.5 kB / 1.159 GB, free: 22.57 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 4.776e-05/0.006375, allocations: 71.12 kB / 1.159 GB, free: 22.53 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.176e-05/0.006387, allocations: 8.031 kB / 1.159 GB, free: 22.53 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.352e-06/0.006393, allocations: 0 / 1.159 GB, free: 22.53 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: 0 (0) * Number of variables: 0 (0) Notification: Performance of [SIM] Bindings: time 0.0005158/0.006909, allocations: 0.6698 MB / 1.16 GB, free: 21.98 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 2.843e-05/0.006937, allocations: 35.61 kB / 1.16 GB, free: 21.95 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 2.492e-05/0.006962, allocations: 36.28 kB / 1.16 GB, free: 21.89 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 2.917e-05/0.006991, allocations: 71.42 kB / 1.16 GB, free: 21.79 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 3.912e-05/0.00703, allocations: 71.34 kB / 1.16 GB, free: 21.68 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 2.777e-05/0.007058, allocations: 73.47 kB / 1.16 GB, free: 21.57 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 1.135e-05/0.007069, allocations: 36.61 kB / 1.16 GB, free: 21.51 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 3.221e-05/0.007102, allocations: 73.53 kB / 1.16 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 4.468e-06/0.007106, allocations: 1.516 kB / 1.16 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 1.469e-05/0.007121, allocations: 1.656 kB / 1.16 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 4.248e-06/0.007125, allocations: 1.125 kB / 1.16 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 2.855e-06/0.007128, allocations: 1.125 kB / 1.16 GB, free: 21.39 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003425/0.00747, allocations: 234.1 kB / 1.161 GB, free: 21.2 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001784/0.007649, allocations: 236.4 kB / 1.161 GB, free: 21.09 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.271e-05/0.007662, allocations: 16.2 kB / 1.161 GB, free: 21.07 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.537e-05/0.007677, allocations: 10.14 kB / 1.161 GB, free: 21.06 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0007982/0.008475, allocations: 0.63 MB / 1.162 GB, free: 20.91 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.097e-06/0.008484, allocations: 14 kB / 1.162 GB, free: 20.9 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 3.8e-07/0.008485, allocations: 1.094 kB / 1.162 GB, free: 20.9 MB / 0.9044 GB Notification: Performance of [SIM] DAE-Mode: time 1.503e-06/0.008486, allocations: 0 / 1.162 GB, free: 20.9 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 1.022e-06/0.008487, allocations: 0.6562 kB / 1.162 GB, free: 20.9 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 1.132e-06/0.008488, allocations: 4.812 kB / 1.162 GB, free: 20.9 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 2.454e-06/0.008491, allocations: 1.156 kB / 1.162 GB, free: 20.9 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 6.881e-05/0.00856, allocations: 31.56 kB / 1.162 GB, free: 20.89 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.971e-06/0.008566, allocations: 1.062 kB / 1.162 GB, free: 20.89 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: ......... 0 * 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: ................. 0 (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: ........... 0 (scalar:0, 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: ........... 1 (scalar:0, array:1, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 10 (resizable: 10, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.435e-05/0.00859, allocations: 22.5 kB / 1.162 GB, free: 20.87 MB / 0.9044 GB Notification: Performance of SimCode: time 0.001458/0.01005, allocations: 1.432 MB / 1.163 GB, free: 20.19 MB / 0.9044 GB Notification: Performance of Templates: time 0.005358/0.01541, allocations: 2.555 MB / 1.166 GB, free: 19.86 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & ./Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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: 7.355060730013065]