Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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.001719/0.001719, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002428/0.002428, allocations: 190 kB / 22.1 MB, free: 5.152 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.609/1.609, allocations: 225.6 MB / 250.8 MB, free: 13.07 MB / 206.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 3.152/3.152, allocations: 495.8 MB / 0.783 GB, free: 33.65 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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL")
translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 73.08 kB / 1.137 GB, free: 33.9 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3591, allocations: 173.6 MB / 1.307 GB, free: 1.867 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00878/0.3678, allocations: 5.721 MB / 1.312 GB, free: 12.12 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.005277/0.3731, allocations: 2.736 MB / 1.315 GB, free: 9.375 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006204/0.3737, allocations: 31.69 kB / 1.315 GB, free: 9.344 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.002102/0.3758, allocations: 0.7155 MB / 1.316 GB, free: 8.629 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.001337/0.3772, allocations: 425.7 kB / 1.316 GB, free: 8.211 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.3784, allocations: 411 kB / 1.317 GB, free: 7.809 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.001463/0.3799, allocations: 0.9555 MB / 1.317 GB, free: 6.848 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006101/0.3805, allocations: 334.9 kB / 1.318 GB, free: 6.516 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006075/0.3811, allocations: 386.6 kB / 1.318 GB, free: 6.137 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006341/0.3817, allocations: 438.3 kB / 1.319 GB, free: 5.707 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 8.824e-05/0.3818, allocations: 48 kB / 1.319 GB, free: 5.66 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007172/0.3825, allocations: 327.3 kB / 1.319 GB, free: 5.34 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0003073/0.3828, allocations: 255.2 kB / 1.319 GB, free: 5.09 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.000417/0.3832, allocations: 346.2 kB / 1.32 GB, free: 4.75 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.001521/0.3848, allocations: 0.9767 MB / 1.32 GB, free: 3.77 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3848, allocations: 0 / 1.32 GB, free: 3.77 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.793e-06/0.3848, allocations: 0 / 1.32 GB, free: 3.77 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.42e-05/0.3848, allocations: 4 kB / 1.32 GB, free: 3.766 MB / 1.014 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 140
 * Number of variables: 140
