Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.001315/0.001315, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001406/0.001406, allocations: 186.7 kB / 22.1 MB, free: 4.223 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.515/1.515, allocations: 225.6 MB / 250.8 MB, free: 2.918 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.935/2.935, allocations: 495.8 MB / 0.7831 GB, free: 12.33 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/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.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 71.88 kB / 1.137 GB, free: 12.21 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9299/0.932, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02486/0.9568, allocations: 27.71 MB / 1.334 GB, free: 15.49 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.01431/0.9712, allocations: 8.321 MB / 1.342 GB, free: 9.852 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003434/0.9746, allocations: 149.8 kB / 1.342 GB, free: 9.781 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.007432/0.982, allocations: 2.894 MB / 1.345 GB, free: 8.078 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.005199/0.9872, allocations: 1.671 MB / 1.347 GB, free: 7.043 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.004726/0.9919, allocations: 1.73 MB / 1.348 GB, free: 6.051 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.009152/1.001, allocations: 6.136 MB / 1.354 GB, free: 3.25 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.006266/1.007, allocations: 3.588 MB / 1.358 GB, free: 1.434 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.005202/1.013, allocations: 2.651 MB / 1.36 GB, free: 228 kB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.006248/1.019, allocations: 2.99 MB / 1.363 GB, free: 14.98 MB / 1.076 GB
Notification: Performance of NFPackage.collectConstants: time 0.001784/1.021, allocations: 0.5127 MB / 1.364 GB, free: 14.97 MB / 1.076 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004322/1.025, allocations: 1.209 MB / 1.365 GB, free: 14.71 MB / 1.076 GB
Notification: Performance of NFScalarize.scalarize: time 0.004357/1.029, allocations: 2.11 MB / 1.367 GB, free: 13.8 MB / 1.076 GB
Notification: Performance of NFVerifyModel.verify: time 0.006981/1.036, allocations: 2.382 MB / 1.369 GB, free: 12.27 MB / 1.076 GB
Notification: Performance of NFConvertDAE.convert: time 0.01698/1.053, allocations: 8.08 MB / 1.377 GB, free: 9.688 MB / 1.076 GB
Notification: Performance of FrontEnd - DAE generated: time 9.808e-06/1.053, allocations: 1 kB / 1.377 GB, free: 9.688 MB / 1.076 GB
Notification: Performance of FrontEnd: time 2.284e-06/1.053, allocations: 0 / 1.377 GB, free: 9.688 MB / 1.076 GB
Notification: Performance of Transformations before backend: time 0.000378/1.054, allocations: 0 / 1.377 GB, free: 9.688 MB / 1.076 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 976
 * Number of variables: 976
