Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.001317/0.001317, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001467/0.001467, allocations: 190.7 kB / 22.22 MB, free: 5.102 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.444/1.444, allocations: 225.6 MB / 251 MB, free: 13.03 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.257/3.257, allocations: 496 MB / 0.7835 GB, free: 33.53 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.ACLine,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.ACLine")
translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,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.ACLine") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 66.58 kB / 1.138 GB, free: 33.81 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.454/0.4561, allocations: 173.6 MB / 1.307 GB, free: 1.805 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01983/0.4759, allocations: 14.59 MB / 1.322 GB, free: 3.16 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.01667/0.4925, allocations: 9.758 MB / 1.331 GB, free: 9.375 MB / 1.029 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.4943, allocations: 79.31 kB / 1.331 GB, free: 9.297 MB / 1.029 GB
Notification: Performance of NFTyping.typeComponents: time 0.005023/0.4993, allocations: 1.746 MB / 1.333 GB, free: 7.547 MB / 1.029 GB
Notification: Performance of NFTyping.typeBindings: time 0.005589/0.5049, allocations: 1.591 MB / 1.334 GB, free: 5.957 MB / 1.029 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002533/0.5074, allocations: 0.7639 MB / 1.335 GB, free: 5.191 MB / 1.029 GB
Notification: Performance of NFFlatten.flatten: time 0.004574/0.512, allocations: 2.517 MB / 1.338 GB, free: 2.664 MB / 1.029 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001848/0.5138, allocations: 0.9975 MB / 1.339 GB, free: 1.633 MB / 1.029 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.002111/0.5159, allocations: 1.09 MB / 1.34 GB, free: 0.5391 MB / 1.029 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002437/0.5184, allocations: 1.203 MB / 1.341 GB, free: 15.33 MB / 1.045 GB
Notification: Performance of NFPackage.collectConstants: time 0.0002963/0.5187, allocations: 168 kB / 1.341 GB, free: 15.17 MB / 1.045 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.5205, allocations: 0.8072 MB / 1.342 GB, free: 14.36 MB / 1.045 GB
Notification: Performance of NFScalarize.scalarize: time 0.0006945/0.5212, allocations: 0.6347 MB / 1.342 GB, free: 13.72 MB / 1.045 GB
Notification: Performance of NFVerifyModel.verify: time 0.00111/0.5223, allocations: 0.9368 MB / 1.343 GB, free: 12.78 MB / 1.045 GB
Notification: Performance of NFConvertDAE.convert: time 0.003972/0.5263, allocations: 2.771 MB / 1.346 GB, free: 10 MB / 1.045 GB
Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.5263, allocations: 4 kB / 1.346 GB, free: 9.996 MB / 1.045 GB
Notification: Performance of FrontEnd: time 1.863e-06/0.5263, allocations: 0 / 1.346 GB, free: 9.996 MB / 1.045 GB
Notification: Performance of Transformations before backend: time 5.631e-05/0.5264, allocations: 0 / 1.346 GB, free: 9.996 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.004688/0.5311, allocations: 2.116 MB / 1.348 GB, free: 7.84 MB / 1.045 GB
Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.5311, allocations: 16.84 kB / 1.348 GB, free: 7.824 MB / 1.045 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0108/0.5419, allocations: 2.094 MB / 1.35 GB, free: 5.727 MB / 1.045 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003426/0.5453, allocations: 1.219 MB / 1.351 GB, free: 4.457 MB / 1.045 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.886e-05/0.5454, allocations: 90.72 kB / 1.351 GB, free: 4.367 MB / 1.045 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.00032/0.5457, allocations: 124.1 kB / 1.352 GB, free: 4.246 MB / 1.045 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.006216/0.552, allocations: 2.675 MB / 1.354 GB, free: 1.422 MB / 1.045 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.274e-05/0.552, allocations: 7.953 kB / 1.354 GB, free: 1.414 MB / 1.045 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001732/0.5522, allocations: 55.98 kB / 1.354 GB, free: 1.359 MB / 1.045 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005932/0.5528, allocations: 182.1 kB / 1.354 GB, free: 1.18 MB / 1.045 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007604/0.5604, allocations: 2.799 MB / 1.357 GB, free: 14.37 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01773/0.5781, allocations: 10.36 MB / 1.367 GB, free: 3.445 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.006424/0.5845, allocations: 2.218 MB / 1.369 GB, free: 1.215 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003/0.5875, allocations: 1.21 MB / 1.371 GB, free: 0 / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.758e-05/0.5876, allocations: 13.05 kB / 1.371 GB, free: 15.98 MB / 1.076 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.485e-05/0.5877, allocations: 39.56 kB / 1.371 GB, free: 15.94 MB / 1.076 GB
Notification: Performance of pre-optimization done (n=89): time 3.517e-06/0.5877, allocations: 0 / 1.371 GB, free: 15.94 MB / 1.076 GB
Notification: Performance of matching and sorting (n=131): time 0.04439/0.6321, allocations: 12.68 MB / 1.383 GB, free: 3.211 MB / 1.076 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.6321, allocations: 64.72 kB / 1.383 GB, free: 3.137 MB / 1.076 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001746/0.6339, allocations: 1.117 MB / 1.384 GB, free: 2.004 MB / 1.076 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002415/0.6341, allocations: 45.7 kB / 1.384 GB, free: 1.953 MB / 1.076 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006727/0.6348, allocations: 0.7248 MB / 1.385 GB, free: 1.223 MB / 1.076 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0005361/0.6353, allocations: 475.9 kB / 1.385 GB, free: 0.7539 MB / 1.076 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005301/0.6359, allocations: 267.5 kB / 1.386 GB, free: 496 kB / 1.076 GB
Notification: Performance of setup shared object (initialization): time 0.0001985/0.6361, allocations: 365.9 kB / 1.386 GB, free: 124 kB / 1.076 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003242/0.6393, allocations: 1.339 MB / 1.387 GB, free: 14.78 MB / 1.092 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003509/0.6428, allocations: 1.6 MB / 1.389 GB, free: 13.08 MB / 1.092 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00685/0.6497, allocations: 2.994 MB / 1.392 GB, free: 9.988 MB / 1.092 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.6497, allocations: 4 kB / 1.392 GB, free: 9.984 MB / 1.092 GB
Notification: Performance of matching and sorting (n=168) (initialization): time 0.01153/0.6612, allocations: 4.408 MB / 1.396 GB, free: 5.523 MB / 1.092 GB
Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.6612, allocations: 8 kB / 1.396 GB, free: 5.516 MB / 1.092 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.6612, allocations: 4 kB / 1.396 GB, free: 5.512 MB / 1.092 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.005418/0.6667, allocations: 1.428 MB / 1.397 GB, free: 4.043 MB / 1.092 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/0.6687, allocations: 443.2 kB / 1.398 GB, free: 3.609 MB / 1.092 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03059/0.6993, allocations: 25.38 MB / 1.423 GB, free: 8.738 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/0.7018, allocations: 303.5 kB / 1.423 GB, free: 8.441 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.702, allocations: 67.89 kB / 1.423 GB, free: 8.375 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 (99):
 * Single equations (assignments): 86
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 13
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 13 systems
   {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0008813/0.7029, allocations: 444.6 kB / 1.423 GB, free: 7.934 MB / 1.123 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000338/0.7032, allocations: 167 kB / 1.424 GB, free: 7.77 MB / 1.123 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/0.7148, allocations: 4.406 MB / 1.428 GB, free: 3.309 MB / 1.123 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-05/0.7149, allocations: 16 kB / 1.428 GB, free: 3.293 MB / 1.123 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.939e-05/0.7149, allocations: 12 kB / 1.428 GB, free: 3.281 MB / 1.123 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.7149, allocations: 7.969 kB / 1.428 GB, free: 3.273 MB / 1.123 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01584/0.7308, allocations: 6.696 MB / 1.434 GB, free: 12.41 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.7308, allocations: 0 / 1.434 GB, free: 12.41 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/0.7325, allocations: 379.7 kB / 1.435 GB, free: 12.04 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.005024/0.7375, allocations: 1.295 MB / 1.436 GB, free: 10.71 MB / 1.139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002109/0.7377, allocations: 51.94 kB / 1.436 GB, free: 10.66 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03011/0.7678, allocations: 24.18 MB / 1.46 GB, free: 0.9766 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.7678, allocations: 4 kB / 1.46 GB, free: 0.9727 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/0.779, allocations: 4.16 MB / 1.464 GB, free: 12.71 MB / 1.17 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.7801, allocations: 390.7 kB / 1.464 GB, free: 12.33 MB / 1.17 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/0.7804, allocations: 27.94 kB / 1.464 GB, free: 12.3 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001967/0.7823, allocations: 307.5 kB / 1.465 GB, free: 12 MB / 1.17 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004902/0.7828, allocations: 133.1 kB / 1.465 GB, free: 11.88 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001271/0.7829, allocations: 47.97 kB / 1.465 GB, free: 11.83 MB / 1.17 GB
Notification: Performance of sorting global known variables: time 0.001164/0.7841, allocations: 0.7526 MB / 1.465 GB, free: 11.07 MB / 1.17 GB
Notification: Performance of sort global known variables: time 9e-08/0.7841, allocations: 0 / 1.465 GB, free: 11.07 MB / 1.17 GB
Notification: Performance of remove unused functions: time 0.002138/0.7863, allocations: 0.5703 MB / 1.466 GB, free: 10.5 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 (67):
 * Single equations (assignments): 54
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 13
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 13 systems
   {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003233/0.7866, allocations: 147 kB / 1.466 GB, free: 10.35 MB / 1.17 GB
Notification: Performance of simCode: created initialization part: time 0.01129/0.7979, allocations: 4.962 MB / 1.471 GB, free: 5.215 MB / 1.17 GB
Notification: Performance of simCode: created event and clocks part: time 7.695e-06/0.7979, allocations: 0 / 1.471 GB, free: 5.215 MB / 1.17 GB
Notification: Performance of simCode: created simulation system equations: time 0.00728/0.8052, allocations: 3.421 MB / 1.474 GB, free: 1.629 MB / 1.17 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.8077, allocations: 0.5547 MB / 1.475 GB, free: 1.09 MB / 1.17 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009052/0.8168, allocations: 4.068 MB / 1.479 GB, free: 12.97 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.8182, allocations: 1.473 MB / 1.48 GB, free: 11.46 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.001689/0.8199, allocations: 425.6 kB / 1.481 GB, free: 11.04 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004276/0.8203, allocations: 119.4 kB / 1.481 GB, free: 10.93 MB / 1.186 GB
Notification: Performance of SimCode: time 1.873e-06/0.8203, allocations: 0 / 1.481 GB, free: 10.93 MB / 1.186 GB
Notification: Performance of Templates: time 0.07761/0.8979, allocations: 40.75 MB / 1.521 GB, free: 2.602 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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: 10.662797190248966]