Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.001818/0.001818, 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.002278/0.002278, allocations: 190 kB / 22.23 MB, free: 5.156 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.457/1.457, 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: 33.33 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_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 64.36 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3401, allocations: 174.9 MB / 1.316 GB, free: 9.707 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04654/0.3866, allocations: 36.66 MB / 1.352 GB, free: 4.934 MB / 1.045 GB
Notification: Performance of NFInst.instExpressions: time 0.02179/0.4084, allocations: 11.95 MB / 1.363 GB, free: 8.953 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003114/0.4116, allocations: 206.5 kB / 1.364 GB, free: 8.75 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.01191/0.4235, allocations: 4.455 MB / 1.368 GB, free: 4.285 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.006262/0.4297, allocations: 2.088 MB / 1.37 GB, free: 2.188 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.007118/0.4368, allocations: 2.465 MB / 1.372 GB, free: 15.72 MB / 1.076 GB
Notification: Performance of NFFlatten.flatten: time 0.01241/0.4492, allocations: 8.461 MB / 1.381 GB, free: 7.238 MB / 1.076 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.01096/0.4602, allocations: 5.882 MB / 1.386 GB, free: 1.234 MB / 1.076 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006902/0.4671, allocations: 3.833 MB / 1.39 GB, free: 13.39 MB / 1.092 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.008071/0.4752, allocations: 4.428 MB / 1.395 GB, free: 8.945 MB / 1.092 GB
Notification: Performance of NFPackage.collectConstants: time 0.002867/0.478, allocations: 0.7812 MB / 1.395 GB, free: 8.164 MB / 1.092 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.00566/0.4837, allocations: 2.067 MB / 1.397 GB, free: 6.098 MB / 1.092 GB
Notification: Performance of NFScalarize.scalarize: time 0.005693/0.4894, allocations: 3.141 MB / 1.4 GB, free: 2.949 MB / 1.092 GB
Notification: Performance of NFVerifyModel.verify: time 0.00708/0.4965, allocations: 3.404 MB / 1.404 GB, free: 15.53 MB / 1.107 GB
Notification: Performance of NFConvertDAE.convert: time 0.01823/0.5147, allocations: 12 MB / 1.415 GB, free: 3.496 MB / 1.107 GB
Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.5147, allocations: 4 kB / 1.415 GB, free: 3.492 MB / 1.107 GB
Notification: Performance of FrontEnd: time 1.453e-06/0.5147, allocations: 3.938 kB / 1.415 GB, free: 3.488 MB / 1.107 GB
Notification: Performance of Transformations before backend: time 0.0003751/0.5151, allocations: 3.984 kB / 1.415 GB, free: 3.484 MB / 1.107 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1488
 * Number of variables: 1488
