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.001823/0.001823, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002265/0.002265, allocations: 190.7 kB / 22.23 MB, free: 5.105 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.466/1.466, allocations: 225.6 MB / 251 MB, free: 13.03 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.132/3.132, allocations: 496 MB / 0.7835 GB, free: 33.79 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.002066/0.002066, allocations: 66.2 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3229, allocations: 173.6 MB / 1.307 GB, free: 1.816 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00836/0.3313, allocations: 5.747 MB / 1.313 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.00511/0.3364, allocations: 2.743 MB / 1.316 GB, free: 9.289 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0004485/0.3369, allocations: 35.69 kB / 1.316 GB, free: 9.254 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.001992/0.3388, allocations: 0.7071 MB / 1.316 GB, free: 8.547 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.001021/0.3399, allocations: 429.7 kB / 1.317 GB, free: 8.125 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001059/0.3409, allocations: 415 kB / 1.317 GB, free: 7.719 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.00122/0.3421, allocations: 0.9633 MB / 1.318 GB, free: 6.75 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005493/0.3427, allocations: 330.9 kB / 1.318 GB, free: 6.422 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005424/0.3432, allocations: 386.6 kB / 1.319 GB, free: 6.043 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006046/0.3438, allocations: 434.3 kB / 1.319 GB, free: 5.617 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 7.784e-05/0.3439, allocations: 48 kB / 1.319 GB, free: 5.57 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0007225/0.3446, allocations: 371.2 kB / 1.32 GB, free: 5.207 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002697/0.3449, allocations: 251.2 kB / 1.32 GB, free: 4.961 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003591/0.3453, allocations: 346.2 kB / 1.32 GB, free: 4.621 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.001262/0.3465, allocations: 0.9806 MB / 1.321 GB, free: 3.637 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3465, allocations: 4 kB / 1.321 GB, free: 3.633 MB / 1.014 GB
Notification: Performance of FrontEnd: time 9.42e-07/0.3465, allocations: 0 / 1.321 GB, free: 3.633 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.177e-05/0.3466, allocations: 0 / 1.321 GB, free: 3.633 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.001733/0.3483, allocations: 0.9247 MB / 1.322 GB, free: 2.676 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.979e-05/0.3483, allocations: 12.92 kB / 1.322 GB, free: 2.664 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.3498, allocations: 204.2 kB / 1.322 GB, free: 2.465 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008926/0.3507, allocations: 460.9 kB / 1.323 GB, free: 1.988 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.3507, allocations: 37.36 kB / 1.323 GB, free: 1.953 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/0.3509, allocations: 56.55 kB / 1.323 GB, free: 1.898 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.3522, allocations: 0.8279 MB / 1.324 GB, free: 0.9883 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.907e-05/0.3522, allocations: 7.938 kB / 1.324 GB, free: 0.9805 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.925e-05/0.3523, allocations: 27.98 kB / 1.324 GB, free: 0.9531 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00022/0.3525, allocations: 68.94 kB / 1.324 GB, free: 0.8867 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009646/0.3535, allocations: 0.5735 MB / 1.324 GB, free: 320 kB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004995/0.3585, allocations: 4.509 MB / 1.329 GB, free: 11.47 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004975/0.359, allocations: 283.3 kB / 1.329 GB, free: 11.18 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.3593, allocations: 209.3 kB / 1.329 GB, free: 10.98 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.398e-05/0.3593, allocations: 4.281 kB / 1.329 GB, free: 10.97 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.3594, allocations: 38.84 kB / 1.329 GB, free: 10.93 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=33): time 2.104e-06/0.3594, allocations: 0 / 1.329 GB, free: 10.93 MB / 1.029 GB
Notification: Performance of matching and sorting (n=40): time 0.005752/0.3651, allocations: 2.34 MB / 1.331 GB, free: 8.535 MB / 1.029 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.3652, allocations: 55.41 kB / 1.331 GB, free: 8.469 MB / 1.029 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005619/0.3657, allocations: 466 kB / 1.332 GB, free: 8 MB / 1.029 GB
Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.3658, allocations: 29.7 kB / 1.332 GB, free: 7.965 MB / 1.029 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002852/0.3661, allocations: 356.5 kB / 1.332 GB, free: 7.613 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001319/0.3662, allocations: 150.7 kB / 1.332 GB, free: 7.465 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.3664, allocations: 106.2 kB / 1.332 GB, free: 7.355 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001869/0.3666, allocations: 366.7 kB / 1.333 GB, free: 6.988 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003856/0.3669, allocations: 241.2 kB / 1.333 GB, free: 6.754 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000519/0.3675, allocations: 403.4 kB / 1.333 GB, free: 6.281 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009716/0.3684, allocations: 0.674 MB / 1.334 GB, free: 5.535 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.3684, allocations: 4 kB / 1.334 GB, free: 5.531 MB / 1.029 GB
Notification: Performance of matching and sorting (n=69) (initialization): time 0.001775/0.3702, allocations: 0.9137 MB / 1.335 GB, free: 4.602 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.3702, allocations: 9.406 kB / 1.335 GB, free: 4.594 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.3702, allocations: 4 kB / 1.335 GB, free: 4.59 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0008348/0.3711, allocations: 234.5 kB / 1.335 GB, free: 4.352 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000523/0.3716, allocations: 111.8 kB / 1.335 GB, free: 4.242 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005728/0.3773, allocations: 5.031 MB / 1.34 GB, free: 14.87 MB / 1.045 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000498/0.3778, allocations: 31.97 kB / 1.34 GB, free: 14.84 MB / 1.045 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.325e-05/0.3779, allocations: 24 kB / 1.34 GB, free: 14.82 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.0003511/0.3782, allocations: 229.7 kB / 1.341 GB, free: 14.58 MB / 1.045 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.3783, allocations: 63.56 kB / 1.341 GB, free: 14.52 MB / 1.045 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.3799, allocations: 0.7658 MB / 1.341 GB, free: 13.73 MB / 1.045 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.3799, allocations: 4 kB / 1.341 GB, free: 13.73 MB / 1.045 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3799, allocations: 3.938 kB / 1.341 GB, free: 13.72 MB / 1.045 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3799, allocations: 0 / 1.341 GB, free: 13.72 MB / 1.045 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/0.3826, allocations: 1.458 MB / 1.343 GB, free: 12.18 MB / 1.045 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3826, allocations: 224 / 1.343 GB, free: 12.18 MB / 1.045 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003877/0.383, allocations: 80.06 kB / 1.343 GB, free: 12.11 MB / 1.045 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007079/0.3837, allocations: 202.3 kB / 1.343 GB, free: 11.9 MB / 1.045 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.3837, allocations: 16 kB / 1.343 GB, free: 11.88 MB / 1.045 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005692/0.3894, allocations: 4.971 MB / 1.348 GB, free: 6.57 MB / 1.045 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.3894, allocations: 7.969 kB / 1.348 GB, free: 6.562 MB / 1.045 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.3913, allocations: 1.127 MB / 1.349 GB, free: 5.387 MB / 1.045 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002557/0.3916, allocations: 103.5 kB / 1.349 GB, free: 5.285 MB / 1.045 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.3917, allocations: 12.2 kB / 1.349 GB, free: 5.273 MB / 1.045 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003193/0.392, allocations: 23.97 kB / 1.349 GB, free: 5.25 MB / 1.045 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.3921, allocations: 47.84 kB / 1.349 GB, free: 5.203 MB / 1.045 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-05/0.3921, allocations: 8 kB / 1.349 GB, free: 5.195 MB / 1.045 GB
Notification: Performance of sorting global known variables: time 0.0003798/0.3925, allocations: 314.9 kB / 1.35 GB, free: 4.891 MB / 1.045 GB
Notification: Performance of sort global known variables: time 1.01e-07/0.3925, allocations: 0 / 1.35 GB, free: 4.891 MB / 1.045 GB
Notification: Performance of remove unused functions: time 0.0006861/0.3932, allocations: 172 kB / 1.35 GB, free: 4.723 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.0001597/0.3934, allocations: 116 kB / 1.35 GB, free: 4.598 MB / 1.045 GB
Notification: Performance of simCode: created initialization part: time 0.001651/0.395, allocations: 0.9656 MB / 1.351 GB, free: 3.594 MB / 1.045 GB
Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.395, allocations: 0 / 1.351 GB, free: 3.594 MB / 1.045 GB
Notification: Performance of simCode: created simulation system equations: time 0.0009992/0.396, allocations: 0.6758 MB / 1.351 GB, free: 2.879 MB / 1.045 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008317/0.3969, allocations: 186.8 kB / 1.352 GB, free: 2.707 MB / 1.045 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002203/0.3991, allocations: 1.273 MB / 1.353 GB, free: 1.383 MB / 1.045 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.3997, allocations: 0.9493 MB / 1.354 GB, free: 416 kB / 1.045 GB
Notification: Performance of simCode: alias equations: time 0.0003451/0.4, allocations: 113 kB / 1.354 GB, free: 304 kB / 1.045 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.4001, allocations: 39.44 kB / 1.354 GB, free: 264 kB / 1.045 GB
Notification: Performance of SimCode: time 6.21e-07/0.4001, allocations: 0 / 1.354 GB, free: 264 kB / 1.045 GB
Notification: Performance of Templates: time 0.01772/0.4178, allocations: 9.399 MB / 1.363 GB, free: 6.98 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.262943403795362]