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.00139/0.00139, 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.001419/0.001419, allocations: 209.4 kB / 23 MB, free: 4.938 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.256/1.256, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.698/2.698, allocations: 0.49 GB / 0.7958 GB, free: 35.57 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.296e-05/1.296e-05, allocations: 6.219 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.001724/0.001737, allocations: 1.427 MB / 1.156 GB, free: 24.28 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002219/0.003955, allocations: 2.409 MB / 1.159 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.003981, allocations: 0 / 1.159 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.005095, allocations: 0.5383 MB / 1.159 GB, free: 22.45 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 3.903e-05/0.005134, allocations: 16.56 kB / 1.159 GB, free: 22.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 3.787e-06/0.005138, allocations: 1.281 kB / 1.159 GB, free: 22.44 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.005272, allocations: 79.53 kB / 1.159 GB, free: 22.41 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 2.581e-05/0.005298, allocations: 3.141 kB / 1.159 GB, free: 22.41 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 3.923e-05/0.005337, allocations: 28.91 kB / 1.159 GB, free: 22.4 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 4.79e-05/0.005385, allocations: 42.06 kB / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 7.634e-06/0.005393, allocations: 5 kB / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006722/0.006065, allocations: 409.8 kB / 1.16 GB, free: 22.3 MB / 0.9044 GB Notification: Performance of combineBinaries: time 8.509e-05/0.00615, allocations: 108.4 kB / 1.16 GB, free: 22.23 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 4.391e-05/0.006194, allocations: 73.81 kB / 1.16 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 1.029e-05/0.006204, allocations: 3.281 kB / 1.16 GB, free: 22.2 MB / 0.9044 GB Notification: Performance of FrontEnd: time 5.26e-06/0.00621, allocations: 3.719 kB / 1.16 GB, free: 22.2 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.000504/0.006713, allocations: 0.6624 MB / 1.161 GB, free: 21.66 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 3.078e-05/0.006744, allocations: 33.8 kB / 1.161 GB, free: 21.62 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 2.529e-05/0.00677, allocations: 41.64 kB / 1.161 GB, free: 21.55 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 2.771e-05/0.006797, allocations: 63.44 kB / 1.161 GB, free: 21.46 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 3.56e-05/0.006833, allocations: 80.17 kB / 1.161 GB, free: 21.35 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 2.541e-05/0.006858, allocations: 70.17 kB / 1.161 GB, free: 21.24 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 9.788e-06/0.006868, allocations: 38.11 kB / 1.161 GB, free: 21.18 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 2.908e-05/0.006897, allocations: 67.58 kB / 1.161 GB, free: 21.07 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 3.868e-06/0.006901, allocations: 4.703 kB / 1.161 GB, free: 21.07 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 1.331e-05/0.006914, allocations: 3.203 kB / 1.161 GB, free: 21.07 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 3.356e-06/0.006918, allocations: 3.938 kB / 1.161 GB, free: 21.06 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 2.144e-06/0.00692, allocations: 0 / 1.161 GB, free: 21.06 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.0003154/0.007235, allocations: 229.8 kB / 1.161 GB, free: 20.88 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0001601/0.007395, allocations: 238.9 kB / 1.161 GB, free: 20.76 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.181e-05/0.007407, allocations: 12.3 kB / 1.161 GB, free: 20.74 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 1.455e-05/0.007422, allocations: 10.98 kB / 1.161 GB, free: 20.74 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0007696/0.008191, allocations: 0.6254 MB / 1.162 GB, free: 20.59 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 9.237e-06/0.008201, allocations: 6.594 kB / 1.162 GB, free: 20.59 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.01e-07/0.008201, allocations: 0 / 1.162 GB, free: 20.59 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 6.81e-07/0.008202, allocations: 3.938 kB / 1.162 GB, free: 20.59 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 4.31e-07/0.008202, allocations: 0.75 kB / 1.162 GB, free: 20.59 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 1.453e-06/0.008203, allocations: 0.75 kB / 1.162 GB, free: 20.59 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 6.21e-05/0.008266, allocations: 33.45 kB / 1.162 GB, free: 20.57 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 2.875e-06/0.008268, allocations: 0 / 1.162 GB, free: 20.57 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.292e-05/0.008291, allocations: 30.98 kB / 1.162 GB, free: 20.55 MB / 0.9044 GB Notification: Performance of SimCode: time 0.00137/0.009662, allocations: 1.433 MB / 1.164 GB, free: 19.86 MB / 0.9044 GB Notification: Performance of Templates: time 0.005452/0.01511, allocations: 2.831 MB / 1.166 GB, free: 19.52 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/jenkins/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.069276989903301]