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.001356/0.001356, 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.001542/0.001542, allocations: 189.7 kB / 22.23 MB, free: 5.105 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.421/1.421, 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-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: 496 MB / 0.7835 GB, free: 33.57 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-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: 63.3 kB / 1.138 GB, free: 33.86 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3418, allocations: 173.6 MB / 1.307 GB, free: 1.77 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.0431/0.3849, allocations: 34.82 MB / 1.341 GB, free: 14.83 MB / 1.045 GB
Notification: Performance of NFInst.instExpressions: time 0.02639/0.4113, allocations: 15.27 MB / 1.356 GB, free: 15.52 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003621/0.4149, allocations: 206.4 kB / 1.356 GB, free: 15.31 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.0105/0.4254, allocations: 3.819 MB / 1.36 GB, free: 11.48 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.009213/0.4346, allocations: 3.019 MB / 1.363 GB, free: 8.449 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.006717/0.4413, allocations: 2.375 MB / 1.365 GB, free: 6.074 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.01269/0.454, allocations: 8.823 MB / 1.374 GB, free: 13.22 MB / 1.076 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.008936/0.463, allocations: 5.107 MB / 1.379 GB, free: 7.996 MB / 1.076 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.007233/0.4702, allocations: 4.063 MB / 1.383 GB, free: 3.922 MB / 1.076 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.00811/0.4783, allocations: 4.264 MB / 1.387 GB, free: 15.64 MB / 1.092 GB
Notification: Performance of NFPackage.collectConstants: time 0.002349/0.4807, allocations: 0.7148 MB / 1.388 GB, free: 14.93 MB / 1.092 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.004835/0.4855, allocations: 1.744 MB / 1.39 GB, free: 13.18 MB / 1.092 GB
Notification: Performance of NFScalarize.scalarize: time 0.004443/0.4899, allocations: 2.899 MB / 1.392 GB, free: 10.28 MB / 1.092 GB
Notification: Performance of NFVerifyModel.verify: time 0.007165/0.4971, allocations: 3.384 MB / 1.396 GB, free: 6.879 MB / 1.092 GB
Notification: Performance of NFConvertDAE.convert: time 0.01809/0.5152, allocations: 11.22 MB / 1.407 GB, free: 11.62 MB / 1.107 GB
Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.5152, allocations: 0 / 1.407 GB, free: 11.62 MB / 1.107 GB
Notification: Performance of FrontEnd: time 2.064e-06/0.5152, allocations: 4 kB / 1.407 GB, free: 11.61 MB / 1.107 GB
Notification: Performance of Transformations before backend: time 0.0004045/0.5156, allocations: 4 kB / 1.407 GB, free: 11.61 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: 1338
 * Number of variables: 1338
