Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.001838/0.001838, 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.002207/0.002207, allocations: 191 kB / 22.1 MB, free: 4.293 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.675/1.675, allocations: 225.6 MB / 250.8 MB, free: 2.922 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 3.154/3.154, allocations: 495.8 MB / 0.7831 GB, free: 12.29 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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R")
translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 71.89 kB / 1.137 GB, free: 12.21 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9924/0.9945, allocations: 173.6 MB / 1.307 GB, free: 33.77 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.007355/1.002, allocations: 7.016 MB / 1.314 GB, free: 29.09 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.004831/1.007, allocations: 3.183 MB / 1.317 GB, free: 26.97 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0005537/1.007, allocations: 40.56 kB / 1.317 GB, free: 26.95 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.002314/1.01, allocations: 0.9949 MB / 1.318 GB, free: 26.36 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.001302/1.011, allocations: 0.5278 MB / 1.318 GB, free: 26.04 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001052/1.012, allocations: 453.9 kB / 1.319 GB, free: 25.82 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.001214/1.013, allocations: 1.229 MB / 1.32 GB, free: 25.26 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006679/1.014, allocations: 483.5 kB / 1.32 GB, free: 25.03 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005601/1.014, allocations: 492.4 kB / 1.321 GB, free: 24.82 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0005859/1.015, allocations: 0.5448 MB / 1.321 GB, free: 24.6 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 9.961e-05/1.015, allocations: 68.25 kB / 1.321 GB, free: 24.6 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006517/1.016, allocations: 341.7 kB / 1.322 GB, free: 24.5 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002448/1.016, allocations: 321.7 kB / 1.322 GB, free: 24.37 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003416/1.016, allocations: 456.7 kB / 1.322 GB, free: 24.1 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.001174/1.017, allocations: 1.217 MB / 1.324 GB, free: 23.68 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/1.017, allocations: 4 kB / 1.324 GB, free: 23.67 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.823e-06/1.017, allocations: 0 / 1.324 GB, free: 23.67 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 1.236e-05/1.017, allocations: 6.781 kB / 1.324 GB, free: 23.67 MB / 1.061 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 183
 * Number of variables: 183