Notification: Performance of Generate backend data structure: time 0.01762/1.071, allocations: 4.255 MB / 1.381 GB, free: 7.27 MB / 1.076 GB
Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/1.071, allocations: 9.031 kB / 1.381 GB, free: 7.27 MB / 1.076 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006117/1.077, allocations: 0.8199 MB / 1.382 GB, free: 7.016 MB / 1.076 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.008169/1.086, allocations: 2.532 MB / 1.385 GB, free: 5.719 MB / 1.076 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003412/1.086, allocations: 270.7 kB / 1.385 GB, free: 5.598 MB / 1.076 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002164/1.088, allocations: 386.3 kB / 1.385 GB, free: 5.461 MB / 1.076 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0214/1.109, allocations: 5.991 MB / 1.391 GB, free: 2.855 MB / 1.076 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.000159/1.11, allocations: 15.94 kB / 1.391 GB, free: 2.848 MB / 1.076 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007526/1.11, allocations: 158.6 kB / 1.391 GB, free: 2.73 MB / 1.076 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007143/1.111, allocations: 287.7 kB / 1.392 GB, free: 2.695 MB / 1.076 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01222/1.123, allocations: 4.515 MB / 1.396 GB, free: 1.129 MB / 1.076 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03895/1.162, allocations: 27.15 MB / 1.422 GB, free: 8.082 MB / 1.107 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001817/1.164, allocations: 1.059 MB / 1.424 GB, free: 7.516 MB / 1.107 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/1.166, allocations: 0.9618 MB / 1.424 GB, free: 7.027 MB / 1.107 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.671e-05/1.166, allocations: 16 kB / 1.424 GB, free: 7.023 MB / 1.107 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.259e-05/1.166, allocations: 45.03 kB / 1.425 GB, free: 6.977 MB / 1.107 GB
Notification: Performance of pre-optimization done (n=110): time 2.896e-06/1.166, allocations: 0 / 1.425 GB, free: 6.977 MB / 1.107 GB
Notification: Performance of matching and sorting (n=131): time 0.02429/1.19, allocations: 9.103 MB / 1.433 GB, free: 2 MB / 1.107 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.952e-05/1.19, allocations: 65.06 kB / 1.433 GB, free: 1.934 MB / 1.107 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002415/1.192, allocations: 1.495 MB / 1.435 GB, free: 1.133 MB / 1.107 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002619/1.193, allocations: 47.36 kB / 1.435 GB, free: 1.086 MB / 1.107 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001426/1.194, allocations: 1.716 MB / 1.437 GB, free: 15.57 MB / 1.123 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0005902/1.195, allocations: 492.5 kB / 1.437 GB, free: 15.14 MB / 1.123 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006155/1.195, allocations: 335.6 kB / 1.437 GB, free: 14.95 MB / 1.123 GB
Notification: Performance of setup shared object (initialization): time 0.0001368/1.195, allocations: 306.2 kB / 1.438 GB, free: 14.65 MB / 1.123 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001483/1.197, allocations: 0.9131 MB / 1.439 GB, free: 14.17 MB / 1.123 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/1.199, allocations: 1.461 MB / 1.44 GB, free: 12.98 MB / 1.123 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00404/1.203, allocations: 2.551 MB / 1.443 GB, free: 10.53 MB / 1.123 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/1.203, allocations: 8 kB / 1.443 GB, free: 10.52 MB / 1.123 GB
Notification: Performance of matching and sorting (n=226) (initialization): time 0.006887/1.21, allocations: 3.275 MB / 1.446 GB, free: 7.211 MB / 1.123 GB
Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/1.21, allocations: 12 kB / 1.446 GB, free: 7.199 MB / 1.123 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.514e-05/1.21, allocations: 16 kB / 1.446 GB, free: 7.184 MB / 1.123 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002554/1.213, allocations: 0.7338 MB / 1.446 GB, free: 6.422 MB / 1.123 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001773/1.214, allocations: 387.3 kB / 1.447 GB, free: 6.043 MB / 1.123 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01835/1.233, allocations: 16.14 MB / 1.463 GB, free: 4.871 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002171/1.235, allocations: 103.8 kB / 1.463 GB, free: 4.77 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002028/1.235, allocations: 76.06 kB / 1.463 GB, free: 4.695 MB / 1.139 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 78
 * 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 (193):
 * Single equations (assignments): 184
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 9
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 9 systems
   {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.003018/1.238, allocations: 1.309 MB / 1.464 GB, free: 3.375 MB / 1.139 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000653/1.239, allocations: 218.7 kB / 1.464 GB, free: 3.16 MB / 1.139 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005718/1.245, allocations: 2.761 MB / 1.467 GB, free: 364 kB / 1.139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/1.245, allocations: 16 kB / 1.467 GB, free: 348 kB / 1.139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/1.245, allocations: 7.984 kB / 1.467 GB, free: 340 kB / 1.139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/1.245, allocations: 3.984 kB / 1.467 GB, free: 336 kB / 1.139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/1.257, allocations: 6.173 MB / 1.473 GB, free: 9.996 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/1.257, allocations: 8.094 kB / 1.473 GB, free: 9.988 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/1.259, allocations: 239.6 kB / 1.473 GB, free: 9.754 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002309/1.261, allocations: 0.6633 MB / 1.474 GB, free: 9.062 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001462/1.261, allocations: 40 kB / 1.474 GB, free: 9.023 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01812/1.279, allocations: 15.86 MB / 1.489 GB, free: 8.125 MB / 1.17 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.279, allocations: 8 kB / 1.489 GB, free: 8.117 MB / 1.17 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007278/1.286, allocations: 3.99 MB / 1.493 GB, free: 4.02 MB / 1.17 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001339/1.288, allocations: 394.5 kB / 1.494 GB, free: 3.633 MB / 1.17 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003307/1.288, allocations: 39.94 kB / 1.494 GB, free: 3.594 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/1.289, allocations: 83.89 kB / 1.494 GB, free: 3.512 MB / 1.17 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003345/1.29, allocations: 112.7 kB / 1.494 GB, free: 3.402 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.904e-05/1.29, allocations: 40 kB / 1.494 GB, free: 3.363 MB / 1.17 GB
Notification: Performance of sorting global known variables: time 0.00152/1.291, allocations: 1.006 MB / 1.495 GB, free: 2.367 MB / 1.17 GB
Notification: Performance of sort global known variables: time 9e-08/1.291, allocations: 0 / 1.495 GB, free: 2.367 MB / 1.17 GB
Notification: Performance of remove unused functions: time 0.002705/1.294, allocations: 0.6836 MB / 1.496 GB, free: 1.684 MB / 1.17 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 22
 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2])
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (101):
 * Single equations (assignments): 92
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 9
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 9 systems
   {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002888/1.294, allocations: 151 kB / 1.496 GB, free: 1.527 MB / 1.17 GB
Notification: Performance of simCode: created initialization part: time 0.00586/1.3, allocations: 3.378 MB / 1.499 GB, free: 14.03 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 1.173e-05/1.3, allocations: 4.188 kB / 1.499 GB, free: 14.02 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.003563/1.304, allocations: 2.248 MB / 1.501 GB, free: 11.66 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003363/1.307, allocations: 0.6782 MB / 1.502 GB, free: 11.01 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/1.32, allocations: 6.633 MB / 1.508 GB, free: 4.277 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003605/1.324, allocations: 2.668 MB / 1.511 GB, free: 1.574 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.001834/1.326, allocations: 485.4 kB / 1.511 GB, free: 1.098 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003743/1.326, allocations: 119.4 kB / 1.512 GB, free: 0.9805 MB / 1.186 GB
Notification: Performance of SimCode: time 9.82e-07/1.326, allocations: 0 / 1.512 GB, free: 0.9805 MB / 1.186 GB
Notification: Performance of Templates: time 0.06894/1.395, allocations: 35.69 MB / 1.546 GB, free: 13.8 MB / 1.232 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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: 10.478709938935935]