Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001629/0.001629, 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.001814/0.001814, allocations: 185.8 kB / 22.22 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.449/1.449, allocations: 225.6 MB / 251 MB, free: 13.02 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.812/2.812, allocations: 476.7 MB / 0.7646 GB, free: 9.902 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,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine")
translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 69.89 kB / 1.11 GB, free: 11.89 MB / 0.8419 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3727/0.3747, allocations: 168.8 MB / 1.274 GB, free: 10.97 MB / 0.9825 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01901/0.3937, allocations: 14.57 MB / 1.289 GB, free: 12.33 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.01616/0.4098, allocations: 9.766 MB / 1.298 GB, free: 2.539 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00162/0.4114, allocations: 75.31 kB / 1.298 GB, free: 2.465 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 0.004788/0.4162, allocations: 1.742 MB / 1.3 GB, free: 0.7188 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.004984/0.4212, allocations: 1.601 MB / 1.301 GB, free: 15.12 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00209/0.4233, allocations: 0.76 MB / 1.302 GB, free: 14.36 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.003681/0.427, allocations: 2.517 MB / 1.305 GB, free: 11.83 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001625/0.4286, allocations: 0.9976 MB / 1.306 GB, free: 10.8 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.4303, allocations: 1.09 MB / 1.307 GB, free: 9.711 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.001878/0.4322, allocations: 1.206 MB / 1.308 GB, free: 8.5 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 0.00028/0.4325, allocations: 164 kB / 1.308 GB, free: 8.34 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001773/0.4343, allocations: 0.7994 MB / 1.309 GB, free: 7.539 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0008022/0.4351, allocations: 0.6425 MB / 1.309 GB, free: 6.895 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.001288/0.4364, allocations: 0.9445 MB / 1.31 GB, free: 5.945 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.003846/0.4402, allocations: 2.767 MB / 1.313 GB, free: 3.168 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4402, allocations: 4 kB / 1.313 GB, free: 3.164 MB / 1.014 GB
Notification: Performance of FrontEnd: time 2.004e-06/0.4402, allocations: 0 / 1.313 GB, free: 3.164 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 4.38e-05/0.4403, allocations: 0 / 1.313 GB, free: 3.164 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: 327
 * Number of variables: 327
