Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.001353/0.001353, 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.001466/0.001466, allocations: 182.9 kB / 22.22 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.417/1.417, 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-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.145/3.145, allocations: 0.4893 GB / 0.7884 GB, free: 32.96 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-master/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_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 63.38 kB / 1.145 GB, free: 30.74 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.333, allocations: 174.9 MB / 1.316 GB, free: 9.742 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04786/0.3808, allocations: 39.79 MB / 1.355 GB, free: 1.824 MB / 1.045 GB
Notification: Performance of NFInst.instExpressions: time 0.02019/0.401, allocations: 11.4 MB / 1.366 GB, free: 6.391 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/0.4046, allocations: 202.6 kB / 1.366 GB, free: 6.191 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.01232/0.4169, allocations: 4.568 MB / 1.371 GB, free: 1.613 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.007552/0.4245, allocations: 2.328 MB / 1.373 GB, free: 15.27 MB / 1.076 GB
Notification: Performance of NFTyping.typeClassSections: time 0.006529/0.431, allocations: 2.248 MB / 1.375 GB, free: 13.03 MB / 1.076 GB
Notification: Performance of NFFlatten.flatten: time 0.01279/0.4438, allocations: 9.288 MB / 1.384 GB, free: 3.711 MB / 1.076 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.01259/0.4564, allocations: 5.974 MB / 1.39 GB, free: 13.62 MB / 1.092 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.007325/0.4637, allocations: 4.098 MB / 1.394 GB, free: 9.508 MB / 1.092 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.008444/0.4721, allocations: 4.759 MB / 1.399 GB, free: 4.734 MB / 1.092 GB
Notification: Performance of NFPackage.collectConstants: time 0.002666/0.4748, allocations: 0.8203 MB / 1.4 GB, free: 3.914 MB / 1.092 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004784/0.4796, allocations: 1.615 MB / 1.401 GB, free: 2.297 MB / 1.092 GB
Notification: Performance of NFScalarize.scalarize: time 0.005805/0.4854, allocations: 3.227 MB / 1.404 GB, free: 15.06 MB / 1.107 GB
Notification: Performance of NFVerifyModel.verify: time 0.008813/0.4942, allocations: 3.657 MB / 1.408 GB, free: 11.39 MB / 1.107 GB
Notification: Performance of NFConvertDAE.convert: time 0.01807/0.5123, allocations: 12.35 MB / 1.42 GB, free: 15 MB / 1.123 GB
Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.5123, allocations: 0 / 1.42 GB, free: 15 MB / 1.123 GB
Notification: Performance of FrontEnd: time 1.613e-06/0.5123, allocations: 0 / 1.42 GB, free: 15 MB / 1.123 GB
Notification: Performance of Transformations before backend: time 0.0003682/0.5127, allocations: 0 / 1.42 GB, free: 15 MB / 1.123 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1524
 * Number of variables: 1524
