Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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.002156/0.002156, 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.002555/0.002555, allocations: 188.6 kB / 22.23 MB, free: 5.102 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.467/1.467, allocations: 225.6 MB / 251 MB, free: 13.01 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.118/3.118, allocations: 496 MB / 0.7835 GB, free: 33.58 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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rline_1.terminal_n.phase.1..i.1.|Rline_1.terminal_n.phase.1..i.2.|Rline_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.00209/0.00209, allocations: 70.88 kB / 1.138 GB, free: 33.66 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3366/0.3387, allocations: 173.6 MB / 1.307 GB, free: 1.855 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01424/0.3529, allocations: 10.46 MB / 1.318 GB, free: 7.352 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.005881/0.3588, allocations: 3.127 MB / 1.321 GB, free: 4.215 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006574/0.3595, allocations: 47.69 kB / 1.321 GB, free: 4.168 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.002042/0.3615, allocations: 0.7076 MB / 1.321 GB, free: 3.457 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.001555/0.3631, allocations: 0.7274 MB / 1.322 GB, free: 2.727 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.3646, allocations: 0.6618 MB / 1.323 GB, free: 2.066 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.003291/0.3679, allocations: 2.734 MB / 1.325 GB, free: 15.32 MB / 1.029 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.3698, allocations: 1.271 MB / 1.327 GB, free: 14.01 MB / 1.029 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.00174/0.3715, allocations: 1.149 MB / 1.328 GB, free: 12.86 MB / 1.029 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002291/0.3738, allocations: 1.5 MB / 1.329 GB, free: 11.36 MB / 1.029 GB
Notification: Performance of NFPackage.collectConstants: time 0.0003458/0.3741, allocations: 216 kB / 1.329 GB, free: 11.14 MB / 1.029 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009946/0.3751, allocations: 499.3 kB / 1.33 GB, free: 10.66 MB / 1.029 GB
Notification: Performance of NFScalarize.scalarize: time 0.001046/0.3762, allocations: 1.005 MB / 1.331 GB, free: 9.648 MB / 1.029 GB
Notification: Performance of NFVerifyModel.verify: time 0.001235/0.3774, allocations: 1.015 MB / 1.332 GB, free: 8.629 MB / 1.029 GB
Notification: Performance of NFConvertDAE.convert: time 0.003793/0.3812, allocations: 3.415 MB / 1.335 GB, free: 5.203 MB / 1.029 GB
Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3812, allocations: 4 kB / 1.335 GB, free: 5.199 MB / 1.029 GB
Notification: Performance of FrontEnd: time 1.613e-06/0.3812, allocations: 0 / 1.335 GB, free: 5.199 MB / 1.029 GB
Notification: Performance of Transformations before backend: time 5.177e-05/0.3813, allocations: 4 kB / 1.335 GB, free: 5.195 MB / 1.029 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 419
 * Number of variables: 419