Notification: Performance of Generate backend data structure: time 0.0169/0.5325, allocations: 6.057 MB / 1.413 GB, free: 5.484 MB / 1.107 GB
Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.5326, allocations: 8.922 kB / 1.413 GB, free: 5.477 MB / 1.107 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007776/0.5403, allocations: 1.168 MB / 1.414 GB, free: 4.305 MB / 1.107 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.008341/0.5487, allocations: 3.47 MB / 1.417 GB, free: 0.7461 MB / 1.107 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004353/0.5491, allocations: 370.4 kB / 1.417 GB, free: 392 kB / 1.107 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002062/0.5512, allocations: 0.4922 MB / 1.418 GB, free: 15.89 MB / 1.123 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02056/0.5717, allocations: 8.001 MB / 1.426 GB, free: 7.613 MB / 1.123 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002882/0.572, allocations: 23.81 kB / 1.426 GB, free: 7.59 MB / 1.123 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001663/0.5737, allocations: 216 kB / 1.426 GB, free: 7.379 MB / 1.123 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00119/0.5749, allocations: 437.6 kB / 1.426 GB, free: 6.949 MB / 1.123 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/0.5892, allocations: 6.081 MB / 1.432 GB, free: 0.8555 MB / 1.123 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05141/0.6406, allocations: 34.66 MB / 1.466 GB, free: 11.01 MB / 1.17 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003119/0.6437, allocations: 1.913 MB / 1.468 GB, free: 9.09 MB / 1.17 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002709/0.6464, allocations: 1.74 MB / 1.47 GB, free: 7.348 MB / 1.17 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001219/0.6466, allocations: 25.98 kB / 1.47 GB, free: 7.32 MB / 1.17 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.807e-05/0.6466, allocations: 56.5 kB / 1.47 GB, free: 7.258 MB / 1.17 GB
Notification: Performance of pre-optimization done (n=171): time 3.496e-06/0.6466, allocations: 0 / 1.47 GB, free: 7.258 MB / 1.17 GB
Notification: Performance of matching and sorting (n=276): time 0.1514/0.798, allocations: 38.7 MB / 1.508 GB, free: 0.5078 MB / 1.201 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.515e-05/0.7981, allocations: 81.52 kB / 1.508 GB, free: 424 kB / 1.201 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003607/0.8017, allocations: 2.282 MB / 1.51 GB, free: 14.11 MB / 1.217 GB
Notification: Performance of collectPreVariables (initialization): time 0.000451/0.8021, allocations: 73.7 kB / 1.51 GB, free: 14.04 MB / 1.217 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001945/0.8041, allocations: 2.334 MB / 1.512 GB, free: 11.68 MB / 1.217 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001154/0.8052, allocations: 0.9876 MB / 1.513 GB, free: 10.69 MB / 1.217 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001035/0.8063, allocations: 0.5141 MB / 1.514 GB, free: 10.16 MB / 1.217 GB
Notification: Performance of setup shared object (initialization): time 0.0001412/0.8064, allocations: 309.1 kB / 1.514 GB, free: 9.859 MB / 1.217 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003142/0.8096, allocations: 1.97 MB / 1.516 GB, free: 7.887 MB / 1.217 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003715/0.8133, allocations: 2.599 MB / 1.518 GB, free: 5.043 MB / 1.217 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007578/0.8209, allocations: 4.929 MB / 1.523 GB, free: 15.84 MB / 1.232 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-05/0.8209, allocations: 11.94 kB / 1.523 GB, free: 15.83 MB / 1.232 GB
Notification: Performance of matching and sorting (n=376) (initialization): time 0.01615/0.837, allocations: 7.65 MB / 1.531 GB, free: 8.109 MB / 1.232 GB
Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.8371, allocations: 12 kB / 1.531 GB, free: 8.098 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.748e-05/0.8371, allocations: 23.98 kB / 1.531 GB, free: 8.074 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/0.8473, allocations: 3.215 MB / 1.534 GB, free: 4.844 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001819/0.8492, allocations: 399.3 kB / 1.534 GB, free: 4.453 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05153/0.9007, allocations: 33.3 MB / 1.567 GB, free: 2.457 MB / 1.264 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002921/0.9036, allocations: 163.8 kB / 1.567 GB, free: 2.297 MB / 1.264 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003524/0.904, allocations: 108 kB / 1.567 GB, free: 2.191 MB / 1.264 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.003342/0.9073, allocations: 1.803 MB / 1.569 GB, free: 388 kB / 1.264 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007793/0.9081, allocations: 349.9 kB / 1.569 GB, free: 36 kB / 1.264 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01555/0.9236, allocations: 7.236 MB / 1.576 GB, free: 8.719 MB / 1.279 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.381e-05/0.9237, allocations: 28 kB / 1.576 GB, free: 8.691 MB / 1.279 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.576e-05/0.9237, allocations: 28 kB / 1.576 GB, free: 8.664 MB / 1.279 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.877e-05/0.9238, allocations: 15.94 kB / 1.576 GB, free: 8.648 MB / 1.279 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02584/0.9496, allocations: 12.78 MB / 1.589 GB, free: 11.7 MB / 1.295 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.429e-05/0.9497, allocations: 11.94 kB / 1.589 GB, free: 11.68 MB / 1.295 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/0.9507, allocations: 240.4 kB / 1.589 GB, free: 11.45 MB / 1.295 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.008706/0.9594, allocations: 2.851 MB / 1.592 GB, free: 8.582 MB / 1.295 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002819/0.9597, allocations: 52 kB / 1.592 GB, free: 8.531 MB / 1.295 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7378/1.697, allocations: 32.08 MB / 1.623 GB, free: 280.6 MB / 1.311 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.698, allocations: 5.344 kB / 1.623 GB, free: 280.6 MB / 1.311 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01429/1.712, allocations: 6.78 MB / 1.63 GB, free: 279.4 MB / 1.311 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002167/1.714, allocations: 0.7234 MB / 1.631 GB, free: 279.1 MB / 1.311 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007231/1.715, allocations: 54.14 kB / 1.631 GB, free: 279.1 MB / 1.311 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00201/1.717, allocations: 168.4 kB / 1.631 GB, free: 279.1 MB / 1.311 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001066/1.718, allocations: 275.7 kB / 1.631 GB, free: 279 MB / 1.311 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000201/1.718, allocations: 79.64 kB / 1.631 GB, free: 279 MB / 1.311 GB
Notification: Performance of sorting global known variables: time 0.002521/1.72, allocations: 1.525 MB / 1.633 GB, free: 278.4 MB / 1.311 GB
Notification: Performance of sort global known variables: time 1.6e-07/1.72, allocations: 0 / 1.633 GB, free: 278.4 MB / 1.311 GB
Notification: Performance of remove unused functions: time 0.004515/1.725, allocations: 1.37 MB / 1.634 GB, free: 278.3 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.0004362/1.725, allocations: 186.4 kB / 1.634 GB, free: 278.2 MB / 1.311 GB
Notification: Performance of simCode: created initialization part: time 0.0116/1.737, allocations: 6.56 MB / 1.641 GB, free: 275.3 MB / 1.311 GB
Notification: Performance of simCode: created event and clocks part: time 1.81e-05/1.737, allocations: 6.438 kB / 1.641 GB, free: 275.3 MB / 1.311 GB
Notification: Performance of simCode: created simulation system equations: time 0.0079/1.745, allocations: 4.247 MB / 1.645 GB, free: 273.2 MB / 1.311 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004828/1.75, allocations: 1.112 MB / 1.646 GB, free: 272.9 MB / 1.311 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/1.766, allocations: 10.36 MB / 1.656 GB, free: 268.4 MB / 1.311 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004395/1.77, allocations: 3.643 MB / 1.659 GB, free: 267.1 MB / 1.311 GB
Notification: Performance of simCode: alias equations: time 0.002049/1.772, allocations: 0.56 MB / 1.66 GB, free: 267 MB / 1.311 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003883/1.773, allocations: 159.8 kB / 1.66 GB, free: 267 MB / 1.311 GB
Notification: Performance of SimCode: time 1.232e-06/1.773, allocations: 2.297 kB / 1.66 GB, free: 267 MB / 1.311 GB
Notification: Performance of Templates: time 0.102/1.875, allocations: 79.46 MB / 1.738 GB, free: 196.7 MB / 1.311 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.24395161215216]