Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001909/0.001909, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002332/0.002332, allocations: 189.3 kB / 22.1 MB, free: 4.234 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.512/1.512, allocations: 225.6 MB / 250.8 MB, free: 2.898 MB / 190.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 2.909/2.909, allocations: 495.8 MB / 0.7831 GB, free: 12.23 MB / 0.6231 GB
"
[Timeout remaining time 176]
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_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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002018/0.002018, allocations: 63.89 kB / 1.137 GB, free: 12.16 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.074/1.076, allocations: 173.6 MB / 1.307 GB, free: 33.75 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.05623/1.133, allocations: 39.48 MB / 1.345 GB, free: 7.797 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.02832/1.161, allocations: 11.37 MB / 1.356 GB, free: 120 kB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.006077/1.167, allocations: 200.4 kB / 1.357 GB, free: 28 kB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.02019/1.187, allocations: 4.561 MB / 1.361 GB, free: 13.35 MB / 1.076 GB
Notification: Performance of NFTyping.typeBindings: time 0.01191/1.199, allocations: 2.338 MB / 1.363 GB, free: 11.88 MB / 1.076 GB
Notification: Performance of NFTyping.typeClassSections: time 0.01094/1.21, allocations: 2.239 MB / 1.366 GB, free: 10.58 MB / 1.076 GB
Notification: Performance of NFFlatten.flatten: time 0.01704/1.227, allocations: 9.291 MB / 1.375 GB, free: 6.344 MB / 1.076 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.01238/1.239, allocations: 5.968 MB / 1.38 GB, free: 3.336 MB / 1.076 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.009456/1.249, allocations: 4.093 MB / 1.384 GB, free: 1.477 MB / 1.076 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.01038/1.259, allocations: 4.759 MB / 1.389 GB, free: 15.51 MB / 1.092 GB
Notification: Performance of NFPackage.collectConstants: time 0.00325/1.263, allocations: 0.8261 MB / 1.39 GB, free: 15.51 MB / 1.092 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.005877/1.268, allocations: 1.501 MB / 1.391 GB, free: 15.26 MB / 1.092 GB
Notification: Performance of NFScalarize.scalarize: time 0.006481/1.275, allocations: 3.237 MB / 1.395 GB, free: 13.84 MB / 1.092 GB
Notification: Performance of NFVerifyModel.verify: time 0.01042/1.285, allocations: 3.653 MB / 1.398 GB, free: 11.5 MB / 1.092 GB
Notification: Performance of NFConvertDAE.convert: time 0.02111/1.306, allocations: 12.33 MB / 1.41 GB, free: 5.344 MB / 1.092 GB
Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/1.306, allocations: 1.344 kB / 1.41 GB, free: 5.344 MB / 1.092 GB
Notification: Performance of FrontEnd: time 1.633e-06/1.306, allocations: 0 / 1.41 GB, free: 5.344 MB / 1.092 GB
Notification: Performance of Transformations before backend: time 0.0004437/1.307, allocations: 0 / 1.41 GB, free: 5.344 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: 1524
 * Number of variables: 1524
