Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001704/0.001704, 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.002041/0.002041, 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.474/1.474, allocations: 225.6 MB / 251 MB, free: 13.02 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.214/3.214, allocations: 496 MB / 0.7835 GB, free: 33.65 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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium")
translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 65.08 kB / 1.138 GB, free: 33.84 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3705, allocations: 173.6 MB / 1.307 GB, free: 1.82 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02068/0.3912, allocations: 15.33 MB / 1.322 GB, free: 2.43 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.01836/0.4095, allocations: 10.71 MB / 1.333 GB, free: 7.684 MB / 1.029 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001623/0.4111, allocations: 83.31 kB / 1.333 GB, free: 7.602 MB / 1.029 GB
Notification: Performance of NFTyping.typeComponents: time 0.004741/0.4159, allocations: 1.766 MB / 1.335 GB, free: 5.832 MB / 1.029 GB
Notification: Performance of NFTyping.typeBindings: time 0.005493/0.4214, allocations: 1.855 MB / 1.336 GB, free: 3.977 MB / 1.029 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002198/0.4236, allocations: 0.7631 MB / 1.337 GB, free: 3.215 MB / 1.029 GB
Notification: Performance of NFFlatten.flatten: time 0.004554/0.4281, allocations: 2.77 MB / 1.34 GB, free: 444 kB / 1.029 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001862/0.43, allocations: 1.009 MB / 1.341 GB, free: 15.39 MB / 1.045 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.002853/0.4328, allocations: 1.547 MB / 1.342 GB, free: 13.84 MB / 1.045 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002561/0.4354, allocations: 1.238 MB / 1.343 GB, free: 12.6 MB / 1.045 GB
Notification: Performance of NFPackage.collectConstants: time 0.0004049/0.4358, allocations: 160 kB / 1.344 GB, free: 12.44 MB / 1.045 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001879/0.4377, allocations: 0.7994 MB / 1.344 GB, free: 11.64 MB / 1.045 GB
Notification: Performance of NFScalarize.scalarize: time 0.0007533/0.4384, allocations: 0.623 MB / 1.345 GB, free: 11.02 MB / 1.045 GB
Notification: Performance of NFVerifyModel.verify: time 0.001326/0.4398, allocations: 0.9522 MB / 1.346 GB, free: 10.06 MB / 1.045 GB
Notification: Performance of NFConvertDAE.convert: time 0.004111/0.4439, allocations: 2.779 MB / 1.349 GB, free: 7.27 MB / 1.045 GB
Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.4439, allocations: 0 / 1.349 GB, free: 7.27 MB / 1.045 GB
Notification: Performance of FrontEnd: time 1.583e-06/0.4439, allocations: 0 / 1.349 GB, free: 7.27 MB / 1.045 GB
Notification: Performance of Transformations before backend: time 6.507e-05/0.4439, allocations: 0 / 1.349 GB, free: 7.27 MB / 1.045 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 327
 * Number of variables: 327