Notification: Performance of Generate backend data structure: time 0.001938/0.3867, allocations: 0.9285 MB / 1.321 GB, free: 2.805 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.3868, allocations: 8.031 kB / 1.321 GB, free: 2.797 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00146/0.3882, allocations: 204.2 kB / 1.322 GB, free: 2.598 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009489/0.3892, allocations: 464.9 kB / 1.322 GB, free: 2.117 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.3892, allocations: 37.38 kB / 1.322 GB, free: 2.082 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.3894, allocations: 64.53 kB / 1.322 GB, free: 2.02 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.3907, allocations: 0.8201 MB / 1.323 GB, free: 1.117 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.684e-05/0.3907, allocations: 11.94 kB / 1.323 GB, free: 1.105 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.894e-05/0.3908, allocations: 20 kB / 1.323 GB, free: 1.086 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002094/0.391, allocations: 64.95 kB / 1.323 GB, free: 1.023 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009666/0.392, allocations: 0.5697 MB / 1.324 GB, free: 464 kB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005333/0.3973, allocations: 4.508 MB / 1.328 GB, free: 11.61 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005209/0.3978, allocations: 275.3 kB / 1.328 GB, free: 11.33 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003331/0.3981, allocations: 205.3 kB / 1.328 GB, free: 11.13 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.3982, allocations: 4.281 kB / 1.328 GB, free: 11.12 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.486e-05/0.3982, allocations: 42.83 kB / 1.328 GB, free: 11.07 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=33): time 2.525e-06/0.3982, allocations: 0 / 1.328 GB, free: 11.07 MB / 1.029 GB
Notification: Performance of matching and sorting (n=40): time 0.006077/0.4043, allocations: 2.34 MB / 1.331 GB, free: 8.684 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.112e-05/0.4043, allocations: 55.41 kB / 1.331 GB, free: 8.617 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006401/0.405, allocations: 466 kB / 1.331 GB, free: 8.148 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 4.729e-05/0.405, allocations: 33.7 kB / 1.331 GB, free: 8.109 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003003/0.4053, allocations: 348.5 kB / 1.332 GB, free: 7.766 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001625/0.4055, allocations: 150.7 kB / 1.332 GB, free: 7.617 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001914/0.4057, allocations: 110.2 kB / 1.332 GB, free: 7.504 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0002082/0.4059, allocations: 366.8 kB / 1.332 GB, free: 7.137 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003988/0.4063, allocations: 237.2 kB / 1.332 GB, free: 6.906 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005492/0.4068, allocations: 411.3 kB / 1.333 GB, free: 6.426 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001004/0.4078, allocations: 0.67 MB / 1.333 GB, free: 5.684 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.4079, allocations: 8 kB / 1.333 GB, free: 5.676 MB / 1.029 GB
Notification: Performance of matching and sorting (n=69) (initialization): time 0.001917/0.4098, allocations: 0.9175 MB / 1.334 GB, free: 4.742 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.4098, allocations: 8 kB / 1.334 GB, free: 4.734 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.4098, allocations: 4 kB / 1.334 GB, free: 4.73 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008731/0.4107, allocations: 230.6 kB / 1.335 GB, free: 4.496 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005872/0.4113, allocations: 115.8 kB / 1.335 GB, free: 4.383 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006037/0.4173, allocations: 5.031 MB / 1.34 GB, free: 15.01 MB / 1.045 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/0.4179, allocations: 31.97 kB / 1.34 GB, free: 14.98 MB / 1.045 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.4179, allocations: 20 kB / 1.34 GB, free: 14.96 MB / 1.045 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 24
 * 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 (58):
 * Single equations (assignments): 55
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(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.0004037/0.4183, allocations: 225.7 kB / 1.34 GB, free: 14.73 MB / 1.045 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/0.4184, allocations: 63.56 kB / 1.34 GB, free: 14.67 MB / 1.045 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/0.4201, allocations: 0.7619 MB / 1.341 GB, free: 13.88 MB / 1.045 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.4201, allocations: 12.08 kB / 1.341 GB, free: 13.87 MB / 1.045 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.4201, allocations: 3.938 kB / 1.341 GB, free: 13.87 MB / 1.045 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.4201, allocations: 7.969 kB / 1.341 GB, free: 13.86 MB / 1.045 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.4228, allocations: 1.458 MB / 1.342 GB, free: 12.32 MB / 1.045 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.4228, allocations: 8.062 kB / 1.342 GB, free: 12.31 MB / 1.045 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004132/0.4232, allocations: 63.89 kB / 1.342 GB, free: 12.25 MB / 1.045 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007273/0.4239, allocations: 206.4 kB / 1.342 GB, free: 12.04 MB / 1.045 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.625e-05/0.4239, allocations: 15.94 kB / 1.342 GB, free: 12.02 MB / 1.045 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005685/0.4296, allocations: 4.964 MB / 1.347 GB, free: 6.719 MB / 1.045 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.4296, allocations: 0 / 1.347 GB, free: 6.719 MB / 1.045 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001995/0.4316, allocations: 1.135 MB / 1.348 GB, free: 5.535 MB / 1.045 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002644/0.4319, allocations: 99.64 kB / 1.348 GB, free: 5.438 MB / 1.045 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.644e-05/0.432, allocations: 15.92 kB / 1.349 GB, free: 5.422 MB / 1.045 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003302/0.4323, allocations: 27.97 kB / 1.349 GB, free: 5.395 MB / 1.045 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 9.895e-05/0.4324, allocations: 35.88 kB / 1.349 GB, free: 5.359 MB / 1.045 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.4324, allocations: 16 kB / 1.349 GB, free: 5.344 MB / 1.045 GB
Notification: Performance of sorting global known variables: time 0.0004057/0.4328, allocations: 314.9 kB / 1.349 GB, free: 5.039 MB / 1.045 GB
Notification: Performance of sort global known variables: time 9e-08/0.4328, allocations: 4 kB / 1.349 GB, free: 5.035 MB / 1.045 GB
Notification: Performance of remove unused functions: time 0.0007545/0.4336, allocations: 168 kB / 1.349 GB, free: 4.871 MB / 1.045 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 8
 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30):
 * Single equations (assignments): 27
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(2,2,100.0%), (2,4,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.0001962/0.4338, allocations: 112 kB / 1.349 GB, free: 4.75 MB / 1.045 GB
Notification: Performance of simCode: created initialization part: time 0.001763/0.4356, allocations: 0.9656 MB / 1.35 GB, free: 3.746 MB / 1.045 GB
Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.4356, allocations: 0 / 1.35 GB, free: 3.746 MB / 1.045 GB
Notification: Performance of simCode: created simulation system equations: time 0.001068/0.4366, allocations: 0.6758 MB / 1.351 GB, free: 3.031 MB / 1.045 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009122/0.4375, allocations: 191.2 kB / 1.351 GB, free: 2.855 MB / 1.045 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002349/0.4399, allocations: 1.27 MB / 1.352 GB, free: 1.535 MB / 1.045 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007082/0.4406, allocations: 0.9493 MB / 1.353 GB, free: 0.5586 MB / 1.045 GB
Notification: Performance of simCode: alias equations: time 0.0003332/0.4409, allocations: 121 kB / 1.353 GB, free: 452 kB / 1.045 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.441, allocations: 39.44 kB / 1.353 GB, free: 412 kB / 1.045 GB
Notification: Performance of SimCode: time 6.51e-07/0.441, allocations: 0 / 1.353 GB, free: 412 kB / 1.045 GB
Notification: Performance of Templates: time 0.01859/0.4596, allocations: 9.401 MB / 1.362 GB, free: 7.121 MB / 1.061 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.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: 9.382930192165077]