Notification: Performance of Generate backend data structure: time 0.004319/0.4446, allocations: 2.112 MB / 1.315 GB, free: 1.012 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.4446, allocations: 8.031 kB / 1.315 GB, free: 1.004 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.4553, allocations: 2.094 MB / 1.317 GB, free: 14.91 MB / 1.029 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003024/0.4583, allocations: 1.231 MB / 1.318 GB, free: 13.62 MB / 1.029 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.783e-05/0.4584, allocations: 90.73 kB / 1.318 GB, free: 13.54 MB / 1.029 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002788/0.4587, allocations: 124.1 kB / 1.319 GB, free: 13.41 MB / 1.029 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.005788/0.4645, allocations: 2.675 MB / 1.321 GB, free: 10.59 MB / 1.029 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.202e-05/0.4645, allocations: 7.953 kB / 1.321 GB, free: 10.58 MB / 1.029 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.4647, allocations: 55.98 kB / 1.321 GB, free: 10.53 MB / 1.029 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005804/0.4653, allocations: 178.1 kB / 1.321 GB, free: 10.35 MB / 1.029 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007062/0.4724, allocations: 2.803 MB / 1.324 GB, free: 7.539 MB / 1.029 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/0.4884, allocations: 10.35 MB / 1.334 GB, free: 12.61 MB / 1.045 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.006314/0.4947, allocations: 2.228 MB / 1.336 GB, free: 10.38 MB / 1.045 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002988/0.4977, allocations: 1.216 MB / 1.338 GB, free: 9.156 MB / 1.045 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.556e-05/0.4978, allocations: 9 kB / 1.338 GB, free: 9.148 MB / 1.045 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.653e-05/0.4978, allocations: 47.5 kB / 1.338 GB, free: 9.094 MB / 1.045 GB
Notification: Performance of pre-optimization done (n=89): time 3.086e-06/0.4978, allocations: 0 / 1.338 GB, free: 9.094 MB / 1.045 GB
Notification: Performance of matching and sorting (n=131): time 0.04413/0.5419, allocations: 12.66 MB / 1.35 GB, free: 12.38 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.542, allocations: 64.72 kB / 1.35 GB, free: 12.3 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001779/0.5438, allocations: 1.121 MB / 1.351 GB, free: 11.17 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 0.000225/0.544, allocations: 49.7 kB / 1.351 GB, free: 11.11 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006126/0.5446, allocations: 0.7248 MB / 1.352 GB, free: 10.38 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0005163/0.5451, allocations: 479.8 kB / 1.352 GB, free: 9.91 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.00052/0.5456, allocations: 263.5 kB / 1.353 GB, free: 9.645 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 0.0001817/0.5458, allocations: 365.9 kB / 1.353 GB, free: 9.281 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003191/0.549, allocations: 1.335 MB / 1.354 GB, free: 7.945 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003378/0.5524, allocations: 1.605 MB / 1.356 GB, free: 6.242 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.006656/0.5591, allocations: 2.994 MB / 1.359 GB, free: 3.152 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.5591, allocations: 4 kB / 1.359 GB, free: 3.148 MB / 1.061 GB
Notification: Performance of matching and sorting (n=168) (initialization): time 0.01169/0.5707, allocations: 4.404 MB / 1.363 GB, free: 14.69 MB / 1.076 GB
Notification: Performance of prepare postOptimizeDAE: time 2.757e-05/0.5708, allocations: 8 kB / 1.363 GB, free: 14.68 MB / 1.076 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.667e-05/0.5708, allocations: 8 kB / 1.363 GB, free: 14.67 MB / 1.076 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.005381/0.5762, allocations: 1.432 MB / 1.365 GB, free: 13.2 MB / 1.076 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002035/0.5782, allocations: 439.2 kB / 1.365 GB, free: 12.77 MB / 1.076 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02897/0.6072, allocations: 25.36 MB / 1.39 GB, free: 1.914 MB / 1.092 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002516/0.6097, allocations: 299.5 kB / 1.39 GB, free: 1.621 MB / 1.092 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.6099, allocations: 63.91 kB / 1.39 GB, free: 1.559 MB / 1.092 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 (99):
 * Single equations (assignments): 86
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 13
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 13 systems
   {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0009145/0.6108, allocations: 433.5 kB / 1.39 GB, free: 1.125 MB / 1.092 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.6111, allocations: 175 kB / 1.391 GB, free: 0.9531 MB / 1.092 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01135/0.6225, allocations: 4.414 MB / 1.395 GB, free: 12.48 MB / 1.107 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.737e-05/0.6225, allocations: 12 kB / 1.395 GB, free: 12.47 MB / 1.107 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-05/0.6225, allocations: 16 kB / 1.395 GB, free: 12.45 MB / 1.107 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/0.6225, allocations: 3.984 kB / 1.395 GB, free: 12.45 MB / 1.107 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/0.6378, allocations: 6.692 MB / 1.402 GB, free: 5.605 MB / 1.107 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.367e-05/0.6378, allocations: 4 kB / 1.402 GB, free: 5.602 MB / 1.107 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001679/0.6395, allocations: 383.6 kB / 1.402 GB, free: 5.227 MB / 1.107 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.004732/0.6442, allocations: 1.311 MB / 1.403 GB, free: 3.875 MB / 1.107 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002048/0.6444, allocations: 40.16 kB / 1.403 GB, free: 3.836 MB / 1.107 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02723/0.6716, allocations: 24.18 MB / 1.427 GB, free: 10.16 MB / 1.139 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.6716, allocations: 7.922 kB / 1.427 GB, free: 10.15 MB / 1.139 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01091/0.6826, allocations: 4.168 MB / 1.431 GB, free: 5.891 MB / 1.139 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.6838, allocations: 386.7 kB / 1.431 GB, free: 5.512 MB / 1.139 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003232/0.6841, allocations: 28 kB / 1.431 GB, free: 5.484 MB / 1.139 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001997/0.6861, allocations: 307.4 kB / 1.432 GB, free: 5.184 MB / 1.139 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004583/0.6866, allocations: 140.6 kB / 1.432 GB, free: 5.047 MB / 1.139 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001346/0.6867, allocations: 47.97 kB / 1.432 GB, free: 5 MB / 1.139 GB
Notification: Performance of sorting global known variables: time 0.001127/0.6878, allocations: 0.7487 MB / 1.432 GB, free: 4.25 MB / 1.139 GB
Notification: Performance of sort global known variables: time 6e-08/0.6878, allocations: 0 / 1.432 GB, free: 4.25 MB / 1.139 GB
Notification: Performance of remove unused functions: time 0.002569/0.6904, allocations: 0.5703 MB / 1.433 GB, free: 3.68 MB / 1.139 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 12
 * 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 simulation (67):
 * Single equations (assignments): 54
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 13
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 13 systems
   {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003878/0.6908, allocations: 148 kB / 1.433 GB, free: 3.527 MB / 1.139 GB
Notification: Performance of simCode: created initialization part: time 0.01109/0.7019, allocations: 4.959 MB / 1.438 GB, free: 14.39 MB / 1.154 GB
Notification: Performance of simCode: created event and clocks part: time 1.011e-05/0.7019, allocations: 0 / 1.438 GB, free: 14.39 MB / 1.154 GB
Notification: Performance of simCode: created simulation system equations: time 0.006977/0.7089, allocations: 3.429 MB / 1.441 GB, free: 10.79 MB / 1.154 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.7112, allocations: 0.5598 MB / 1.442 GB, free: 10.25 MB / 1.154 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008202/0.7194, allocations: 4.054 MB / 1.446 GB, free: 6.148 MB / 1.154 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001293/0.7207, allocations: 1.477 MB / 1.447 GB, free: 4.641 MB / 1.154 GB
Notification: Performance of simCode: alias equations: time 0.0015/0.7222, allocations: 425.6 kB / 1.448 GB, free: 4.219 MB / 1.154 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003827/0.7226, allocations: 111.4 kB / 1.448 GB, free: 4.109 MB / 1.154 GB
Notification: Performance of SimCode: time 1.252e-06/0.7226, allocations: 0 / 1.448 GB, free: 4.109 MB / 1.154 GB
Notification: Performance of Templates: time 0.06788/0.7905, allocations: 40.75 MB / 1.488 GB, free: 11.78 MB / 1.201 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.047451320104301]