Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.001375/0.001375, allocations: 107.8 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.00153/0.00153, allocations: 216.1 kB / 23 MB, free: 4.969 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.434/3.434, allocations: 0.49 GB / 0.7959 GB, free: 35.42 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.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002156/0.002156, allocations: 66.8 kB / 1.155 GB, free: 25.3 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.39, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.008713/0.3987, allocations: 5.992 MB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005687/0.4044, allocations: 3.157 MB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005799/0.405, allocations: 39.62 kB / 1.336 GB, free: 7.785 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.00261/0.4076, allocations: 0.9335 MB / 1.337 GB, free: 6.852 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.001454/0.4091, allocations: 489.5 kB / 1.337 GB, free: 6.371 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.4104, allocations: 0.5104 MB / 1.338 GB, free: 5.859 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001434/0.4118, allocations: 1.1 MB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008144/0.4126, allocations: 0.51 MB / 1.34 GB, free: 4.234 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006722/0.4133, allocations: 470.3 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006497/0.414, allocations: 498.1 kB / 1.34 GB, free: 3.285 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-05/0.414, allocations: 60 kB / 1.34 GB, free: 3.227 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008628/0.4149, allocations: 447 kB / 1.341 GB, free: 2.789 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002908/0.4152, allocations: 295.1 kB / 1.341 GB, free: 2.5 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000351/0.4156, allocations: 334.4 kB / 1.342 GB, free: 2.172 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.417, allocations: 1.187 MB / 1.343 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.417, allocations: 0 / 1.343 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.417, allocations: 0 / 1.343 GB, free: 0.9805 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.417, allocations: 0 / 1.343 GB, free: 0.9805 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.00179/0.4188, allocations: 1.014 MB / 1.344 GB, free: 15.93 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.681e-05/0.4188, allocations: 8.031 kB / 1.344 GB, free: 15.92 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00154/0.4204, allocations: 228.1 kB / 1.344 GB, free: 15.7 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.4214, allocations: 0.5243 MB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.4215, allocations: 49.67 kB / 1.344 GB, free: 15.1 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.4216, allocations: 60.36 kB / 1.345 GB, free: 15.04 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001634/0.4232, allocations: 1.13 MB / 1.346 GB, free: 13.78 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.723e-05/0.4233, allocations: 15.83 kB / 1.346 GB, free: 13.76 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.25e-05/0.4233, allocations: 31.98 kB / 1.346 GB, free: 13.73 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.4234, allocations: 69.27 kB / 1.346 GB, free: 13.66 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.4245, allocations: 0.6879 MB / 1.346 GB, free: 12.98 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005262/0.4298, allocations: 4.413 MB / 1.351 GB, free: 8.406 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000841/0.4306, allocations: 414.1 kB / 1.351 GB, free: 7.992 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008443/0.4315, allocations: 392.5 kB / 1.351 GB, free: 7.605 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 4.067e-05/0.4315, allocations: 4.688 kB / 1.351 GB, free: 7.602 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.93e-05/0.4315, allocations: 34.56 kB / 1.352 GB, free: 7.559 MB / 1.045 GB Notification: Performance of pre-optimization done (n=41): time 3.366e-06/0.4316, allocations: 0 / 1.352 GB, free: 7.559 MB / 1.045 GB Notification: Performance of matching and sorting (n=42): time 0.004542/0.4361, allocations: 1.71 MB / 1.353 GB, free: 5.828 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/0.4361, allocations: 55.41 kB / 1.353 GB, free: 5.762 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005629/0.4367, allocations: 437.8 kB / 1.354 GB, free: 5.324 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.4368, allocations: 37.7 kB / 1.354 GB, free: 5.281 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.4371, allocations: 403.9 kB / 1.354 GB, free: 4.879 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.4373, allocations: 162.6 kB / 1.354 GB, free: 4.719 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.4375, allocations: 114.2 kB / 1.354 GB, free: 4.602 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.4377, allocations: 358.8 kB / 1.355 GB, free: 4.242 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.4381, allocations: 249.2 kB / 1.355 GB, free: 3.996 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006181/0.4387, allocations: 453.5 kB / 1.355 GB, free: 3.461 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009997/0.4397, allocations: 0.7446 MB / 1.356 GB, free: 2.621 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.586e-06/0.4397, allocations: 0 / 1.356 GB, free: 2.621 MB / 1.045 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001961/0.4416, allocations: 1.035 MB / 1.357 GB, free: 1.566 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.455e-05/0.4417, allocations: 8 kB / 1.357 GB, free: 1.559 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.4417, allocations: 8.062 kB / 1.357 GB, free: 1.551 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.4428, allocations: 315.1 kB / 1.357 GB, free: 1.23 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/0.4431, allocations: 107.8 kB / 1.358 GB, free: 1.125 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007729/0.4508, allocations: 6.922 MB / 1.364 GB, free: 9.785 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004432/0.4513, allocations: 32.02 kB / 1.364 GB, free: 9.754 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.081e-05/0.4513, allocations: 28 kB / 1.364 GB, free: 9.727 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003932/0.4517, allocations: 250.8 kB / 1.365 GB, free: 9.473 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.4518, allocations: 59.62 kB / 1.365 GB, free: 9.414 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001743/0.4535, allocations: 0.8763 MB / 1.365 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.4535, allocations: 3.984 kB / 1.365 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.4536, allocations: 0 / 1.365 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002511/0.4538, allocations: 91.58 kB / 1.366 GB, free: 8.426 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/0.4539, allocations: 16.06 kB / 1.366 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002265/0.4541, allocations: 19.98 kB / 1.366 GB, free: 8.391 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.329e-05/0.4542, allocations: 51.83 kB / 1.366 GB, free: 8.34 MB / 1.061 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002051/0.4562, allocations: 0.9496 MB / 1.367 GB, free: 7.371 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001281/0.4575, allocations: 0.974 MB / 1.368 GB, free: 6.383 MB / 1.061 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003538/0.4579, allocations: 240.1 kB / 1.368 GB, free: 6.148 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003361/0.4582, allocations: 294.8 kB / 1.368 GB, free: 5.863 MB / 1.061 GB Notification: Performance of Backend: time 5.41e-07/0.4582, allocations: 0 / 1.368 GB, free: 5.863 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002677/0.4609, allocations: 1.252 MB / 1.369 GB, free: 4.555 MB / 1.061 GB Notification: Performance of SimCode: time 0.002862/0.4637, allocations: 1.904 MB / 1.371 GB, free: 2.602 MB / 1.061 GB Notification: Performance of Templates: time 0.02313/0.4869, allocations: 13.47 MB / 1.384 GB, free: 5.332 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,R1.v[1],R1.v[2],R2.v[1],R2.v[2],R3.v[1],R3.v[2],R1.i[1],R1.i[2],load_sc.i[1],load_sc.i[2],R2.i[1],R2.i[2],R3.i[1],R3.i[2] Variables in the result:$cse1,E.V,E.definiteReference,E.f,E.phiSou,E.potentialReference,Lbase,Lline_1.L,Lline_1.mode,Lline_2a.L,Lline_2a.mode,Lline_2b.L,Lline_2b.mode,Lline_3.L,Lline_3.mode,Lline_3b.L,Lline_3b.mode,Lline_sc.L,Lline_sc.mode,R1.C,R1.CMax,R1.CMin,R1.L,R1.LMax,R1.LMin,R1.P_nominal,R1.R,R1.RMax,R1.RMin,R1.V_nominal,R1.i[1],R1.i[2],R1.inductive,R1.initMode,R1.linearized,R1.mode,R1.star,R1.use_C_in,R1.use_L_in,R1.use_R_in,R1.v[1],R1.v[2],R2.C,R2.CMax,R2.CMin,R2.L,R2.LMax,R2.LMin,R2.P_nominal,R2.R,R2.RMax,R2.RMin,R2.V_nominal,R2.i[1],R2.i[2],R2.inductive,R2.initMode,R2.linearized,R2.mode,R2.star,R2.use_C_in,R2.use_L_in,R2.use_R_in,R2.v[1],R2.v[2],R3.C,R3.CMax,R3.CMin,R3.L,R3.LMax,R3.LMin,R3.P_nominal,R3.R,R3.RMax,R3.RMin,R3.V_nominal,R3.i[1],R3.i[2],R3.inductive,R3.initMode,R3.linearized,R3.mode,R3.star,R3.use_C_in,R3.use_L_in,R3.use_R_in,R3.v[1],R3.v[2],load_sc.C,load_sc.CMax,load_sc.CMin,load_sc.L,load_sc.LMax,load_sc.LMin,load_sc.P_nominal,load_sc.R,load_sc.RMax,load_sc.RMin,load_sc.V_nominal,load_sc.i[1],load_sc.i[2],load_sc.inductive,load_sc.initMode,load_sc.linearized,load_sc.mode,load_sc.star,load_sc.use_C_in,load_sc.use_L_in,load_sc.use_R_in,time [Calling sys.exit(0), Time elapsed: 9.839001278996875]