Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001431/0.001431, 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.001508/0.001508, allocations: 191.8 kB / 22.1 MB, free: 4.227 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.465/1.465, allocations: 225.6 MB / 250.8 MB, free: 2.926 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 2.893/2.893, allocations: 495.8 MB / 0.783 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.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_N")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,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_N") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.89 kB / 1.137 GB, free: 12.2 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9715/0.9736, allocations: 173.5 MB / 1.307 GB, free: 33.8 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0305/1.004, allocations: 34.55 MB / 1.34 GB, free: 10.91 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.02181/1.026, allocations: 15.2 MB / 1.355 GB, free: 0.5469 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.004184/1.03, allocations: 203.7 kB / 1.356 GB, free: 460 kB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.01101/1.041, allocations: 3.818 MB / 1.359 GB, free: 14.21 MB / 1.076 GB
Notification: Performance of NFTyping.typeBindings: time 0.011/1.052, allocations: 3.016 MB / 1.362 GB, free: 12.35 MB / 1.076 GB
Notification: Performance of NFTyping.typeClassSections: time 0.008261/1.06, allocations: 2.385 MB / 1.365 GB, free: 11 MB / 1.076 GB
Notification: Performance of NFFlatten.flatten: time 0.01696/1.077, allocations: 8.814 MB / 1.373 GB, free: 7.027 MB / 1.076 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.01121/1.089, allocations: 5.101 MB / 1.378 GB, free: 4.391 MB / 1.076 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.009661/1.098, allocations: 4.065 MB / 1.382 GB, free: 2.641 MB / 1.076 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.01053/1.109, allocations: 4.264 MB / 1.386 GB, free: 0.8594 MB / 1.076 GB
Notification: Performance of NFPackage.collectConstants: time 0.003978/1.113, allocations: 0.7169 MB / 1.387 GB, free: 0.8594 MB / 1.076 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.00727/1.12, allocations: 1.627 MB / 1.389 GB, free: 0.5078 MB / 1.076 GB
Notification: Performance of NFScalarize.scalarize: time 0.006322/1.126, allocations: 2.899 MB / 1.391 GB, free: 15.24 MB / 1.092 GB
Notification: Performance of NFVerifyModel.verify: time 0.01107/1.137, allocations: 3.386 MB / 1.395 GB, free: 13.09 MB / 1.092 GB
Notification: Performance of NFConvertDAE.convert: time 0.02822/1.166, allocations: 11.21 MB / 1.406 GB, free: 8.258 MB / 1.092 GB
Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/1.166, allocations: 0 / 1.406 GB, free: 8.258 MB / 1.092 GB
Notification: Performance of FrontEnd: time 1.914e-06/1.166, allocations: 3.938 kB / 1.406 GB, free: 8.254 MB / 1.092 GB
Notification: Performance of Transformations before backend: time 0.0003902/1.166, allocations: 0 / 1.406 GB, free: 8.254 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: 1338
 * Number of variables: 1338