Notification: Performance of Generate backend data structure: time 0.004891/0.4488, allocations: 2.151 MB / 1.351 GB, free: 5.078 MB / 1.045 GB
Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.4489, allocations: 12.92 kB / 1.351 GB, free: 5.066 MB / 1.045 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01129/0.4602, allocations: 2.117 MB / 1.353 GB, free: 2.945 MB / 1.045 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003381/0.4636, allocations: 1.232 MB / 1.354 GB, free: 1.664 MB / 1.045 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.471e-05/0.4637, allocations: 82.69 kB / 1.354 GB, free: 1.582 MB / 1.045 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000339/0.464, allocations: 124.1 kB / 1.354 GB, free: 1.461 MB / 1.045 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.006344/0.4703, allocations: 2.682 MB / 1.357 GB, free: 14.63 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.79e-05/0.4704, allocations: 7.953 kB / 1.357 GB, free: 14.62 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/0.4706, allocations: 51.97 kB / 1.357 GB, free: 14.57 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006458/0.4712, allocations: 198.1 kB / 1.357 GB, free: 14.38 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008065/0.4793, allocations: 2.791 MB / 1.36 GB, free: 11.57 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01791/0.4972, allocations: 10.35 MB / 1.37 GB, free: 0.6602 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.006459/0.5036, allocations: 2.195 MB / 1.372 GB, free: 14.45 MB / 1.076 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003158/0.5068, allocations: 1.202 MB / 1.373 GB, free: 13.25 MB / 1.076 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.959e-05/0.5069, allocations: 13 kB / 1.373 GB, free: 13.24 MB / 1.076 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/0.5069, allocations: 43.56 kB / 1.373 GB, free: 13.18 MB / 1.076 GB
Notification: Performance of pre-optimization done (n=89): time 3.236e-06/0.5069, allocations: 0 / 1.373 GB, free: 13.18 MB / 1.076 GB
Notification: Performance of matching and sorting (n=153): time 0.05967/0.5666, allocations: 15.99 MB / 1.389 GB, free: 13.15 MB / 1.092 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.565e-05/0.5667, allocations: 68.72 kB / 1.389 GB, free: 13.07 MB / 1.092 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001825/0.5685, allocations: 1.172 MB / 1.39 GB, free: 11.88 MB / 1.092 GB
Notification: Performance of collectPreVariables (initialization): time 0.000246/0.5687, allocations: 53.7 kB / 1.39 GB, free: 11.82 MB / 1.092 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006675/0.5694, allocations: 0.7606 MB / 1.391 GB, free: 11.06 MB / 1.092 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0005944/0.57, allocations: 0.5383 MB / 1.391 GB, free: 10.52 MB / 1.092 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005911/0.5706, allocations: 291.5 kB / 1.392 GB, free: 10.23 MB / 1.092 GB
Notification: Performance of setup shared object (initialization): time 0.0001355/0.5707, allocations: 305.1 kB / 1.392 GB, free: 9.926 MB / 1.092 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003589/0.5743, allocations: 1.503 MB / 1.394 GB, free: 8.422 MB / 1.092 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00383/0.5782, allocations: 1.791 MB / 1.395 GB, free: 6.535 MB / 1.092 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007424/0.5856, allocations: 3.362 MB / 1.399 GB, free: 3.078 MB / 1.092 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.5856, allocations: 0 / 1.399 GB, free: 3.078 MB / 1.092 GB
Notification: Performance of matching and sorting (n=190) (initialization): time 0.02059/0.6062, allocations: 5.211 MB / 1.404 GB, free: 13.82 MB / 1.107 GB
Notification: Performance of prepare postOptimizeDAE: time 4.599e-05/0.6062, allocations: 8 kB / 1.404 GB, free: 13.82 MB / 1.107 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.6062, allocations: 8 kB / 1.404 GB, free: 13.81 MB / 1.107 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01131/0.6176, allocations: 1.888 MB / 1.405 GB, free: 11.9 MB / 1.107 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003656/0.6212, allocations: 411.3 kB / 1.406 GB, free: 11.5 MB / 1.107 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06106/0.6823, allocations: 23.34 MB / 1.429 GB, free: 3.246 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005237/0.6875, allocations: 303.5 kB / 1.429 GB, free: 2.949 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004049/0.6879, allocations: 63.97 kB / 1.429 GB, free: 2.887 MB / 1.123 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 31
 * 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 (82):
 * 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: 8
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 8 systems
   {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001692/0.6896, allocations: 474.2 kB / 1.429 GB, free: 2.414 MB / 1.123 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007543/0.6904, allocations: 182.9 kB / 1.43 GB, free: 2.234 MB / 1.123 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02739/0.7177, allocations: 5.249 MB / 1.435 GB, free: 12.93 MB / 1.139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.11e-05/0.7178, allocations: 16 kB / 1.435 GB, free: 12.91 MB / 1.139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.707e-05/0.7178, allocations: 23.94 kB / 1.435 GB, free: 12.89 MB / 1.139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.953e-05/0.7179, allocations: 7.969 kB / 1.435 GB, free: 12.88 MB / 1.139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0363/0.7542, allocations: 7.324 MB / 1.442 GB, free: 5.445 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-05/0.7542, allocations: 8.031 kB / 1.442 GB, free: 5.438 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003589/0.7578, allocations: 355.3 kB / 1.442 GB, free: 5.09 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.01303/0.7708, allocations: 1.698 MB / 1.444 GB, free: 3.371 MB / 1.139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004778/0.7713, allocations: 43.95 kB / 1.444 GB, free: 3.328 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05942/0.8307, allocations: 22.5 MB / 1.466 GB, free: 11.92 MB / 1.17 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/0.8308, allocations: 12.09 kB / 1.466 GB, free: 11.91 MB / 1.17 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02612/0.8569, allocations: 4.829 MB / 1.471 GB, free: 6.992 MB / 1.17 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.00251/0.8594, allocations: 430.6 kB / 1.471 GB, free: 6.57 MB / 1.17 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006012/0.86, allocations: 28 kB / 1.471 GB, free: 6.543 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004408/0.8644, allocations: 315.5 kB / 1.471 GB, free: 6.234 MB / 1.17 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001022/0.8654, allocations: 165 kB / 1.472 GB, free: 6.07 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003081/0.8657, allocations: 59.95 kB / 1.472 GB, free: 6.012 MB / 1.17 GB
Notification: Performance of sorting global known variables: time 0.002316/0.868, allocations: 0.7899 MB / 1.472 GB, free: 5.223 MB / 1.17 GB
Notification: Performance of sort global known variables: time 2.21e-07/0.868, allocations: 0 / 1.472 GB, free: 5.223 MB / 1.17 GB
Notification: Performance of remove unused functions: time 0.004035/0.8721, allocations: 0.6562 MB / 1.473 GB, free: 4.566 MB / 1.17 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 12
 * 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 (46):
 * Single equations (assignments): 38
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 8
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 8 systems
   {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0005361/0.8726, allocations: 147.1 kB / 1.473 GB, free: 4.414 MB / 1.17 GB
Notification: Performance of simCode: created initialization part: time 0.02315/0.8958, allocations: 4.924 MB / 1.478 GB, free: 15.38 MB / 1.186 GB
Notification: Performance of simCode: created event and clocks part: time 1.139e-05/0.8958, allocations: 0 / 1.478 GB, free: 15.38 MB / 1.186 GB
Notification: Performance of simCode: created simulation system equations: time 0.01461/0.9104, allocations: 3.265 MB / 1.481 GB, free: 12.02 MB / 1.186 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004823/0.9152, allocations: 0.5652 MB / 1.482 GB, free: 11.47 MB / 1.186 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01753/0.9327, allocations: 4.351 MB / 1.486 GB, free: 7.059 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002384/0.9351, allocations: 1.564 MB / 1.488 GB, free: 5.457 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.002824/0.9379, allocations: 382.4 kB / 1.488 GB, free: 5.078 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007093/0.9386, allocations: 111.4 kB / 1.488 GB, free: 4.969 MB / 1.186 GB
Notification: Performance of SimCode: time 1.302e-06/0.9386, allocations: 0 / 1.488 GB, free: 4.969 MB / 1.186 GB
Notification: Performance of Templates: time 0.1475/1.086, allocations: 47.11 MB / 1.534 GB, free: 6.312 MB / 1.232 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.09078028332442]