Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.001685/0.001685, allocations: 101.3 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.001848/0.001848, allocations: 204.2 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.233/1.233, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.663/2.663, allocations: 0.49 GB / 0.7958 GB, free: 35.48 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.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 8.817e-06/8.817e-06, allocations: 6.219 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.008405/0.008414, allocations: 9.656 MB / 1.164 GB, free: 19.14 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.003611/0.01203, allocations: 3.023 MB / 1.167 GB, free: 17.17 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002619/0.01229, allocations: 46.28 kB / 1.167 GB, free: 17.15 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/0.01366, allocations: 0.694 MB / 1.168 GB, free: 16.76 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0008938/0.01456, allocations: 0.7268 MB / 1.169 GB, free: 16.35 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009124/0.01547, allocations: 0.6402 MB / 1.169 GB, free: 16.02 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001764/0.01723, allocations: 2.581 MB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009864/0.01822, allocations: 0.9063 MB / 1.173 GB, free: 14.44 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008495/0.01907, allocations: 0.9565 MB / 1.174 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008339/0.0199, allocations: 0.9451 MB / 1.175 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.02004, allocations: 120 kB / 1.175 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005091/0.02055, allocations: 351.3 kB / 1.175 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.001273/0.02183, allocations: 2.189 MB / 1.177 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 0.0005866/0.02241, allocations: 1.298 MB / 1.179 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.02256, allocations: 76.28 kB / 1.179 GB, free: 11.43 MB / 0.9044 GB Notification: Performance of FrontEnd: time 6.934e-05/0.02263, allocations: 21.69 kB / 1.179 GB, free: 11.43 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: 419 (198) * Number of variables: 419 (141) Notification: Performance of [SIM] Bindings: time 0.003705/0.02633, allocations: 5.599 MB / 1.184 GB, free: 7.918 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 0.0004917/0.02682, allocations: 0.7183 MB / 1.185 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.004525/0.03135, allocations: 5.959 MB / 1.191 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0008832/0.03223, allocations: 0.8431 MB / 1.191 GB, free: 4.27 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.003955/0.03619, allocations: 4.414 MB / 1.196 GB, free: 1.566 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0007467/0.03693, allocations: 0.7643 MB / 1.197 GB, free: 1.254 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0003165/0.03725, allocations: 384.5 kB / 1.197 GB, free: 1.008 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0006999/0.03795, allocations: 0.9218 MB / 1.198 GB, free: 428 kB / 0.9044 GB Notification: Performance of [SIM] Events: time 0.0001296/0.03808, allocations: 141.5 kB / 1.198 GB, free: 368 kB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 0.001481/0.03956, allocations: 1.612 MB / 1.2 GB, free: 15.69 MB / 0.92 GB Notification: Performance of [SIM] Causalize: time 0.01101/0.05057, allocations: 9.553 MB / 1.209 GB, free: 13.27 MB / 0.92 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003649/0.05421, allocations: 4.153 MB / 1.213 GB, free: 11.24 MB / 0.92 GB Notification: Performance of [INI] Simplify: time 0.002169/0.05638, allocations: 1.675 MB / 1.215 GB, free: 10.39 MB / 0.92 GB Notification: Performance of [INI] Inline: time 0.006483/0.06287, allocations: 7.321 MB / 1.222 GB, free: 6.707 MB / 0.92 GB Notification: Performance of [INI] Partitioning: time 0.0001381/0.063, allocations: 71.88 kB / 1.222 GB, free: 6.652 MB / 0.92 GB Notification: Performance of [INI] Cleanup: time 0.0009388/0.06394, allocations: 0.9355 MB / 1.223 GB, free: 6.129 MB / 0.92 GB Notification: Performance of [INI] Causalize: time 0.007133/0.07108, allocations: 6.147 MB / 1.229 GB, free: 4.223 MB / 0.92 GB Notification: Performance of [INI] Tearing: time 0.0009708/0.07205, allocations: 0.9933 MB / 1.23 GB, free: 3.598 MB / 0.92 GB Notification: Performance of [SIM] Initialization: time 8.52e-07/0.07205, allocations: 0 / 1.23 GB, free: 3.598 MB / 0.92 GB Notification: Performance of [SIM] Remove Dummies: time 9.167e-06/0.07206, allocations: 1 kB / 1.23 GB, free: 3.598 MB / 0.92 GB Notification: Performance of [SIM] Tearing: time 0.001074/0.07313, allocations: 0.9575 MB / 1.231 GB, free: 2.648 MB / 0.92 GB Notification: Performance of [SIM] Categorize: time 1.92e-05/0.07315, allocations: 11.94 kB / 1.231 GB, free: 2.637 MB / 0.92 GB Notification: Performance of [SIM] Solve: time 0.002279/0.07543, allocations: 1.64 MB / 1.232 GB, free: 1.02 MB / 0.92 GB Notification: Performance of [SIM] Jacobian: time 0.003925/0.07935, allocations: 3.398 MB / 1.236 GB, free: 13.54 MB / 0.9356 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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: ........... 84 (scalar:60, array:24, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 28 (resizable: 28, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 120 (scalar:90, array:30, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 30 (resizable: 30, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 5.997e-05/0.07941, allocations: 49.3 kB / 1.236 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of SimCode: time 0.01163/0.09104, allocations: 12.83 MB / 1.248 GB, free: 0.582 MB / 0.9356 GB Notification: Performance of Templates: time 0.04038/0.1314, allocations: 33.79 MB / 1.281 GB, free: 15 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,Rline_1.terminal_n.phase[1].i[1],Rline_1.terminal_n.phase[1].i[2],Rline_2.terminal_n.phase[1].i[1],Rline_2.terminal_n.phase[1].i[2] Variables in the result:E.V,E.definiteReference,E.f,E.phiSou,E.potentialReference,E.vPhase[1].V,E.vPhase[1].definiteReference,E.vPhase[1].f,E.vPhase[1].phiSou,E.vPhase[1].potentialReference,E.vPhase[2].V,E.vPhase[2].definiteReference,E.vPhase[2].f,E.vPhase[2].phiSou,E.vPhase[2].potentialReference,E.vPhase[3].V,E.vPhase[3].definiteReference,E.vPhase[3].f,E.vPhase[3].phiSou,E.vPhase[3].potentialReference,Rline_1.B11,Rline_1.B12,Rline_1.B13,Rline_1.B21,Rline_1.B22,Rline_1.B23,Rline_1.B31,Rline_1.B32,Rline_1.B33,Rline_1.V_nominal,Rline_1.Z11[1],Rline_1.Z11[2],Rline_1.Z12[1],Rline_1.Z12[2],Rline_1.Z13[1],Rline_1.Z13[2],Rline_1.Z21[1],Rline_1.Z21[2],Rline_1.Z22[1],Rline_1.Z22[2],Rline_1.Z23[1],Rline_1.Z23[2],Rline_1.Z31[1],Rline_1.Z31[2],Rline_1.Z32[1],Rline_1.Z32[2],Rline_1.Z33[1],Rline_1.Z33[2],Rline_1.terminal_n.phase[1].i[1],Rline_1.terminal_n.phase[1].i[2],Rline_2.B11,Rline_2.B12,Rline_2.B13,Rline_2.B21,Rline_2.B22,Rline_2.B23,Rline_2.B31,Rline_2.B32,Rline_2.B33,Rline_2.V_nominal,Rline_2.Z11[1],Rline_2.Z11[2],Rline_2.Z12[1],Rline_2.Z12[2],Rline_2.Z13[1],Rline_2.Z13[2],Rline_2.Z21[1],Rline_2.Z21[2],Rline_2.Z22[1],Rline_2.Z22[2],Rline_2.Z23[1],Rline_2.Z23[2],Rline_2.Z31[1],Rline_2.Z31[2],Rline_2.Z32[1],Rline_2.Z32[2],Rline_2.Z33[1],Rline_2.Z33[2],Rline_2.terminal_n.phase[1].i[1],Rline_2.terminal_n.phase[1].i[2],sc_load1.C,sc_load1.CMax,sc_load1.CMin,sc_load1.L,sc_load1.LMax,sc_load1.LMin,sc_load1.R,sc_load1.RMax,sc_load1.RMin,sc_load1.inductive,sc_load1.load1.C,sc_load1.load1.CMax,sc_load1.load1.CMin,sc_load1.load1.C_internal,sc_load1.load1.L,sc_load1.load1.LMax,sc_load1.load1.LMin,sc_load1.load1.L_internal,sc_load1.load1.P,sc_load1.load1.P_internal,sc_load1.load1.P_nominal,sc_load1.load1.R,sc_load1.load1.RMax,sc_load1.load1.RMin,sc_load1.load1.R_internal,sc_load1.load1.V_nominal,sc_load1.load1.inductive,sc_load1.load1.initMode,sc_load1.load1.linearized,sc_load1.load1.load,sc_load1.load1.mode,sc_load1.load1.use_C_in,sc_load1.load1.use_L_in,sc_load1.load1.use_R_in,sc_load1.load1.y_C_internal,sc_load1.load1.y_L_internal,sc_load1.load1.y_R_internal,sc_load1.load1.y_internal,sc_load1.load2.C,sc_load1.load2.CMax,sc_load1.load2.CMin,sc_load1.load2.C_internal,sc_load1.load2.L,sc_load1.load2.LMax,sc_load1.load2.LMin,sc_load1.load2.L_internal,sc_load1.load2.P,sc_load1.load2.P_internal,sc_load1.load2.P_nominal,sc_load1.load2.R,sc_load1.load2.RMax,sc_load1.load2.RMin,sc_load1.load2.R_internal,sc_load1.load2.V_nominal,sc_load1.load2.inductive,sc_load1.load2.initMode,sc_load1.load2.linearized,sc_load1.load2.load,sc_load1.load2.mode,sc_load1.load2.use_C_in,sc_load1.load2.use_L_in,sc_load1.load2.use_R_in,sc_load1.load2.y_C_internal,sc_load1.load2.y_L_internal,sc_load1.load2.y_R_internal,sc_load1.load2.y_internal,sc_load1.load3.C,sc_load1.load3.CMax,sc_load1.load3.CMin,sc_load1.load3.C_internal,sc_load1.load3.L,sc_load1.load3.LMax,sc_load1.load3.LMin,sc_load1.load3.L_internal,sc_load1.load3.P,sc_load1.load3.P_internal,sc_load1.load3.P_nominal,sc_load1.load3.R,sc_load1.load3.RMax,sc_load1.load3.RMin,sc_load1.load3.R_internal,sc_load1.load3.V_nominal,sc_load1.load3.inductive,sc_load1.load3.initMode,sc_load1.load3.linearized,sc_load1.load3.load,sc_load1.load3.mode,sc_load1.load3.use_C_in,sc_load1.load3.use_L_in,sc_load1.load3.use_R_in,sc_load1.load3.y_C_internal,sc_load1.load3.y_L_internal,sc_load1.load3.y_R_internal,sc_load1.load3.y_internal,sc_load1.loadConn,sc_load1.plugPhase1,sc_load1.plugPhase2,sc_load1.plugPhase3,sc_load1.use_C_in,sc_load1.use_L_in,sc_load1.use_R_in,time [Calling sys.exit(0), Time elapsed: 7.809107065200806]