Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.001628/0.001628, 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.001915/0.001915, allocations: 189.6 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.45/1.45, 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 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.754/2.754, allocations: 476.7 MB / 0.7646 GB, free: 9.867 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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 71.88 kB / 1.11 GB, free: 6.277 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.7539/0.756, allocations: 168.8 MB / 1.274 GB, free: 4.172 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02993/0.7859, allocations: 23.63 MB / 1.297 GB, free: 12.46 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.01182/0.7977, allocations: 6.385 MB / 1.304 GB, free: 6.062 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.8002, allocations: 127 kB / 1.304 GB, free: 5.938 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 0.004893/0.8051, allocations: 1.617 MB / 1.305 GB, free: 4.316 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.005021/0.8101, allocations: 1.727 MB / 1.307 GB, free: 2.582 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003814/0.8139, allocations: 1.383 MB / 1.308 GB, free: 1.199 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.007813/0.8217, allocations: 5.94 MB / 1.314 GB, free: 11.24 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.005271/0.827, allocations: 2.983 MB / 1.317 GB, free: 8.18 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.004016/0.831, allocations: 2.477 MB / 1.32 GB, free: 5.695 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.005224/0.8362, allocations: 3.065 MB / 1.323 GB, free: 2.621 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 0.001769/0.838, allocations: 460 kB / 1.323 GB, free: 2.172 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003304/0.8413, allocations: 1.119 MB / 1.324 GB, free: 1.051 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0037/0.845, allocations: 2.089 MB / 1.326 GB, free: 14.96 MB / 1.029 GB
Notification: Performance of NFVerifyModel.verify: time 0.005542/0.8506, allocations: 2.159 MB / 1.328 GB, free: 12.79 MB / 1.029 GB
Notification: Performance of NFConvertDAE.convert: time 0.01058/0.8611, allocations: 7.322 MB / 1.335 GB, free: 5.449 MB / 1.029 GB
Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.8612, allocations: 3.938 kB / 1.335 GB, free: 5.445 MB / 1.029 GB
Notification: Performance of FrontEnd: time 2.053e-06/0.8612, allocations: 0 / 1.335 GB, free: 5.445 MB / 1.029 GB
Notification: Performance of Transformations before backend: time 0.0002455/0.8614, allocations: 0 / 1.335 GB, free: 5.445 MB / 1.029 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 913
 * Number of variables: 913