Notification: Performance of Generate backend data structure: time 0.003898/0.3852, allocations: 1.913 MB / 1.337 GB, free: 3.242 MB / 1.029 GB
Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3852, allocations: 8.922 kB / 1.337 GB, free: 3.234 MB / 1.029 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005498/0.3907, allocations: 0.9009 MB / 1.338 GB, free: 2.332 MB / 1.029 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002334/0.393, allocations: 1.113 MB / 1.339 GB, free: 1.191 MB / 1.029 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.3931, allocations: 115.3 kB / 1.339 GB, free: 1.078 MB / 1.029 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003065/0.3934, allocations: 144.3 kB / 1.339 GB, free: 0.9375 MB / 1.029 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.004973/0.3984, allocations: 3.021 MB / 1.342 GB, free: 13.82 MB / 1.045 GB
Notification: Performance of preOpt findStateOrder (simulation): time 3.501e-05/0.3985, allocations: 3.938 kB / 1.342 GB, free: 13.81 MB / 1.045 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001979/0.3987, allocations: 67.97 kB / 1.342 GB, free: 13.75 MB / 1.045 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002432/0.3989, allocations: 179 kB / 1.342 GB, free: 13.57 MB / 1.045 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00441/0.4033, allocations: 2.608 MB / 1.345 GB, free: 10.96 MB / 1.045 GB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01814/0.4215, allocations: 13.39 MB / 1.358 GB, free: 12.48 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.002014/0.4235, allocations: 1.214 MB / 1.359 GB, free: 11.25 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.4249, allocations: 0.9799 MB / 1.36 GB, free: 10.27 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 6.983e-05/0.425, allocations: 8.656 kB / 1.36 GB, free: 10.26 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.11e-05/0.425, allocations: 47.16 kB / 1.36 GB, free: 10.2 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=82): time 2.895e-06/0.425, allocations: 0 / 1.36 GB, free: 10.2 MB / 1.061 GB
Notification: Performance of matching and sorting (n=139): time 0.06969/0.4947, allocations: 18.9 MB / 1.379 GB, free: 7.27 MB / 1.076 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.4948, allocations: 64.72 kB / 1.379 GB, free: 7.191 MB / 1.076 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001443/0.4962, allocations: 0.9184 MB / 1.38 GB, free: 6.262 MB / 1.076 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002284/0.4964, allocations: 49.7 kB / 1.38 GB, free: 6.207 MB / 1.076 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006462/0.4971, allocations: 0.7501 MB / 1.38 GB, free: 5.445 MB / 1.076 GB
Notification: Performance of collectInitialBindings (initialization): time 0.000557/0.4976, allocations: 0.4957 MB / 1.381 GB, free: 4.945 MB / 1.076 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006243/0.4983, allocations: 295.5 kB / 1.381 GB, free: 4.652 MB / 1.076 GB
Notification: Performance of setup shared object (initialization): time 0.0001919/0.4985, allocations: 353.9 kB / 1.382 GB, free: 4.301 MB / 1.076 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002052/0.5005, allocations: 1.343 MB / 1.383 GB, free: 2.957 MB / 1.076 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/0.5028, allocations: 1.659 MB / 1.384 GB, free: 1.184 MB / 1.076 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00472/0.5075, allocations: 3.08 MB / 1.387 GB, free: 13.98 MB / 1.092 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.5076, allocations: 4 kB / 1.387 GB, free: 13.98 MB / 1.092 GB
Notification: Performance of matching and sorting (n=191) (initialization): time 0.01223/0.5198, allocations: 5.562 MB / 1.393 GB, free: 8.395 MB / 1.092 GB
Notification: Performance of prepare postOptimizeDAE: time 3.718e-05/0.5198, allocations: 12.03 kB / 1.393 GB, free: 8.383 MB / 1.092 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.5198, allocations: 15.92 kB / 1.393 GB, free: 8.367 MB / 1.092 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.009038/0.5289, allocations: 2.724 MB / 1.396 GB, free: 5.629 MB / 1.092 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009264/0.5298, allocations: 187.7 kB / 1.396 GB, free: 5.445 MB / 1.092 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03941/0.5692, allocations: 25.33 MB / 1.421 GB, free: 11.65 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.5707, allocations: 95.95 kB / 1.421 GB, free: 11.56 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001683/0.5708, allocations: 52 kB / 1.421 GB, free: 11.51 MB / 1.123 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 39
 * 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 (99):
 * Single equations (assignments): 95
 * 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
   {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001232/0.5721, allocations: 0.7442 MB / 1.421 GB, free: 10.75 MB / 1.123 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/0.5724, allocations: 123.2 kB / 1.422 GB, free: 10.63 MB / 1.123 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/0.584, allocations: 5.306 MB / 1.427 GB, free: 5.293 MB / 1.123 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/0.5841, allocations: 20 kB / 1.427 GB, free: 5.273 MB / 1.123 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.784e-05/0.5841, allocations: 16 kB / 1.427 GB, free: 5.258 MB / 1.123 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.76e-05/0.5841, allocations: 7.969 kB / 1.427 GB, free: 5.25 MB / 1.123 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01756/0.6017, allocations: 8.606 MB / 1.435 GB, free: 12.53 MB / 1.139 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.375e-05/0.6017, allocations: 4 kB / 1.435 GB, free: 12.52 MB / 1.139 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005021/0.6022, allocations: 119.8 kB / 1.435 GB, free: 12.41 MB / 1.139 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.008666/0.6109, allocations: 2.577 MB / 1.438 GB, free: 9.816 MB / 1.139 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001715/0.611, allocations: 24 kB / 1.438 GB, free: 9.793 MB / 1.139 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03673/0.6478, allocations: 23.79 MB / 1.461 GB, free: 1.543 MB / 1.154 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/0.6478, allocations: 4 kB / 1.461 GB, free: 1.539 MB / 1.154 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01171/0.6595, allocations: 5.175 MB / 1.466 GB, free: 12.28 MB / 1.17 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001308/0.6608, allocations: 431.1 kB / 1.466 GB, free: 11.86 MB / 1.17 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002888/0.6611, allocations: 28 kB / 1.467 GB, free: 11.83 MB / 1.17 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008996/0.662, allocations: 83.88 kB / 1.467 GB, free: 11.75 MB / 1.17 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005844/0.6626, allocations: 125 kB / 1.467 GB, free: 11.62 MB / 1.17 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.6627, allocations: 36 kB / 1.467 GB, free: 11.59 MB / 1.17 GB
Notification: Performance of sorting global known variables: time 0.001098/0.6638, allocations: 0.6512 MB / 1.467 GB, free: 10.94 MB / 1.17 GB
Notification: Performance of sort global known variables: time 1e-07/0.6638, allocations: 0 / 1.467 GB, free: 10.94 MB / 1.17 GB
Notification: Performance of remove unused functions: time 0.002772/0.6665, allocations: 0.7188 MB / 1.468 GB, free: 10.22 MB / 1.17 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 16
 * 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 (62):
 * Single equations (assignments): 58
 * 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
   {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003553/0.6669, allocations: 139.1 kB / 1.468 GB, free: 10.08 MB / 1.17 GB
Notification: Performance of simCode: created initialization part: time 0.007816/0.6747, allocations: 4.079 MB / 1.472 GB, free: 5.945 MB / 1.17 GB
Notification: Performance of simCode: created event and clocks part: time 9.027e-06/0.6747, allocations: 0 / 1.472 GB, free: 5.945 MB / 1.17 GB
Notification: Performance of simCode: created simulation system equations: time 0.005456/0.6802, allocations: 2.615 MB / 1.475 GB, free: 3.285 MB / 1.17 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001371/0.6816, allocations: 221.3 kB / 1.475 GB, free: 3.074 MB / 1.17 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007009/0.6886, allocations: 4.073 MB / 1.479 GB, free: 14.93 MB / 1.186 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/0.6903, allocations: 1.7 MB / 1.481 GB, free: 13.2 MB / 1.186 GB
Notification: Performance of simCode: alias equations: time 0.0008197/0.6912, allocations: 325.5 kB / 1.481 GB, free: 12.88 MB / 1.186 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.6913, allocations: 55.44 kB / 1.481 GB, free: 12.82 MB / 1.186 GB
Notification: Performance of SimCode: time 1.062e-06/0.6913, allocations: 0 / 1.481 GB, free: 12.82 MB / 1.186 GB
Notification: Performance of Templates: time 0.06523/0.7566, allocations: 41.99 MB / 1.522 GB, free: 2.973 MB / 1.217 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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: 9.906172325834632]