Notification: Performance of Generate backend data structure: time 0.01541/0.5305, allocations: 5.867 MB / 1.421 GB, free: 13.55 MB / 1.123 GB
Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.5305, allocations: 8.031 kB / 1.421 GB, free: 13.55 MB / 1.123 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006274/0.5368, allocations: 1.098 MB / 1.422 GB, free: 12.45 MB / 1.123 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.007827/0.5446, allocations: 3.407 MB / 1.426 GB, free: 8.969 MB / 1.123 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004266/0.5451, allocations: 419.5 kB / 1.426 GB, free: 8.559 MB / 1.123 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002082/0.5471, allocations: 0.5315 MB / 1.427 GB, free: 8.027 MB / 1.123 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02089/0.568, allocations: 9.083 MB / 1.435 GB, free: 14.62 MB / 1.139 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001746/0.5682, allocations: 35.77 kB / 1.435 GB, free: 14.59 MB / 1.139 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007565/0.569, allocations: 236 kB / 1.436 GB, free: 14.36 MB / 1.139 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004176/0.5694, allocations: 342.8 kB / 1.436 GB, free: 14.02 MB / 1.139 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01451/0.5839, allocations: 6.83 MB / 1.443 GB, free: 7.184 MB / 1.139 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0479/0.6318, allocations: 39.5 MB / 1.481 GB, free: 11.96 MB / 1.186 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003811/0.6356, allocations: 2.306 MB / 1.483 GB, free: 9.664 MB / 1.186 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00275/0.6384, allocations: 1.771 MB / 1.485 GB, free: 7.902 MB / 1.186 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.6385, allocations: 22 kB / 1.485 GB, free: 7.879 MB / 1.186 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/0.6385, allocations: 56.55 kB / 1.485 GB, free: 7.816 MB / 1.186 GB
Notification: Performance of pre-optimization done (n=179): time 3.987e-06/0.6385, allocations: 0 / 1.485 GB, free: 7.816 MB / 1.186 GB
Notification: Performance of matching and sorting (n=182): time 0.02486/0.6634, allocations: 9.686 MB / 1.495 GB, free: 14.11 MB / 1.201 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.6634, allocations: 73.34 kB / 1.495 GB, free: 14.03 MB / 1.201 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002372/0.6658, allocations: 1.526 MB / 1.496 GB, free: 12.46 MB / 1.201 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002295/0.666, allocations: 49.7 kB / 1.496 GB, free: 12.4 MB / 1.201 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001936/0.668, allocations: 2.327 MB / 1.499 GB, free: 10.05 MB / 1.201 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0007472/0.6687, allocations: 0.6662 MB / 1.499 GB, free: 9.379 MB / 1.201 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006777/0.6694, allocations: 412.1 kB / 1.5 GB, free: 8.969 MB / 1.201 GB
Notification: Performance of setup shared object (initialization): time 0.0001397/0.6695, allocations: 313.1 kB / 1.5 GB, free: 8.66 MB / 1.201 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001835/0.6714, allocations: 1.172 MB / 1.501 GB, free: 7.484 MB / 1.201 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002507/0.6739, allocations: 1.885 MB / 1.503 GB, free: 5.281 MB / 1.201 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.004723/0.6786, allocations: 3.367 MB / 1.506 GB, free: 1.602 MB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/0.6786, allocations: 8 kB / 1.506 GB, free: 1.594 MB / 1.201 GB
Notification: Performance of matching and sorting (n=285) (initialization): time 0.008587/0.6872, allocations: 4.539 MB / 1.511 GB, free: 13.03 MB / 1.217 GB
Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.6872, allocations: 16 kB / 1.511 GB, free: 13.02 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.301e-05/0.6873, allocations: 20 kB / 1.511 GB, free: 13 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.004124/0.6914, allocations: 1.586 MB / 1.512 GB, free: 11.4 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.6927, allocations: 355.3 kB / 1.513 GB, free: 11.05 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02624/0.719, allocations: 18.19 MB / 1.53 GB, free: 8.406 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001831/0.7208, allocations: 119.9 kB / 1.53 GB, free: 8.289 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/0.721, allocations: 92 kB / 1.531 GB, free: 8.199 MB / 1.232 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 (177):
 * Single equations (assignments): 173
 * 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
   {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.003325/0.7243, allocations: 1.895 MB / 1.532 GB, free: 6.293 MB / 1.232 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005172/0.7248, allocations: 234.5 kB / 1.533 GB, free: 6.062 MB / 1.232 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00749/0.7323, allocations: 4.044 MB / 1.537 GB, free: 1.992 MB / 1.232 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.025e-05/0.7324, allocations: 19.98 kB / 1.537 GB, free: 1.973 MB / 1.232 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.95e-05/0.7324, allocations: 20 kB / 1.537 GB, free: 1.953 MB / 1.232 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-05/0.7324, allocations: 7.969 kB / 1.537 GB, free: 1.945 MB / 1.232 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01716/0.7496, allocations: 9.398 MB / 1.546 GB, free: 8.301 MB / 1.248 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/0.7496, allocations: 4 kB / 1.546 GB, free: 8.297 MB / 1.248 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008606/0.7504, allocations: 187.7 kB / 1.546 GB, free: 8.113 MB / 1.248 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003701/0.7541, allocations: 1.356 MB / 1.547 GB, free: 6.75 MB / 1.248 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/0.7543, allocations: 36 kB / 1.547 GB, free: 6.715 MB / 1.248 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02435/0.7787, allocations: 16.97 MB / 1.564 GB, free: 5.289 MB / 1.264 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.739e-06/0.7787, allocations: 7.938 kB / 1.564 GB, free: 5.281 MB / 1.264 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007544/0.7862, allocations: 4.028 MB / 1.568 GB, free: 1.164 MB / 1.264 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001454/0.7877, allocations: 474.4 kB / 1.568 GB, free: 0.6992 MB / 1.264 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000331/0.788, allocations: 36.12 kB / 1.568 GB, free: 0.6641 MB / 1.264 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009448/0.789, allocations: 87.89 kB / 1.568 GB, free: 0.5781 MB / 1.264 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005127/0.7895, allocations: 173.5 kB / 1.569 GB, free: 416 kB / 1.264 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/0.7896, allocations: 48 kB / 1.569 GB, free: 368 kB / 1.264 GB
Notification: Performance of sorting global known variables: time 0.001572/0.7912, allocations: 1.005 MB / 1.57 GB, free: 15.33 MB / 1.279 GB
Notification: Performance of sort global known variables: time 9e-08/0.7912, allocations: 0 / 1.57 GB, free: 15.33 MB / 1.279 GB
Notification: Performance of remove unused functions: time 0.003478/0.7947, allocations: 0.9882 MB / 1.571 GB, free: 14.34 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 (85):
 * Single equations (assignments): 81
 * 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
   {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0002864/0.795, allocations: 149.1 kB / 1.571 GB, free: 14.18 MB / 1.279 GB
Notification: Performance of simCode: created initialization part: time 0.007391/0.8023, allocations: 4.178 MB / 1.575 GB, free: 9.953 MB / 1.279 GB
Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.8023, allocations: 0 / 1.575 GB, free: 9.953 MB / 1.279 GB
Notification: Performance of simCode: created simulation system equations: time 0.004646/0.807, allocations: 2.572 MB / 1.577 GB, free: 7.336 MB / 1.279 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003295/0.8103, allocations: 0.78 MB / 1.578 GB, free: 6.586 MB / 1.279 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/0.8264, allocations: 8.865 MB / 1.587 GB, free: 13.63 MB / 1.295 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005141/0.8315, allocations: 3.576 MB / 1.59 GB, free: 10.02 MB / 1.295 GB
Notification: Performance of simCode: alias equations: time 0.001434/0.8329, allocations: 467.8 kB / 1.591 GB, free: 9.559 MB / 1.295 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.8333, allocations: 115.4 kB / 1.591 GB, free: 9.445 MB / 1.295 GB
Notification: Performance of SimCode: time 8.72e-07/0.8333, allocations: 0 / 1.591 GB, free: 9.445 MB / 1.295 GB
Notification: Performance of Templates: time 0.7172/1.55, allocations: 46.81 MB / 1.637 GB, free: 270.1 MB / 1.311 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.077567624859512]