Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.001904/0.001904, allocations: 105.8 kB / 18.84 MB, free: 3.043 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.002326/0.002326, allocations: 191.4 kB / 22.11 MB, free: 5.152 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.482/1.482, allocations: 225.6 MB / 250.8 MB, free: 13.09 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.231/3.231, allocations: 495.8 MB / 0.783 GB, free: 33.7 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002024/0.002024, allocations: 72.94 kB / 1.137 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3062, allocations: 173.6 MB / 1.307 GB, free: 1.867 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03902/0.3453, allocations: 31.9 MB / 1.338 GB, free: 1.859 MB / 1.029 GB
Notification: Performance of NFInst.instExpressions: time 0.02312/0.3684, allocations: 13.91 MB / 1.351 GB, free: 3.914 MB / 1.045 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003151/0.3715, allocations: 190.5 kB / 1.352 GB, free: 3.727 MB / 1.045 GB
Notification: Performance of NFTyping.typeComponents: time 0.00935/0.3809, allocations: 3.333 MB / 1.355 GB, free: 396 kB / 1.045 GB
Notification: Performance of NFTyping.typeBindings: time 0.008105/0.389, allocations: 2.778 MB / 1.358 GB, free: 13.59 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.005891/0.3949, allocations: 2.072 MB / 1.36 GB, free: 11.52 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.01101/0.4059, allocations: 7.629 MB / 1.367 GB, free: 3.867 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.007156/0.413, allocations: 4.263 MB / 1.371 GB, free: 15.49 MB / 1.076 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006098/0.4191, allocations: 3.51 MB / 1.375 GB, free: 11.97 MB / 1.076 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.006313/0.4254, allocations: 3.57 MB / 1.378 GB, free: 8.387 MB / 1.076 GB
Notification: Performance of NFPackage.collectConstants: time 0.001741/0.4272, allocations: 0.5976 MB / 1.379 GB, free: 7.789 MB / 1.076 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.003631/0.4308, allocations: 1.4 MB / 1.38 GB, free: 6.387 MB / 1.076 GB
Notification: Performance of NFScalarize.scalarize: time 0.00343/0.4342, allocations: 2.424 MB / 1.383 GB, free: 3.957 MB / 1.076 GB
Notification: Performance of NFVerifyModel.verify: time 0.00503/0.4393, allocations: 2.89 MB / 1.385 GB, free: 1.055 MB / 1.076 GB
Notification: Performance of NFConvertDAE.convert: time 0.01298/0.4523, allocations: 9.48 MB / 1.395 GB, free: 7.543 MB / 1.092 GB
Notification: Performance of FrontEnd - DAE generated: time 9.077e-06/0.4523, allocations: 4 kB / 1.395 GB, free: 7.539 MB / 1.092 GB
Notification: Performance of FrontEnd: time 2.295e-06/0.4523, allocations: 0 / 1.395 GB, free: 7.539 MB / 1.092 GB
Notification: Performance of Transformations before backend: time 0.0002891/0.4526, allocations: 0 / 1.395 GB, free: 7.539 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: 1133
 * Number of variables: 1133
