Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001679/0.001679, allocations: 110 kB / 18.93 MB, free: 2.945 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.001805/0.001805, allocations: 186.6 kB / 22.23 MB, free: 5.164 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.541/1.541, allocations: 225.6 MB / 251 MB, free: 12.99 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.777/2.777, allocations: 476.7 MB / 0.7646 GB, free: 9.879 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.89 kB / 1.11 GB, free: 6.328 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8262/0.8283, allocations: 168.8 MB / 1.274 GB, free: 4.191 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.01199/0.8403, allocations: 5.746 MB / 1.28 GB, free: 14.43 MB / 0.9825 GB
Notification: Performance of NFInst.instExpressions: time 0.006633/0.8469, allocations: 2.744 MB / 1.283 GB, free: 11.67 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006859/0.8476, allocations: 31.69 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 0.002633/0.8502, allocations: 0.7207 MB / 1.283 GB, free: 10.92 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 0.001476/0.8517, allocations: 421.8 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.8532, allocations: 414 kB / 1.284 GB, free: 10.1 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.001949/0.8551, allocations: 0.9594 MB / 1.285 GB, free: 9.141 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0008363/0.856, allocations: 334.6 kB / 1.285 GB, free: 8.809 MB / 0.9825 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0008924/0.8569, allocations: 394.5 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0009684/0.8578, allocations: 426.3 kB / 1.286 GB, free: 8.004 MB / 0.9825 GB
Notification: Performance of NFPackage.collectConstants: time 0.000158/0.858, allocations: 48 kB / 1.286 GB, free: 7.957 MB / 0.9825 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.859, allocations: 379.2 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004077/0.8594, allocations: 251.2 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006165/0.8601, allocations: 358.1 kB / 1.287 GB, free: 6.988 MB / 0.9825 GB
Notification: Performance of NFConvertDAE.convert: time 0.001885/0.8619, allocations: 0.9754 MB / 1.288 GB, free: 6.012 MB / 0.9825 GB
Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8619, allocations: 4 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB
Notification: Performance of FrontEnd: time 1.333e-06/0.8619, allocations: 0 / 1.288 GB, free: 6.008 MB / 0.9825 GB
Notification: Performance of Transformations before backend: time 2.869e-05/0.862, allocations: 0 / 1.288 GB, free: 6.008 MB / 0.9825 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.002491/0.8645, allocations: 0.917 MB / 1.289 GB, free: 5.059 MB / 0.9825 GB
Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/0.8645, allocations: 16.03 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002454/0.867, allocations: 200.2 kB / 1.289 GB, free: 4.848 MB / 0.9825 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/0.8682, allocations: 468.9 kB / 1.29 GB, free: 4.359 MB / 0.9825 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.319e-05/0.8683, allocations: 37.36 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002114/0.8685, allocations: 52.55 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.8703, allocations: 0.8318 MB / 1.291 GB, free: 3.355 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.83e-05/0.8704, allocations: 7.938 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.951e-05/0.8705, allocations: 27.92 kB / 1.291 GB, free: 3.32 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002662/0.8707, allocations: 68.94 kB / 1.291 GB, free: 3.254 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.8722, allocations: 0.5697 MB / 1.291 GB, free: 2.684 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006657/0.8789, allocations: 4.493 MB / 1.296 GB, free: 13.86 MB / 0.9981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006662/0.8795, allocations: 283.2 kB / 1.296 GB, free: 13.57 MB / 0.9981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000509/0.88, allocations: 209.3 kB / 1.296 GB, free: 13.37 MB / 0.9981 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.595e-05/0.8801, allocations: 288 / 1.296 GB, free: 13.37 MB / 0.9981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.471e-05/0.8801, allocations: 38.84 kB / 1.296 GB, free: 13.32 MB / 0.9981 GB
Notification: Performance of pre-optimization done (n=33): time 1.964e-06/0.8801, allocations: 4 kB / 1.296 GB, free: 13.32 MB / 0.9981 GB
Notification: Performance of matching and sorting (n=40): time 0.008195/0.8883, allocations: 2.338 MB / 1.298 GB, free: 10.93 MB / 0.9981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.266e-05/0.8884, allocations: 55.41 kB / 1.298 GB, free: 10.86 MB / 0.9981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008044/0.8892, allocations: 466 kB / 1.299 GB, free: 10.39 MB / 0.9981 GB
Notification: Performance of collectPreVariables (initialization): time 5.64e-05/0.8892, allocations: 33.7 kB / 1.299 GB, free: 10.35 MB / 0.9981 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.8896, allocations: 352.5 kB / 1.299 GB, free: 10 MB / 0.9981 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001778/0.8898, allocations: 150.7 kB / 1.299 GB, free: 9.855 MB / 0.9981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002552/0.89, allocations: 110.2 kB / 1.3 GB, free: 9.738 MB / 0.9981 GB
Notification: Performance of setup shared object (initialization): time 0.0003205/0.8903, allocations: 358.8 kB / 1.3 GB, free: 9.379 MB / 0.9981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005367/0.8909, allocations: 241.2 kB / 1.3 GB, free: 9.145 MB / 0.9981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007255/0.8916, allocations: 407.3 kB / 1.3 GB, free: 8.668 MB / 0.9981 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.8933, allocations: 0.674 MB / 1.301 GB, free: 7.922 MB / 0.9981 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.8933, allocations: 0 / 1.301 GB, free: 7.922 MB / 0.9981 GB
Notification: Performance of matching and sorting (n=69) (initialization): time 0.002728/0.896, allocations: 0.9211 MB / 1.302 GB, free: 6.984 MB / 0.9981 GB
Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.896, allocations: 10.03 kB / 1.302 GB, free: 6.977 MB / 0.9981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.693e-05/0.8961, allocations: 4 kB / 1.302 GB, free: 6.973 MB / 0.9981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.8972, allocations: 226.9 kB / 1.302 GB, free: 6.742 MB / 0.9981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007349/0.8979, allocations: 111.8 kB / 1.302 GB, free: 6.633 MB / 0.9981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008511/0.9064, allocations: 5.046 MB / 1.307 GB, free: 1.238 MB / 0.9981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007246/0.9071, allocations: 31.97 kB / 1.307 GB, free: 1.207 MB / 0.9981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.066e-05/0.9072, allocations: 24 kB / 1.307 GB, free: 1.184 MB / 0.9981 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.000486/0.9077, allocations: 229.7 kB / 1.308 GB, free: 0.9492 MB / 0.9981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002754/0.908, allocations: 67.56 kB / 1.308 GB, free: 0.8828 MB / 0.9981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/0.9104, allocations: 0.7657 MB / 1.308 GB, free: 100 kB / 0.9981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.9104, allocations: 4 kB / 1.308 GB, free: 96 kB / 0.9981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.075e-05/0.9104, allocations: 4 kB / 1.308 GB, free: 92 kB / 0.9981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.9104, allocations: 0 / 1.308 GB, free: 92 kB / 0.9981 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003929/0.9143, allocations: 1.462 MB / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.9143, allocations: 0 / 1.31 GB, free: 14.55 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/0.9149, allocations: 71.88 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0009339/0.9158, allocations: 206.6 kB / 1.31 GB, free: 14.27 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.821e-05/0.9159, allocations: 8 kB / 1.31 GB, free: 14.26 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008546/0.9244, allocations: 4.964 MB / 1.315 GB, free: 8.953 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/0.9244, allocations: 4.031 kB / 1.315 GB, free: 8.949 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003089/0.9275, allocations: 1.132 MB / 1.316 GB, free: 7.77 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004302/0.9279, allocations: 91.58 kB / 1.316 GB, free: 7.68 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001647/0.9281, allocations: 15.94 kB / 1.316 GB, free: 7.664 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005372/0.9286, allocations: 28.09 kB / 1.316 GB, free: 7.637 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003215/0.9289, allocations: 39.88 kB / 1.316 GB, free: 7.598 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.725e-05/0.929, allocations: 19.98 kB / 1.316 GB, free: 7.578 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0007394/0.9297, allocations: 314.9 kB / 1.317 GB, free: 7.273 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.9297, allocations: 0 / 1.317 GB, free: 7.273 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.00113/0.9309, allocations: 168 kB / 1.317 GB, free: 7.109 MB / 1.014 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.000234/0.9311, allocations: 122.1 kB / 1.317 GB, free: 6.98 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.002814/0.9339, allocations: 0.969 MB / 1.318 GB, free: 5.973 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.9339, allocations: 0 / 1.318 GB, free: 5.973 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.001773/0.9357, allocations: 0.6656 MB / 1.318 GB, free: 5.27 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001352/0.937, allocations: 183.7 kB / 1.319 GB, free: 5.094 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003518/0.9406, allocations: 1.282 MB / 1.32 GB, free: 3.762 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001176/0.9417, allocations: 0.9493 MB / 1.321 GB, free: 2.785 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0006812/0.9424, allocations: 109 kB / 1.321 GB, free: 2.68 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.9426, allocations: 35.44 kB / 1.321 GB, free: 2.645 MB / 1.014 GB
Notification: Performance of SimCode: time 1.233e-06/0.9426, allocations: 0 / 1.321 GB, free: 2.645 MB / 1.014 GB
Notification: Performance of Templates: time 0.02838/0.9709, allocations: 9.401 MB / 1.33 GB, free: 9.355 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.032034576870501]