Notification: Performance of Generate backend data structure: time 0.00918/0.8706, allocations: 3.834 MB / 1.339 GB, free: 1.562 MB / 1.029 GB
Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.8706, allocations: 8.031 kB / 1.339 GB, free: 1.555 MB / 1.029 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006414/0.877, allocations: 1.235 MB / 1.34 GB, free: 324 kB / 1.029 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.005454/0.8825, allocations: 2.301 MB / 1.343 GB, free: 13.97 MB / 1.045 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.8827, allocations: 242.3 kB / 1.343 GB, free: 13.73 MB / 1.045 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008939/0.8836, allocations: 315.9 kB / 1.343 GB, free: 13.42 MB / 1.045 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0114/0.895, allocations: 6.22 MB / 1.349 GB, free: 6.945 MB / 1.045 GB
Notification: Performance of preOpt findStateOrder (simulation): time 7.15e-05/0.8951, allocations: 11.94 kB / 1.349 GB, free: 6.934 MB / 1.045 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003671/0.8954, allocations: 143.9 kB / 1.349 GB, free: 6.793 MB / 1.045 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004979/0.8959, allocations: 402.3 kB / 1.35 GB, free: 6.398 MB / 1.045 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008705/0.9046, allocations: 4.662 MB / 1.354 GB, free: 1.727 MB / 1.045 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03481/0.9394, allocations: 28.75 MB / 1.382 GB, free: 2.258 MB / 1.076 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.9417, allocations: 1.369 MB / 1.384 GB, free: 0.875 MB / 1.076 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002089/0.9438, allocations: 1.444 MB / 1.385 GB, free: 15.43 MB / 1.092 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001145/0.9439, allocations: 13 kB / 1.385 GB, free: 15.42 MB / 1.092 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.059e-05/0.944, allocations: 43.56 kB / 1.385 GB, free: 15.36 MB / 1.092 GB
Notification: Performance of pre-optimization done (n=110): time 2.995e-06/0.944, allocations: 0 / 1.385 GB, free: 15.36 MB / 1.092 GB
Notification: Performance of matching and sorting (n=179): time 0.1352/1.079, allocations: 37.09 MB / 1.421 GB, free: 10.22 MB / 1.123 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.637e-05/1.079, allocations: 77.34 kB / 1.421 GB, free: 10.13 MB / 1.123 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/1.082, allocations: 1.415 MB / 1.423 GB, free: 8.711 MB / 1.123 GB
Notification: Performance of collectPreVariables (initialization): time 0.0003267/1.082, allocations: 53.7 kB / 1.423 GB, free: 8.652 MB / 1.123 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001375/1.083, allocations: 1.586 MB / 1.424 GB, free: 7.051 MB / 1.123 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0008332/1.084, allocations: 0.639 MB / 1.425 GB, free: 6.406 MB / 1.123 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009628/1.085, allocations: 379.5 kB / 1.425 GB, free: 6.027 MB / 1.123 GB
Notification: Performance of setup shared object (initialization): time 0.0001437/1.085, allocations: 309.1 kB / 1.426 GB, free: 5.723 MB / 1.123 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002931/1.088, allocations: 1.788 MB / 1.427 GB, free: 3.93 MB / 1.123 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003441/1.092, allocations: 2.342 MB / 1.43 GB, free: 1.336 MB / 1.123 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.006628/1.098, allocations: 4.391 MB / 1.434 GB, free: 12.71 MB / 1.139 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/1.098, allocations: 7.938 kB / 1.434 GB, free: 12.7 MB / 1.139 GB
Notification: Performance of matching and sorting (n=259) (initialization): time 0.01905/1.117, allocations: 8.428 MB / 1.442 GB, free: 4.234 MB / 1.139 GB
Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/1.117, allocations: 15.94 kB / 1.442 GB, free: 4.219 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/1.117, allocations: 16 kB / 1.442 GB, free: 4.203 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01553/1.133, allocations: 4.64 MB / 1.447 GB, free: 15.55 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/1.134, allocations: 299.5 kB / 1.447 GB, free: 15.25 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05405/1.188, allocations: 32 MB / 1.478 GB, free: 14.56 MB / 1.186 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/1.191, allocations: 159.8 kB / 1.478 GB, free: 14.4 MB / 1.186 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003899/1.191, allocations: 80 kB / 1.479 GB, free: 14.32 MB / 1.186 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 (157):
 * Single equations (assignments): 151
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 6
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 6 systems
   {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.002659/1.194, allocations: 1.328 MB / 1.48 GB, free: 12.98 MB / 1.186 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006644/1.194, allocations: 210.7 kB / 1.48 GB, free: 12.78 MB / 1.186 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01916/1.213, allocations: 8.297 MB / 1.488 GB, free: 4.434 MB / 1.186 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.387e-05/1.213, allocations: 16 kB / 1.488 GB, free: 4.418 MB / 1.186 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.144e-05/1.213, allocations: 27.94 kB / 1.488 GB, free: 4.391 MB / 1.186 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.916e-05/1.214, allocations: 7.969 kB / 1.488 GB, free: 4.383 MB / 1.186 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02828/1.242, allocations: 12.67 MB / 1.501 GB, free: 7.539 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.712e-05/1.242, allocations: 4 kB / 1.501 GB, free: 7.535 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007929/1.243, allocations: 171.7 kB / 1.501 GB, free: 7.367 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0153/1.258, allocations: 4.491 MB / 1.505 GB, free: 2.859 MB / 1.201 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004418/1.258, allocations: 36 kB / 1.505 GB, free: 2.824 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0523/1.311, allocations: 31.62 MB / 1.536 GB, free: 2.508 MB / 1.232 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/1.311, allocations: 11.98 kB / 1.536 GB, free: 2.496 MB / 1.232 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01864/1.329, allocations: 8.101 MB / 1.544 GB, free: 10.27 MB / 1.248 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001911/1.331, allocations: 0.5531 MB / 1.545 GB, free: 9.711 MB / 1.248 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007623/1.332, allocations: 40 kB / 1.545 GB, free: 9.672 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001732/1.334, allocations: 135.8 kB / 1.545 GB, free: 9.539 MB / 1.248 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000934/1.335, allocations: 172.9 kB / 1.545 GB, free: 9.371 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002019/1.335, allocations: 52 kB / 1.545 GB, free: 9.32 MB / 1.248 GB
Notification: Performance of sorting global known variables: time 0.00185/1.337, allocations: 0.9626 MB / 1.546 GB, free: 8.363 MB / 1.248 GB
Notification: Performance of sort global known variables: time 1e-07/1.337, allocations: 0 / 1.546 GB, free: 8.363 MB / 1.248 GB
Notification: Performance of remove unused functions: time 0.004344/1.341, allocations: 1.121 MB / 1.547 GB, free: 7.242 MB / 1.248 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 28
 * 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 (80):
 * Single equations (assignments): 74
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 6
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 6 systems
   {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004369/1.341, allocations: 153.2 kB / 1.547 GB, free: 7.082 MB / 1.248 GB
Notification: Performance of simCode: created initialization part: time 0.01365/1.355, allocations: 6.316 MB / 1.553 GB, free: 0.6914 MB / 1.248 GB
Notification: Performance of simCode: created event and clocks part: time 1.212e-05/1.355, allocations: 0 / 1.553 GB, free: 0.6914 MB / 1.248 GB
Notification: Performance of simCode: created simulation system equations: time 0.01007/1.365, allocations: 4.179 MB / 1.557 GB, free: 12.43 MB / 1.264 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003555/1.369, allocations: 0.5247 MB / 1.558 GB, free: 11.91 MB / 1.264 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/1.385, allocations: 6.986 MB / 1.565 GB, free: 4.82 MB / 1.264 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004185/1.389, allocations: 2.719 MB / 1.567 GB, free: 2.062 MB / 1.264 GB
Notification: Performance of simCode: alias equations: time 0.001239/1.39, allocations: 396.5 kB / 1.568 GB, free: 1.672 MB / 1.264 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/1.391, allocations: 99.42 kB / 1.568 GB, free: 1.574 MB / 1.264 GB
Notification: Performance of SimCode: time 1.943e-06/1.391, allocations: 3.938 kB / 1.568 GB, free: 1.57 MB / 1.264 GB
Notification: Performance of Templates: time 0.7468/2.137, allocations: 63.45 MB / 1.63 GB, free: 293.6 MB / 1.295 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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: 11.228901668451726]