Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.00149/0.00149, 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.001513/0.001513, allocations: 192 kB / 22.23 MB, free: 5.16 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.435/1.435, allocations: 225.6 MB / 251 MB, free: 13.01 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.128/3.128, allocations: 496 MB / 0.7835 GB, free: 33.51 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 64.28 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3576, allocations: 173.6 MB / 1.307 GB, free: 1.77 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04652/0.4041, allocations: 36.81 MB / 1.343 GB, free: 12.84 MB / 1.045 GB
Notification: Performance of NFInst.instExpressions: time 0.02046/0.4246, allocations: 10.3 MB / 1.353 GB, free: 2.52 MB / 1.045 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00387/0.4285, allocations: 194.6 kB / 1.353 GB, free: 2.328 MB / 1.045 GB
Notification: Performance of NFTyping.typeComponents: time 0.01082/0.4393, allocations: 3.977 MB / 1.357 GB, free: 14.34 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.006368/0.4456, allocations: 2.142 MB / 1.359 GB, free: 12.19 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.005682/0.4513, allocations: 2.037 MB / 1.361 GB, free: 10.15 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.01103/0.4624, allocations: 7.964 MB / 1.369 GB, free: 2.164 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.008045/0.4704, allocations: 4.919 MB / 1.374 GB, free: 13.12 MB / 1.076 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006077/0.4765, allocations: 3.47 MB / 1.377 GB, free: 9.645 MB / 1.076 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.007224/0.4837, allocations: 3.933 MB / 1.381 GB, free: 5.699 MB / 1.076 GB
Notification: Performance of NFPackage.collectConstants: time 0.001728/0.4854, allocations: 0.6836 MB / 1.382 GB, free: 5.016 MB / 1.076 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003554/0.489, allocations: 1.467 MB / 1.383 GB, free: 3.547 MB / 1.076 GB
Notification: Performance of NFScalarize.scalarize: time 0.003598/0.4926, allocations: 2.685 MB / 1.386 GB, free: 0.8555 MB / 1.076 GB
Notification: Performance of NFVerifyModel.verify: time 0.005501/0.4981, allocations: 3.104 MB / 1.389 GB, free: 13.74 MB / 1.092 GB
Notification: Performance of NFConvertDAE.convert: time 0.01468/0.5128, allocations: 10.41 MB / 1.399 GB, free: 3.297 MB / 1.092 GB
Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.5128, allocations: 0 / 1.399 GB, free: 3.297 MB / 1.092 GB
Notification: Performance of FrontEnd: time 1.843e-06/0.5128, allocations: 0 / 1.399 GB, free: 3.297 MB / 1.092 GB
Notification: Performance of Transformations before backend: time 0.0003834/0.5132, allocations: 4 kB / 1.399 GB, free: 3.293 MB / 1.092 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1286
 * Number of variables: 1286