Notification: Performance of Generate backend data structure: time 0.01776/0.5304, allocations: 6.403 MB / 1.426 GB, free: 8.539 MB / 1.123 GB
Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5305, allocations: 8.031 kB / 1.426 GB, free: 8.531 MB / 1.123 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006086/0.5365, allocations: 1.098 MB / 1.427 GB, free: 7.43 MB / 1.123 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.008645/0.5452, allocations: 3.56 MB / 1.431 GB, free: 3.805 MB / 1.123 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003951/0.5456, allocations: 427.7 kB / 1.431 GB, free: 3.387 MB / 1.123 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001821/0.5474, allocations: 0.5471 MB / 1.432 GB, free: 2.84 MB / 1.123 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02001/0.5674, allocations: 9.37 MB / 1.441 GB, free: 9.137 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/0.5676, allocations: 31.73 kB / 1.441 GB, free: 9.105 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006886/0.5682, allocations: 248 kB / 1.441 GB, free: 8.863 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000589/0.5688, allocations: 422.9 kB / 1.441 GB, free: 8.449 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01429/0.5831, allocations: 7.12 MB / 1.448 GB, free: 1.32 MB / 1.139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04781/0.6309, allocations: 40.71 MB / 1.488 GB, free: 4.859 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.004938/0.6359, allocations: 2.909 MB / 1.491 GB, free: 1.945 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0031/0.639, allocations: 1.945 MB / 1.493 GB, free: 0 / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.6391, allocations: 26.05 kB / 1.493 GB, free: 15.97 MB / 1.201 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.758e-05/0.6392, allocations: 56.56 kB / 1.493 GB, free: 15.91 MB / 1.201 GB
Notification: Performance of pre-optimization done (n=209): time 3.105e-06/0.6392, allocations: 0 / 1.493 GB, free: 15.91 MB / 1.201 GB
Notification: Performance of matching and sorting (n=212): time 0.02412/0.6633, allocations: 10.28 MB / 1.503 GB, free: 5.621 MB / 1.201 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.6634, allocations: 77.34 kB / 1.503 GB, free: 5.531 MB / 1.201 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002871/0.6663, allocations: 2.002 MB / 1.505 GB, free: 3.512 MB / 1.201 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001917/0.6664, allocations: 69.7 kB / 1.505 GB, free: 3.438 MB / 1.201 GB
Notification: Performance of collectInitialEqns (initialization): time 0.00181/0.6683, allocations: 2.47 MB / 1.508 GB, free: 0.9414 MB / 1.201 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0007215/0.669, allocations: 0.7707 MB / 1.508 GB, free: 168 kB / 1.201 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007879/0.6698, allocations: 481.6 kB / 1.509 GB, free: 15.68 MB / 1.217 GB
Notification: Performance of setup shared object (initialization): time 0.0001241/0.6699, allocations: 301.1 kB / 1.509 GB, free: 15.39 MB / 1.217 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002193/0.6721, allocations: 1.372 MB / 1.51 GB, free: 14.01 MB / 1.217 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002828/0.6749, allocations: 2.108 MB / 1.512 GB, free: 11.58 MB / 1.217 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005369/0.6803, allocations: 3.766 MB / 1.516 GB, free: 7.504 MB / 1.217 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.6803, allocations: 8 kB / 1.516 GB, free: 7.496 MB / 1.217 GB
Notification: Performance of matching and sorting (n=339) (initialization): time 0.008797/0.6891, allocations: 5.034 MB / 1.521 GB, free: 2.438 MB / 1.217 GB
Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.6891, allocations: 19.98 kB / 1.521 GB, free: 2.418 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/0.6892, allocations: 23.98 kB / 1.521 GB, free: 2.395 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.003852/0.693, allocations: 1.576 MB / 1.523 GB, free: 0.8086 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/0.6949, allocations: 459.2 kB / 1.523 GB, free: 368 kB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02527/0.7201, allocations: 18.18 MB / 1.541 GB, free: 13.72 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/0.7223, allocations: 147.9 kB / 1.541 GB, free: 13.58 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/0.7225, allocations: 112 kB / 1.541 GB, free: 13.47 MB / 1.248 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 (231):
 * Single equations (assignments): 227
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.003236/0.7257, allocations: 1.933 MB / 1.543 GB, free: 11.52 MB / 1.248 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006262/0.7264, allocations: 306.2 kB / 1.543 GB, free: 11.22 MB / 1.248 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008232/0.7346, allocations: 4.392 MB / 1.548 GB, free: 6.801 MB / 1.248 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.107e-05/0.7346, allocations: 20 kB / 1.548 GB, free: 6.781 MB / 1.248 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.628e-05/0.7347, allocations: 27.94 kB / 1.548 GB, free: 6.754 MB / 1.248 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.7347, allocations: 11.95 kB / 1.548 GB, free: 6.742 MB / 1.248 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01784/0.7525, allocations: 9.593 MB / 1.557 GB, free: 13.01 MB / 1.264 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.188e-05/0.7525, allocations: 4 kB / 1.557 GB, free: 13 MB / 1.264 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001035/0.7536, allocations: 240.2 kB / 1.557 GB, free: 12.77 MB / 1.264 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003662/0.7572, allocations: 1.431 MB / 1.559 GB, free: 11.33 MB / 1.264 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001514/0.7574, allocations: 43.94 kB / 1.559 GB, free: 11.29 MB / 1.264 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02701/0.7844, allocations: 18.18 MB / 1.576 GB, free: 8.641 MB / 1.279 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.884e-06/0.7844, allocations: 7.938 kB / 1.576 GB, free: 8.633 MB / 1.279 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008747/0.7931, allocations: 4.503 MB / 1.581 GB, free: 4.043 MB / 1.279 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001911/0.795, allocations: 0.5683 MB / 1.581 GB, free: 3.473 MB / 1.279 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005841/0.7956, allocations: 47.94 kB / 1.581 GB, free: 3.426 MB / 1.279 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001246/0.7969, allocations: 119.9 kB / 1.581 GB, free: 3.309 MB / 1.279 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006297/0.7975, allocations: 189.3 kB / 1.582 GB, free: 3.125 MB / 1.279 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001431/0.7977, allocations: 60 kB / 1.582 GB, free: 3.066 MB / 1.279 GB
Notification: Performance of sorting global known variables: time 0.002213/0.7999, allocations: 1.315 MB / 1.583 GB, free: 1.742 MB / 1.279 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.7999, allocations: 4 kB / 1.583 GB, free: 1.738 MB / 1.279 GB
Notification: Performance of remove unused functions: time 0.003461/0.8033, allocations: 1.145 MB / 1.584 GB, free: 0.5898 MB / 1.279 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 (107):
 * Single equations (assignments): 103
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004141/0.8037, allocations: 159.5 kB / 1.584 GB, free: 436 kB / 1.279 GB
Notification: Performance of simCode: created initialization part: time 0.009013/0.8128, allocations: 4.533 MB / 1.589 GB, free: 11.84 MB / 1.295 GB
Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.8128, allocations: 256 / 1.589 GB, free: 11.84 MB / 1.295 GB
Notification: Performance of simCode: created simulation system equations: time 0.005351/0.8181, allocations: 2.812 MB / 1.591 GB, free: 8.984 MB / 1.295 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003889/0.822, allocations: 0.8889 MB / 1.592 GB, free: 8.109 MB / 1.295 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/0.8402, allocations: 9.555 MB / 1.602 GB, free: 14.46 MB / 1.311 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005115/0.8453, allocations: 3.694 MB / 1.605 GB, free: 10.73 MB / 1.311 GB
Notification: Performance of simCode: alias equations: time 0.001955/0.8473, allocations: 0.5517 MB / 1.606 GB, free: 10.17 MB / 1.311 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004335/0.8477, allocations: 147.4 kB / 1.606 GB, free: 10.02 MB / 1.311 GB
Notification: Performance of SimCode: time 7.42e-07/0.8477, allocations: 3.938 kB / 1.606 GB, free: 10.02 MB / 1.311 GB
Notification: Performance of Templates: time 0.6706/1.518, allocations: 54.15 MB / 1.659 GB, free: 261.6 MB / 1.311 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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.342656811699271]