Notification: Performance of Generate backend data structure: time 0.001754/1.019, allocations: 1.115 MB / 1.325 GB, free: 22.94 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/1.019, allocations: 10.69 kB / 1.325 GB, free: 22.94 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/1.021, allocations: 239.1 kB / 1.325 GB, free: 22.88 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008433/1.022, allocations: 0.537 MB / 1.326 GB, free: 22.55 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.782e-05/1.022, allocations: 53.08 kB / 1.326 GB, free: 22.52 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/1.022, allocations: 66.27 kB / 1.326 GB, free: 22.5 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/1.023, allocations: 1.086 MB / 1.327 GB, free: 21.88 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/1.023, allocations: 6.469 kB / 1.327 GB, free: 21.88 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.948e-05/1.023, allocations: 31.98 kB / 1.327 GB, free: 21.85 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001321/1.023, allocations: 84.7 kB / 1.327 GB, free: 21.84 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001266/1.024, allocations: 0.7544 MB / 1.328 GB, free: 21.57 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004444/1.029, allocations: 5.791 MB / 1.333 GB, free: 16.61 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009628/1.03, allocations: 0.5148 MB / 1.334 GB, free: 16.41 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004251/1.03, allocations: 286 kB / 1.334 GB, free: 16.3 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/1.03, allocations: 5.062 kB / 1.334 GB, free: 16.3 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/1.03, allocations: 41.97 kB / 1.334 GB, free: 16.26 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=47): time 2.204e-06/1.03, allocations: 0 / 1.334 GB, free: 16.26 MB / 1.061 GB
Notification: Performance of matching and sorting (n=48): time 0.004485/1.035, allocations: 1.688 MB / 1.336 GB, free: 15.57 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/1.035, allocations: 57 kB / 1.336 GB, free: 15.51 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008649/1.036, allocations: 0.5638 MB / 1.336 GB, free: 15.25 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 3.691e-05/1.036, allocations: 36.02 kB / 1.336 GB, free: 15.21 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002449/1.036, allocations: 431.8 kB / 1.337 GB, free: 14.87 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001254/1.036, allocations: 181.4 kB / 1.337 GB, free: 14.73 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001883/1.036, allocations: 124.1 kB / 1.337 GB, free: 14.66 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 0.000109/1.036, allocations: 379.1 kB / 1.337 GB, free: 14.32 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004156/1.037, allocations: 274 kB / 1.338 GB, free: 14.22 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005267/1.037, allocations: 498.8 kB / 1.338 GB, free: 13.85 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001005/1.038, allocations: 0.8094 MB / 1.339 GB, free: 13.31 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/1.038, allocations: 1.656 kB / 1.339 GB, free: 13.31 MB / 1.061 GB
Notification: Performance of matching and sorting (n=85) (initialization): time 0.00191/1.04, allocations: 1.074 MB / 1.34 GB, free: 12.86 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/1.04, allocations: 12.34 kB / 1.34 GB, free: 12.85 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/1.04, allocations: 7.266 kB / 1.34 GB, free: 12.85 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0009052/1.041, allocations: 277.4 kB / 1.34 GB, free: 12.77 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004858/1.042, allocations: 128.7 kB / 1.34 GB, free: 12.75 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005515/1.047, allocations: 6.726 MB / 1.347 GB, free: 7.023 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007142/1.048, allocations: 39.58 kB / 1.347 GB, free: 7.012 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.402e-05/1.048, allocations: 31.73 kB / 1.347 GB, free: 7.004 MB / 1.061 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 (67):
 * Single equations (assignments): 63
 * 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
   {(2,6,100.0%), (2,4,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.0003768/1.048, allocations: 258.7 kB / 1.347 GB, free: 6.812 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001146/1.049, allocations: 77.48 kB / 1.347 GB, free: 6.773 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/1.05, allocations: 0.8827 MB / 1.348 GB, free: 6.375 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/1.05, allocations: 5.312 kB / 1.348 GB, free: 6.375 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.05, allocations: 3.906 kB / 1.348 GB, free: 6.375 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/1.05, allocations: 2.438 kB / 1.348 GB, free: 6.375 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002645/1.053, allocations: 1.676 MB / 1.35 GB, free: 5.551 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/1.053, allocations: 10.22 kB / 1.35 GB, free: 5.543 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/1.053, allocations: 68.2 kB / 1.35 GB, free: 5.531 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.00075/1.054, allocations: 269.2 kB / 1.35 GB, free: 5.441 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.436e-05/1.054, allocations: 12.56 kB / 1.35 GB, free: 5.434 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005399/1.059, allocations: 6.721 MB / 1.357 GB, free: 15.7 MB / 1.076 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/1.059, allocations: 6.594 kB / 1.357 GB, free: 15.7 MB / 1.076 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001816/1.061, allocations: 0.9748 MB / 1.358 GB, free: 15.19 MB / 1.076 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003411/1.061, allocations: 115.5 kB / 1.358 GB, free: 15.13 MB / 1.076 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.852e-05/1.061, allocations: 12.62 kB / 1.358 GB, free: 15.12 MB / 1.076 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003962/1.062, allocations: 38.55 kB / 1.358 GB, free: 15.11 MB / 1.076 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001322/1.062, allocations: 43.69 kB / 1.358 GB, free: 15.1 MB / 1.076 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/1.062, allocations: 14.84 kB / 1.358 GB, free: 15.09 MB / 1.076 GB
Notification: Performance of sorting global known variables: time 0.000583/1.063, allocations: 390.2 kB / 1.358 GB, free: 14.92 MB / 1.076 GB
Notification: Performance of sort global known variables: time 9.1e-08/1.063, allocations: 0 / 1.358 GB, free: 14.92 MB / 1.076 GB
Notification: Performance of remove unused functions: time 0.001166/1.064, allocations: 228.1 kB / 1.358 GB, free: 14.89 MB / 1.076 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * 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 (31):
 * Single equations (assignments): 27
 * 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
   {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001975/1.064, allocations: 122.1 kB / 1.359 GB, free: 14.79 MB / 1.076 GB
Notification: Performance of simCode: created initialization part: time 0.002344/1.066, allocations: 1.223 MB / 1.36 GB, free: 14.07 MB / 1.076 GB
Notification: Performance of simCode: created event and clocks part: time 8.716e-06/1.066, allocations: 5.219 kB / 1.36 GB, free: 14.06 MB / 1.076 GB
Notification: Performance of simCode: created simulation system equations: time 0.001437/1.068, allocations: 0.8682 MB / 1.361 GB, free: 13.46 MB / 1.076 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/1.069, allocations: 222.2 kB / 1.361 GB, free: 13.38 MB / 1.076 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002647/1.072, allocations: 1.353 MB / 1.362 GB, free: 12.66 MB / 1.076 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008519/1.072, allocations: 1.018 MB / 1.363 GB, free: 11.91 MB / 1.076 GB
Notification: Performance of simCode: alias equations: time 0.0004673/1.073, allocations: 126.2 kB / 1.363 GB, free: 11.88 MB / 1.076 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/1.073, allocations: 42.52 kB / 1.363 GB, free: 11.88 MB / 1.076 GB
Notification: Performance of SimCode: time 9.02e-07/1.073, allocations: 0 / 1.363 GB, free: 11.88 MB / 1.076 GB
Notification: Performance of Templates: time 0.02787/1.101, allocations: 11.86 MB / 1.375 GB, free: 11.08 MB / 1.076 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.150984413921833]