Notification: Performance of Generate backend data structure: time 0.0223/1.188, allocations: 6.058 MB / 1.412 GB, free: 4.211 MB / 1.092 GB
Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/1.188, allocations: 9.469 kB / 1.412 GB, free: 4.211 MB / 1.092 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009068/1.197, allocations: 1.168 MB / 1.413 GB, free: 3.652 MB / 1.092 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01118/1.209, allocations: 3.46 MB / 1.416 GB, free: 1.426 MB / 1.092 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004351/1.209, allocations: 379.5 kB / 1.416 GB, free: 1.25 MB / 1.092 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002575/1.212, allocations: 0.4892 MB / 1.417 GB, free: 1.078 MB / 1.092 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02686/1.238, allocations: 8 MB / 1.425 GB, free: 12.2 MB / 1.107 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002695/1.239, allocations: 27.38 kB / 1.425 GB, free: 12.18 MB / 1.107 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001848/1.241, allocations: 215.9 kB / 1.425 GB, free: 12.02 MB / 1.107 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001304/1.242, allocations: 433.1 kB / 1.425 GB, free: 11.9 MB / 1.107 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/1.258, allocations: 6.091 MB / 1.431 GB, free: 8.762 MB / 1.107 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.058/1.316, allocations: 34.52 MB / 1.465 GB, free: 3.215 MB / 1.139 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003562/1.32, allocations: 1.913 MB / 1.467 GB, free: 1.301 MB / 1.139 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003104/1.323, allocations: 1.744 MB / 1.469 GB, free: 15.55 MB / 1.154 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001553/1.323, allocations: 25.92 kB / 1.469 GB, free: 15.53 MB / 1.154 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.681e-05/1.323, allocations: 64.5 kB / 1.469 GB, free: 15.46 MB / 1.154 GB
Notification: Performance of pre-optimization done (n=171): time 3.777e-06/1.323, allocations: 0 / 1.469 GB, free: 15.46 MB / 1.154 GB
Notification: Performance of matching and sorting (n=276): time 0.1698/1.493, allocations: 38.69 MB / 1.506 GB, free: 8.719 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.883e-05/1.493, allocations: 81.58 kB / 1.507 GB, free: 8.625 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004188/1.497, allocations: 2.29 MB / 1.509 GB, free: 6.32 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 0.0005398/1.498, allocations: 73.7 kB / 1.509 GB, free: 6.242 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002017/1.5, allocations: 2.33 MB / 1.511 GB, free: 3.891 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001291/1.501, allocations: 0.976 MB / 1.512 GB, free: 2.906 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/1.502, allocations: 0.5141 MB / 1.513 GB, free: 2.383 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0001632/1.503, allocations: 305.1 kB / 1.513 GB, free: 2.082 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/1.506, allocations: 1.97 MB / 1.515 GB, free: 112 kB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003891/1.51, allocations: 2.606 MB / 1.517 GB, free: 13.25 MB / 1.201 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007698/1.517, allocations: 4.929 MB / 1.522 GB, free: 8.051 MB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-05/1.517, allocations: 8 kB / 1.522 GB, free: 8.043 MB / 1.201 GB
Notification: Performance of matching and sorting (n=376) (initialization): time 0.01644/1.534, allocations: 7.651 MB / 1.53 GB, free: 332 kB / 1.201 GB
Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/1.534, allocations: 12.19 kB / 1.53 GB, free: 320 kB / 1.201 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.047e-05/1.534, allocations: 31.92 kB / 1.53 GB, free: 288 kB / 1.201 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/1.544, allocations: 3.206 MB / 1.533 GB, free: 13.06 MB / 1.217 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/1.546, allocations: 399.4 kB / 1.533 GB, free: 12.67 MB / 1.217 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05201/1.598, allocations: 33.3 MB / 1.566 GB, free: 10.67 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003639/1.602, allocations: 155.8 kB / 1.566 GB, free: 10.52 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004239/1.602, allocations: 108 kB / 1.566 GB, free: 10.41 MB / 1.248 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 (202):
 * Single equations (assignments): 196
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 6
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 6 systems
   {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.004004/1.606, allocations: 1.796 MB / 1.568 GB, free: 8.609 MB / 1.248 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008699/1.607, allocations: 349.9 kB / 1.568 GB, free: 8.266 MB / 1.248 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01556/1.623, allocations: 7.243 MB / 1.575 GB, free: 0.9414 MB / 1.248 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.864e-05/1.623, allocations: 28 kB / 1.575 GB, free: 0.9141 MB / 1.248 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.361e-05/1.623, allocations: 28 kB / 1.575 GB, free: 0.8867 MB / 1.248 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.423e-05/1.623, allocations: 15.94 kB / 1.575 GB, free: 0.8711 MB / 1.248 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/1.649, allocations: 12.79 MB / 1.588 GB, free: 3.91 MB / 1.264 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.012e-05/1.649, allocations: 8.188 kB / 1.588 GB, free: 3.902 MB / 1.264 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001136/1.65, allocations: 239.6 kB / 1.588 GB, free: 3.668 MB / 1.264 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.009542/1.66, allocations: 2.845 MB / 1.591 GB, free: 0.8047 MB / 1.264 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004228/1.66, allocations: 56 kB / 1.591 GB, free: 0.75 MB / 1.264 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04964/1.71, allocations: 32.08 MB / 1.622 GB, free: 15.96 MB / 1.311 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.5e-05/1.71, allocations: 7.938 kB / 1.622 GB, free: 15.96 MB / 1.311 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0142/1.724, allocations: 6.79 MB / 1.629 GB, free: 8.957 MB / 1.311 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002299/1.726, allocations: 0.7242 MB / 1.629 GB, free: 8.23 MB / 1.311 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006334/1.727, allocations: 52 kB / 1.629 GB, free: 8.18 MB / 1.311 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00193/1.729, allocations: 171.8 kB / 1.63 GB, free: 8.012 MB / 1.311 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008605/1.73, allocations: 265.2 kB / 1.63 GB, free: 7.75 MB / 1.311 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002171/1.73, allocations: 76 kB / 1.63 GB, free: 7.676 MB / 1.311 GB
Notification: Performance of sorting global known variables: time 0.002484/1.732, allocations: 1.521 MB / 1.631 GB, free: 6.152 MB / 1.311 GB
Notification: Performance of sort global known variables: time 1.1e-07/1.732, allocations: 0 / 1.631 GB, free: 6.152 MB / 1.311 GB
Notification: Performance of remove unused functions: time 0.004455/1.737, allocations: 1.371 MB / 1.633 GB, free: 4.781 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 (105):
 * Single equations (assignments): 99
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 6
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 6 systems
   {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004075/1.737, allocations: 179 kB / 1.633 GB, free: 4.594 MB / 1.311 GB
Notification: Performance of simCode: created initialization part: time 0.01301/1.75, allocations: 6.572 MB / 1.639 GB, free: 13.93 MB / 1.326 GB
Notification: Performance of simCode: created event and clocks part: time 1.261e-05/1.75, allocations: 0.875 kB / 1.639 GB, free: 13.93 MB / 1.326 GB
Notification: Performance of simCode: created simulation system equations: time 0.009113/1.759, allocations: 4.237 MB / 1.644 GB, free: 9.609 MB / 1.326 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005712/1.765, allocations: 1.125 MB / 1.645 GB, free: 8.52 MB / 1.326 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01977/1.785, allocations: 10.37 MB / 1.655 GB, free: 14.07 MB / 1.342 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00496/1.79, allocations: 3.643 MB / 1.658 GB, free: 10.39 MB / 1.342 GB
Notification: Performance of simCode: alias equations: time 0.00209/1.792, allocations: 0.5556 MB / 1.659 GB, free: 9.832 MB / 1.342 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004553/1.792, allocations: 167.4 kB / 1.659 GB, free: 9.668 MB / 1.342 GB
Notification: Performance of SimCode: time 8.71e-07/1.792, allocations: 0 / 1.659 GB, free: 9.668 MB / 1.342 GB
Notification: Performance of Templates: time 0.1394/1.932, allocations: 79.45 MB / 1.737 GB, free: 11.18 MB / 1.42 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 12.28574165981263]