Notification: Performance of Generate backend data structure: time 0.01358/0.4661, allocations: 5.19 MB / 1.4 GB, free: 2.285 MB / 1.092 GB
Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.4662, allocations: 8.031 kB / 1.4 GB, free: 2.277 MB / 1.092 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006468/0.4726, allocations: 1.024 MB / 1.401 GB, free: 1.25 MB / 1.092 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00844/0.4811, allocations: 3.025 MB / 1.404 GB, free: 14.13 MB / 1.107 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/0.4814, allocations: 312.8 kB / 1.404 GB, free: 13.82 MB / 1.107 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001819/0.4832, allocations: 424 kB / 1.404 GB, free: 13.41 MB / 1.107 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01562/0.4989, allocations: 6.787 MB / 1.411 GB, free: 6.328 MB / 1.107 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001997/0.4991, allocations: 23.83 kB / 1.411 GB, free: 6.305 MB / 1.107 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001113/0.5002, allocations: 184 kB / 1.411 GB, free: 6.125 MB / 1.107 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001044/0.5012, allocations: 372 kB / 1.412 GB, free: 5.758 MB / 1.107 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01174/0.513, allocations: 5.11 MB / 1.416 GB, free: 0.6289 MB / 1.107 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04226/0.5552, allocations: 30.16 MB / 1.446 GB, free: 15.7 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.5576, allocations: 1.324 MB / 1.447 GB, free: 14.36 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001916/0.5596, allocations: 1.246 MB / 1.448 GB, free: 13.12 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.317e-05/0.5596, allocations: 13.31 kB / 1.448 GB, free: 13.1 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/0.5597, allocations: 47.88 kB / 1.449 GB, free: 13.05 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=130): time 3.005e-06/0.5597, allocations: 0 / 1.449 GB, free: 13.05 MB / 1.154 GB
Notification: Performance of matching and sorting (n=199): time 0.09623/0.6559, allocations: 22.86 MB / 1.471 GB, free: 6.129 MB / 1.17 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.656, allocations: 81.41 kB / 1.471 GB, free: 6.035 MB / 1.17 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003186/0.6592, allocations: 2.059 MB / 1.473 GB, free: 3.961 MB / 1.17 GB
Notification: Performance of collectPreVariables (initialization): time 0.0003309/0.6595, allocations: 61.69 kB / 1.473 GB, free: 3.895 MB / 1.17 GB
Notification: Performance of collectInitialEqns (initialization): time 0.00185/0.6614, allocations: 2.063 MB / 1.475 GB, free: 1.812 MB / 1.17 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001123/0.6625, allocations: 0.7087 MB / 1.476 GB, free: 1.098 MB / 1.17 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009209/0.6634, allocations: 416.4 kB / 1.476 GB, free: 0.6836 MB / 1.17 GB
Notification: Performance of setup shared object (initialization): time 0.0001475/0.6636, allocations: 305.1 kB / 1.476 GB, free: 392 kB / 1.17 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002405/0.666, allocations: 1.426 MB / 1.478 GB, free: 14.95 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002765/0.6687, allocations: 2.017 MB / 1.48 GB, free: 12.69 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005378/0.6741, allocations: 3.696 MB / 1.483 GB, free: 8.754 MB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/0.6741, allocations: 4 kB / 1.483 GB, free: 8.75 MB / 1.186 GB
Notification: Performance of matching and sorting (n=294) (initialization): time 0.01228/0.6864, allocations: 5.6 MB / 1.489 GB, free: 3.082 MB / 1.186 GB
Notification: Performance of prepare postOptimizeDAE: time 3.499e-05/0.6864, allocations: 13.09 kB / 1.489 GB, free: 3.07 MB / 1.186 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/0.6865, allocations: 16 kB / 1.489 GB, free: 3.055 MB / 1.186 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.007405/0.6939, allocations: 2.08 MB / 1.491 GB, free: 0.918 MB / 1.186 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001663/0.6955, allocations: 375.4 kB / 1.491 GB, free: 0.5508 MB / 1.186 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04404/0.7396, allocations: 36.62 MB / 1.527 GB, free: 9.859 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002855/0.7424, allocations: 123.9 kB / 1.527 GB, free: 9.738 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003036/0.7427, allocations: 95.98 kB / 1.527 GB, free: 9.645 MB / 1.232 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 78
 * 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 (204):
 * Single equations (assignments): 186
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 18
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 18 systems
   {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.002908/0.7456, allocations: 1.513 MB / 1.529 GB, free: 8.121 MB / 1.232 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006758/0.7463, allocations: 294.2 kB / 1.529 GB, free: 7.832 MB / 1.232 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01136/0.7577, allocations: 5.145 MB / 1.534 GB, free: 2.609 MB / 1.232 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.258e-05/0.7577, allocations: 23.98 kB / 1.534 GB, free: 2.586 MB / 1.232 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.246e-05/0.7578, allocations: 16 kB / 1.534 GB, free: 2.57 MB / 1.232 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.738e-05/0.7578, allocations: 12.25 kB / 1.534 GB, free: 2.559 MB / 1.232 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/0.7775, allocations: 9.574 MB / 1.543 GB, free: 8.785 MB / 1.248 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.967e-05/0.7776, allocations: 8 kB / 1.543 GB, free: 8.777 MB / 1.248 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.7787, allocations: 219.6 kB / 1.544 GB, free: 8.562 MB / 1.248 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.006556/0.7852, allocations: 1.838 MB / 1.545 GB, free: 6.668 MB / 1.248 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002866/0.7855, allocations: 40 kB / 1.545 GB, free: 6.629 MB / 1.248 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04145/0.827, allocations: 35.62 MB / 1.58 GB, free: 0.9375 MB / 1.279 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/0.827, allocations: 11.94 kB / 1.58 GB, free: 0.9258 MB / 1.279 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01005/0.837, allocations: 4.863 MB / 1.585 GB, free: 11.9 MB / 1.295 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001603/0.8386, allocations: 0.5527 MB / 1.586 GB, free: 11.35 MB / 1.295 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004611/0.8391, allocations: 47.98 kB / 1.586 GB, free: 11.3 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/0.8407, allocations: 123.8 kB / 1.586 GB, free: 11.18 MB / 1.295 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007844/0.8414, allocations: 201.5 kB / 1.586 GB, free: 10.98 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001504/0.8416, allocations: 60 kB / 1.586 GB, free: 10.92 MB / 1.295 GB
Notification: Performance of sorting global known variables: time 0.002101/0.8437, allocations: 1.378 MB / 1.587 GB, free: 9.535 MB / 1.295 GB
Notification: Performance of sort global known variables: time 6.1e-08/0.8437, allocations: 0 / 1.587 GB, free: 9.535 MB / 1.295 GB
Notification: Performance of remove unused functions: time 0.00347/0.8472, allocations: 1.047 MB / 1.588 GB, free: 8.488 MB / 1.295 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 28
 * 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 (112):
 * Single equations (assignments): 94
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 18
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 18 systems
   {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003414/0.8475, allocations: 167.5 kB / 1.588 GB, free: 8.316 MB / 1.295 GB
Notification: Performance of simCode: created initialization part: time 0.01075/0.8583, allocations: 6.014 MB / 1.594 GB, free: 2.074 MB / 1.295 GB
Notification: Performance of simCode: created event and clocks part: time 1.39e-05/0.8583, allocations: 4 kB / 1.594 GB, free: 2.07 MB / 1.295 GB
Notification: Performance of simCode: created simulation system equations: time 0.007448/0.8657, allocations: 4.277 MB / 1.599 GB, free: 13.56 MB / 1.311 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004623/0.8703, allocations: 0.9883 MB / 1.599 GB, free: 12.6 MB / 1.311 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01487/0.8852, allocations: 8.274 MB / 1.608 GB, free: 4.227 MB / 1.311 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003719/0.8889, allocations: 3.125 MB / 1.611 GB, free: 1.066 MB / 1.311 GB
Notification: Performance of simCode: alias equations: time 0.001755/0.8907, allocations: 0.5315 MB / 1.611 GB, free: 0.5312 MB / 1.311 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003859/0.8911, allocations: 143.4 kB / 1.611 GB, free: 404 kB / 1.311 GB
Notification: Performance of SimCode: time 1.082e-06/0.8911, allocations: 0 / 1.611 GB, free: 404 kB / 1.311 GB
Notification: Performance of Templates: time 0.6579/1.549, allocations: 60.9 MB / 1.671 GB, free: 253.7 MB / 1.311 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 11.827048779465258]