Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001581/0.001581, 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.001743/0.001743, allocations: 190.7 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.418/1.418, 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-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.094/3.094, allocations: 0.4893 GB / 0.7884 GB, free: 33.26 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,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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001993/0.001993, allocations: 66.02 kB / 1.145 GB, free: 30.62 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3232, allocations: 174.9 MB / 1.316 GB, free: 9.727 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04034/0.3635, allocations: 32.14 MB / 1.347 GB, free: 9.477 MB / 1.045 GB
Notification: Performance of NFInst.instExpressions: time 0.02379/0.3873, allocations: 13.98 MB / 1.361 GB, free: 11.45 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003491/0.3908, allocations: 190.5 kB / 1.361 GB, free: 11.27 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.009829/0.4006, allocations: 3.353 MB / 1.365 GB, free: 7.906 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.008878/0.4095, allocations: 2.774 MB / 1.367 GB, free: 5.117 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.005954/0.4155, allocations: 2.079 MB / 1.369 GB, free: 3.039 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.01105/0.4265, allocations: 7.618 MB / 1.377 GB, free: 11.39 MB / 1.076 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.008994/0.4355, allocations: 4.251 MB / 1.381 GB, free: 7.023 MB / 1.076 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006884/0.4424, allocations: 3.506 MB / 1.384 GB, free: 3.508 MB / 1.076 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.006815/0.4492, allocations: 3.57 MB / 1.388 GB, free: 15.93 MB / 1.092 GB
Notification: Performance of NFPackage.collectConstants: time 0.002125/0.4513, allocations: 0.6016 MB / 1.388 GB, free: 15.32 MB / 1.092 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004366/0.4557, allocations: 1.521 MB / 1.39 GB, free: 13.8 MB / 1.092 GB
Notification: Performance of NFScalarize.scalarize: time 0.004877/0.4606, allocations: 2.424 MB / 1.392 GB, free: 11.37 MB / 1.092 GB
Notification: Performance of NFVerifyModel.verify: time 0.006843/0.4674, allocations: 2.886 MB / 1.395 GB, free: 8.473 MB / 1.092 GB
Notification: Performance of NFConvertDAE.convert: time 0.01371/0.4812, allocations: 9.484 MB / 1.404 GB, free: 14.95 MB / 1.107 GB
Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.4812, allocations: 0 / 1.404 GB, free: 14.95 MB / 1.107 GB
Notification: Performance of FrontEnd: time 1.763e-06/0.4812, allocations: 0 / 1.404 GB, free: 14.95 MB / 1.107 GB
Notification: Performance of Transformations before backend: time 0.0002644/0.4814, allocations: 0 / 1.404 GB, free: 14.95 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: 1133
 * Number of variables: 1133