Notification: Performance of Generate backend data structure: time 0.02391/1.331, allocations: 6.398 MB / 1.416 GB, free: 1.152 MB / 1.092 GB
Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/1.331, allocations: 8.094 kB / 1.416 GB, free: 1.152 MB / 1.092 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007761/1.339, allocations: 1.101 MB / 1.417 GB, free: 0.6133 MB / 1.092 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01151/1.35, allocations: 3.571 MB / 1.421 GB, free: 14.38 MB / 1.107 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006453/1.351, allocations: 419.6 kB / 1.421 GB, free: 14.19 MB / 1.107 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002867/1.354, allocations: 0.5418 MB / 1.422 GB, free: 14 MB / 1.107 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02724/1.381, allocations: 9.387 MB / 1.431 GB, free: 8.25 MB / 1.107 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0003029/1.381, allocations: 23.77 kB / 1.431 GB, free: 8.234 MB / 1.107 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002365/1.384, allocations: 244.5 kB / 1.431 GB, free: 8.055 MB / 1.107 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001041/1.385, allocations: 422 kB / 1.432 GB, free: 7.953 MB / 1.107 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01985/1.404, allocations: 7.13 MB / 1.439 GB, free: 1.344 MB / 1.107 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05999/1.464, allocations: 40.56 MB / 1.478 GB, free: 5.031 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.005558/1.47, allocations: 2.913 MB / 1.481 GB, free: 2.121 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003416/1.473, allocations: 1.937 MB / 1.483 GB, free: 184 kB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/1.474, allocations: 22 kB / 1.483 GB, free: 160 kB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.883e-05/1.474, allocations: 60.56 kB / 1.483 GB, free: 92 kB / 1.154 GB
Notification: Performance of pre-optimization done (n=209): time 3.857e-06/1.474, allocations: 0 / 1.483 GB, free: 92 kB / 1.154 GB
Notification: Performance of matching and sorting (n=212): time 0.02859/1.502, allocations: 10.27 MB / 1.493 GB, free: 5.809 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.567e-05/1.502, allocations: 73.41 kB / 1.493 GB, free: 5.723 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003765/1.506, allocations: 2.013 MB / 1.495 GB, free: 3.691 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 0.0003444/1.506, allocations: 65.7 kB / 1.495 GB, free: 3.621 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002151/1.509, allocations: 2.474 MB / 1.498 GB, free: 1.121 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001133/1.51, allocations: 0.7669 MB / 1.498 GB, free: 356 kB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001307/1.511, allocations: 477.5 kB / 1.499 GB, free: 15.87 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0001422/1.511, allocations: 301.1 kB / 1.499 GB, free: 15.57 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002553/1.514, allocations: 1.376 MB / 1.5 GB, free: 14.2 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003343/1.517, allocations: 2.108 MB / 1.503 GB, free: 11.77 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005926/1.523, allocations: 3.766 MB / 1.506 GB, free: 7.695 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.983e-05/1.523, allocations: 11.94 kB / 1.506 GB, free: 7.684 MB / 1.186 GB
Notification: Performance of matching and sorting (n=339) (initialization): time 0.01017/1.533, allocations: 5.034 MB / 1.511 GB, free: 2.625 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/1.533, allocations: 19.94 kB / 1.511 GB, free: 2.605 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.285e-05/1.533, allocations: 20 kB / 1.511 GB, free: 2.586 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.004037/1.537, allocations: 1.587 MB / 1.513 GB, free: 0.9922 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001869/1.539, allocations: 451.2 kB / 1.513 GB, free: 0.5508 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02652/1.566, allocations: 18.19 MB / 1.531 GB, free: 13.91 MB / 1.217 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/1.568, allocations: 147.9 kB / 1.531 GB, free: 13.77 MB / 1.217 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004918/1.569, allocations: 107.9 kB / 1.531 GB, free: 13.66 MB / 1.217 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.00403/1.573, allocations: 1.949 MB / 1.533 GB, free: 11.7 MB / 1.217 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007179/1.574, allocations: 298.4 kB / 1.533 GB, free: 11.41 MB / 1.217 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008065/1.582, allocations: 4.404 MB / 1.538 GB, free: 6.969 MB / 1.217 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.08e-05/1.582, allocations: 24 kB / 1.538 GB, free: 6.945 MB / 1.217 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.1e-05/1.582, allocations: 16 kB / 1.538 GB, free: 6.93 MB / 1.217 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/1.582, allocations: 11.95 kB / 1.538 GB, free: 6.918 MB / 1.217 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01768/1.6, allocations: 9.597 MB / 1.547 GB, free: 13.18 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.364e-05/1.6, allocations: 4.062 kB / 1.547 GB, free: 13.18 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/1.601, allocations: 239.6 kB / 1.547 GB, free: 12.95 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003625/1.604, allocations: 1.426 MB / 1.549 GB, free: 11.51 MB / 1.232 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001793/1.604, allocations: 43.92 kB / 1.549 GB, free: 11.47 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02727/1.632, allocations: 18.17 MB / 1.566 GB, free: 8.84 MB / 1.248 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/1.632, allocations: 11.92 kB / 1.566 GB, free: 8.828 MB / 1.248 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008421/1.64, allocations: 4.507 MB / 1.571 GB, free: 4.23 MB / 1.248 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001855/1.642, allocations: 0.5722 MB / 1.571 GB, free: 3.656 MB / 1.248 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005035/1.642, allocations: 40 kB / 1.571 GB, free: 3.617 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/1.644, allocations: 119.8 kB / 1.572 GB, free: 3.5 MB / 1.248 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000601/1.645, allocations: 189.5 kB / 1.572 GB, free: 3.316 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/1.645, allocations: 60 kB / 1.572 GB, free: 3.258 MB / 1.248 GB
Notification: Performance of sorting global known variables: time 0.002109/1.647, allocations: 1.315 MB / 1.573 GB, free: 1.934 MB / 1.248 GB
Notification: Performance of sort global known variables: time 1.1e-07/1.647, allocations: 4 kB / 1.573 GB, free: 1.93 MB / 1.248 GB
Notification: Performance of remove unused functions: time 0.004254/1.651, allocations: 1.141 MB / 1.574 GB, free: 0.7891 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 (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.0003803/1.651, allocations: 159 kB / 1.574 GB, free: 0.625 MB / 1.248 GB
Notification: Performance of simCode: created initialization part: time 0.008269/1.66, allocations: 4.544 MB / 1.579 GB, free: 12.04 MB / 1.264 GB
Notification: Performance of simCode: created event and clocks part: time 1.12e-05/1.66, allocations: 7.938 kB / 1.579 GB, free: 12.03 MB / 1.264 GB
Notification: Performance of simCode: created simulation system equations: time 0.005166/1.665, allocations: 2.792 MB / 1.582 GB, free: 9.184 MB / 1.264 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004444/1.669, allocations: 0.8865 MB / 1.582 GB, free: 8.312 MB / 1.264 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02069/1.69, allocations: 9.569 MB / 1.592 GB, free: 14.66 MB / 1.279 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006081/1.696, allocations: 3.698 MB / 1.595 GB, free: 10.92 MB / 1.279 GB
Notification: Performance of simCode: alias equations: time 0.00217/1.698, allocations: 0.5479 MB / 1.596 GB, free: 10.37 MB / 1.279 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004888/1.699, allocations: 151.4 kB / 1.596 GB, free: 10.22 MB / 1.279 GB
Notification: Performance of SimCode: time 1.122e-06/1.699, allocations: 0 / 1.596 GB, free: 10.22 MB / 1.279 GB
Notification: Performance of Templates: time 0.1054/1.804, allocations: 54.15 MB / 1.649 GB, free: 4.773 MB / 1.326 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.489465832710266]