Notification: Performance of Generate backend data structure: time 0.01717/0.5303, allocations: 5.459 MB / 1.405 GB, free: 13.77 MB / 1.107 GB
Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.5304, allocations: 12.92 kB / 1.405 GB, free: 13.76 MB / 1.107 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006219/0.5366, allocations: 0.989 MB / 1.405 GB, free: 12.77 MB / 1.107 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.007732/0.5443, allocations: 3.128 MB / 1.409 GB, free: 9.574 MB / 1.107 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003599/0.5447, allocations: 353.9 kB / 1.409 GB, free: 9.227 MB / 1.107 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001671/0.5464, allocations: 472.3 kB / 1.409 GB, free: 8.766 MB / 1.107 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01689/0.5633, allocations: 7.91 MB / 1.417 GB, free: 0.4922 MB / 1.107 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.5634, allocations: 15.88 kB / 1.417 GB, free: 488 kB / 1.107 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005887/0.5639, allocations: 212 kB / 1.417 GB, free: 276 kB / 1.107 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005528/0.5645, allocations: 369.1 kB / 1.418 GB, free: 15.9 MB / 1.123 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01227/0.5768, allocations: 5.937 MB / 1.423 GB, free: 9.953 MB / 1.123 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04352/0.6203, allocations: 35.69 MB / 1.458 GB, free: 3.016 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003514/0.6238, allocations: 2.002 MB / 1.46 GB, free: 1.004 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.6258, allocations: 1.336 MB / 1.462 GB, free: 15.66 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.89e-05/0.6259, allocations: 17.3 kB / 1.462 GB, free: 15.64 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/0.6259, allocations: 55.81 kB / 1.462 GB, free: 15.58 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=157): time 3.136e-06/0.6259, allocations: 0 / 1.462 GB, free: 15.58 MB / 1.17 GB
Notification: Performance of matching and sorting (n=160): time 0.01484/0.6408, allocations: 6.667 MB / 1.468 GB, free: 8.871 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.6408, allocations: 68.72 kB / 1.468 GB, free: 8.793 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/0.6437, allocations: 1.868 MB / 1.47 GB, free: 6.898 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002322/0.644, allocations: 49.7 kB / 1.47 GB, free: 6.844 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.00189/0.6459, allocations: 2.192 MB / 1.472 GB, free: 4.633 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0009263/0.6468, allocations: 0.5849 MB / 1.473 GB, free: 4.043 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006951/0.6475, allocations: 400 kB / 1.473 GB, free: 3.645 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0001494/0.6476, allocations: 301.1 kB / 1.473 GB, free: 3.348 MB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.6494, allocations: 1.062 MB / 1.474 GB, free: 2.281 MB / 1.17 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002515/0.6519, allocations: 1.764 MB / 1.476 GB, free: 200 kB / 1.17 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004699/0.6566, allocations: 3.049 MB / 1.479 GB, free: 12.83 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.6566, allocations: 4 kB / 1.479 GB, free: 12.83 MB / 1.186 GB
Notification: Performance of matching and sorting (n=281) (initialization): time 0.007584/0.6642, allocations: 3.91 MB / 1.483 GB, free: 8.871 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 3.999e-05/0.6642, allocations: 16 kB / 1.483 GB, free: 8.855 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.251e-05/0.6643, allocations: 27.94 kB / 1.483 GB, free: 8.828 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002547/0.6668, allocations: 0.928 MB / 1.484 GB, free: 7.863 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.6685, allocations: 427.2 kB / 1.484 GB, free: 7.445 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02448/0.6929, allocations: 21.54 MB / 1.505 GB, free: 0.5312 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.6948, allocations: 123.9 kB / 1.506 GB, free: 420 kB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001689/0.695, allocations: 96.06 kB / 1.506 GB, free: 324 kB / 1.201 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 101
 * 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 (227):
 * Single equations (assignments): 215
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 12
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 12 systems
   {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.00285/0.6978, allocations: 1.652 MB / 1.507 GB, free: 14.65 MB / 1.217 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004961/0.6983, allocations: 274.3 kB / 1.507 GB, free: 14.38 MB / 1.217 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005991/0.7043, allocations: 3.229 MB / 1.511 GB, free: 11.1 MB / 1.217 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-05/0.7043, allocations: 16 kB / 1.511 GB, free: 11.09 MB / 1.217 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.705e-05/0.7043, allocations: 16 kB / 1.511 GB, free: 11.07 MB / 1.217 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/0.7044, allocations: 7.969 kB / 1.511 GB, free: 11.06 MB / 1.217 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/0.7175, allocations: 7.505 MB / 1.518 GB, free: 3.418 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.849e-06/0.7175, allocations: 4 kB / 1.518 GB, free: 3.414 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009387/0.7184, allocations: 215.6 kB / 1.518 GB, free: 3.203 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.002446/0.7209, allocations: 0.8963 MB / 1.519 GB, free: 2.27 MB / 1.217 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.712e-05/0.7209, allocations: 28 kB / 1.519 GB, free: 2.242 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02417/0.7451, allocations: 21.52 MB / 1.54 GB, free: 11.34 MB / 1.248 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.7451, allocations: 11.88 kB / 1.54 GB, free: 11.32 MB / 1.248 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00629/0.7514, allocations: 3.361 MB / 1.543 GB, free: 7.848 MB / 1.248 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.00121/0.7526, allocations: 478.2 kB / 1.544 GB, free: 7.379 MB / 1.248 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/0.7529, allocations: 39.92 kB / 1.544 GB, free: 7.34 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001002/0.7539, allocations: 91.83 kB / 1.544 GB, free: 7.25 MB / 1.248 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004137/0.7543, allocations: 148.9 kB / 1.544 GB, free: 7.102 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.7544, allocations: 44 kB / 1.544 GB, free: 7.059 MB / 1.248 GB
Notification: Performance of sorting global known variables: time 0.001852/0.7563, allocations: 1.225 MB / 1.545 GB, free: 5.82 MB / 1.248 GB
Notification: Performance of sort global known variables: time 7e-08/0.7563, allocations: 0 / 1.545 GB, free: 5.82 MB / 1.248 GB
Notification: Performance of remove unused functions: time 0.002854/0.7592, allocations: 0.9023 MB / 1.546 GB, free: 4.918 MB / 1.248 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 19
 * 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 (109):
 * Single equations (assignments): 97
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 12
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 12 systems
   {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002672/0.7594, allocations: 155.9 kB / 1.546 GB, free: 4.758 MB / 1.248 GB
Notification: Performance of simCode: created initialization part: time 0.007039/0.7665, allocations: 4.302 MB / 1.551 GB, free: 316 kB / 1.248 GB
Notification: Performance of simCode: created event and clocks part: time 6.362e-06/0.7665, allocations: 1 kB / 1.551 GB, free: 316 kB / 1.248 GB
Notification: Performance of simCode: created simulation system equations: time 0.004564/0.771, allocations: 2.902 MB / 1.553 GB, free: 13.25 MB / 1.264 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003513/0.7745, allocations: 0.8314 MB / 1.554 GB, free: 12.43 MB / 1.264 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/0.7887, allocations: 7.83 MB / 1.562 GB, free: 4.508 MB / 1.264 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00398/0.7927, allocations: 3.213 MB / 1.565 GB, free: 1.262 MB / 1.264 GB
Notification: Performance of simCode: alias equations: time 0.001798/0.7945, allocations: 0.5215 MB / 1.566 GB, free: 0.7344 MB / 1.264 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003854/0.7948, allocations: 143.4 kB / 1.566 GB, free: 0.5938 MB / 1.264 GB
Notification: Performance of SimCode: time 1.082e-06/0.7948, allocations: 0 / 1.566 GB, free: 0.5938 MB / 1.264 GB
Notification: Performance of Templates: time 0.08011/0.8749, allocations: 43.53 MB / 1.608 GB, free: 5.672 MB / 1.311 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.185035213828087]