Notification: Performance of Generate backend data structure: time 0.01197/0.4934, allocations: 5.191 MB / 1.409 GB, free: 9.699 MB / 1.107 GB
Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.4934, allocations: 8.031 kB / 1.409 GB, free: 9.691 MB / 1.107 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006044/0.4995, allocations: 1.032 MB / 1.41 GB, free: 8.656 MB / 1.107 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.007435/0.5069, allocations: 3.017 MB / 1.413 GB, free: 5.547 MB / 1.107 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003168/0.5072, allocations: 316.8 kB / 1.414 GB, free: 5.234 MB / 1.107 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001389/0.5086, allocations: 424 kB / 1.414 GB, free: 4.82 MB / 1.107 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.01434/0.523, allocations: 6.795 MB / 1.421 GB, free: 13.73 MB / 1.123 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.5231, allocations: 19.83 kB / 1.421 GB, free: 13.71 MB / 1.123 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004966/0.5236, allocations: 184 kB / 1.421 GB, free: 13.53 MB / 1.123 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000877/0.5245, allocations: 372 kB / 1.421 GB, free: 13.16 MB / 1.123 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01036/0.5348, allocations: 5.11 MB / 1.426 GB, free: 8.035 MB / 1.123 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03676/0.5716, allocations: 30.26 MB / 1.456 GB, free: 7.004 MB / 1.154 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002142/0.5737, allocations: 1.316 MB / 1.457 GB, free: 5.676 MB / 1.154 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/0.5755, allocations: 1.247 MB / 1.458 GB, free: 4.434 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.588e-05/0.5756, allocations: 17.31 kB / 1.458 GB, free: 4.414 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.5756, allocations: 47.88 kB / 1.458 GB, free: 4.359 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=130): time 3.456e-06/0.5756, allocations: 0 / 1.458 GB, free: 4.359 MB / 1.154 GB
Notification: Performance of matching and sorting (n=199): time 0.0854/0.661, allocations: 22.85 MB / 1.481 GB, free: 13.45 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.914e-05/0.6611, allocations: 73.41 kB / 1.481 GB, free: 13.36 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003389/0.6645, allocations: 2.063 MB / 1.483 GB, free: 11.28 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002464/0.6647, allocations: 61.69 kB / 1.483 GB, free: 11.21 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001625/0.6663, allocations: 2.063 MB / 1.485 GB, free: 9.133 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0007585/0.6671, allocations: 0.7126 MB / 1.485 GB, free: 8.414 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008235/0.6679, allocations: 416.3 kB / 1.486 GB, free: 8 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0001285/0.6681, allocations: 305.1 kB / 1.486 GB, free: 7.699 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002313/0.6704, allocations: 1.433 MB / 1.488 GB, free: 6.262 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002822/0.6732, allocations: 2.013 MB / 1.49 GB, free: 4 MB / 1.186 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005387/0.6786, allocations: 3.692 MB / 1.493 GB, free: 68 kB / 1.186 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.436e-05/0.6786, allocations: 8 kB / 1.493 GB, free: 60 kB / 1.186 GB
Notification: Performance of matching and sorting (n=294) (initialization): time 0.0118/0.6904, allocations: 5.604 MB / 1.499 GB, free: 10.39 MB / 1.201 GB
Notification: Performance of prepare postOptimizeDAE: time 3.258e-05/0.6904, allocations: 12 kB / 1.499 GB, free: 10.38 MB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.777e-05/0.6904, allocations: 16 kB / 1.499 GB, free: 10.36 MB / 1.201 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.007148/0.6976, allocations: 2.092 MB / 1.501 GB, free: 8.211 MB / 1.201 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/0.6994, allocations: 375.3 kB / 1.501 GB, free: 7.844 MB / 1.201 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04412/0.7435, allocations: 36.61 MB / 1.537 GB, free: 1.156 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/0.746, allocations: 135.9 kB / 1.537 GB, free: 1.023 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003869/0.7464, allocations: 91.98 kB / 1.537 GB, free: 0.9336 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.003025/0.7494, allocations: 1.501 MB / 1.538 GB, free: 15.42 MB / 1.248 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007374/0.7501, allocations: 290.2 kB / 1.539 GB, free: 15.13 MB / 1.248 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01131/0.7615, allocations: 5.145 MB / 1.544 GB, free: 9.914 MB / 1.248 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.708e-05/0.7615, allocations: 23.98 kB / 1.544 GB, free: 9.891 MB / 1.248 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.586e-05/0.7615, allocations: 16 kB / 1.544 GB, free: 9.875 MB / 1.248 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.489e-05/0.7616, allocations: 7.969 kB / 1.544 GB, free: 9.867 MB / 1.248 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02027/0.7818, allocations: 9.586 MB / 1.553 GB, free: 84 kB / 1.248 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.116e-05/0.7819, allocations: 4 kB / 1.553 GB, free: 80 kB / 1.248 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000975/0.7828, allocations: 215.6 kB / 1.553 GB, free: 15.87 MB / 1.264 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.006301/0.7891, allocations: 1.845 MB / 1.555 GB, free: 13.96 MB / 1.264 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002488/0.7894, allocations: 40 kB / 1.555 GB, free: 13.93 MB / 1.264 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04177/0.8311, allocations: 35.62 MB / 1.59 GB, free: 8.23 MB / 1.295 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/0.8312, allocations: 7.938 kB / 1.59 GB, free: 8.223 MB / 1.295 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01004/0.8412, allocations: 4.859 MB / 1.595 GB, free: 3.207 MB / 1.295 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001531/0.8427, allocations: 0.5566 MB / 1.595 GB, free: 2.648 MB / 1.295 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006156/0.8433, allocations: 43.98 kB / 1.595 GB, free: 2.605 MB / 1.295 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001527/0.8449, allocations: 123.8 kB / 1.595 GB, free: 2.484 MB / 1.295 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006319/0.8455, allocations: 201.5 kB / 1.596 GB, free: 2.285 MB / 1.295 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/0.8457, allocations: 56 kB / 1.596 GB, free: 2.23 MB / 1.295 GB
Notification: Performance of sorting global known variables: time 0.002307/0.848, allocations: 1.386 MB / 1.597 GB, free: 0.8359 MB / 1.295 GB
Notification: Performance of sort global known variables: time 9e-08/0.848, allocations: 4 kB / 1.597 GB, free: 0.832 MB / 1.295 GB
Notification: Performance of remove unused functions: time 0.003408/0.8514, allocations: 1.043 MB / 1.598 GB, free: 15.79 MB / 1.311 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.0003496/0.8517, allocations: 171.5 kB / 1.598 GB, free: 15.61 MB / 1.311 GB
Notification: Performance of simCode: created initialization part: time 0.01029/0.862, allocations: 6.018 MB / 1.604 GB, free: 9.363 MB / 1.311 GB
Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.862, allocations: 0 / 1.604 GB, free: 9.363 MB / 1.311 GB
Notification: Performance of simCode: created simulation system equations: time 0.006965/0.869, allocations: 4.277 MB / 1.608 GB, free: 4.855 MB / 1.311 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004376/0.8734, allocations: 0.994 MB / 1.609 GB, free: 3.891 MB / 1.311 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6193/1.493, allocations: 8.285 MB / 1.617 GB, free: 269.8 MB / 1.311 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003224/1.496, allocations: 3.118 MB / 1.62 GB, free: 269 MB / 1.311 GB
Notification: Performance of simCode: alias equations: time 0.001863/1.498, allocations: 0.5169 MB / 1.621 GB, free: 269 MB / 1.311 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003763/1.498, allocations: 153.9 kB / 1.621 GB, free: 269 MB / 1.311 GB
Notification: Performance of SimCode: time 1.202e-06/1.498, allocations: 0 / 1.621 GB, free: 269 MB / 1.311 GB
Notification: Performance of Templates: time 0.09081/1.589, allocations: 60.86 MB / 1.681 GB, free: 240.2 MB / 1.311 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.557944647036493]