Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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.001441/0.001441, 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.001542/0.001542, allocations: 193 kB / 22.11 MB, free: 4.223 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.452/1.452, allocations: 225.6 MB / 250.8 MB, free: 2.906 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.932/2.932, allocations: 495.8 MB / 0.7831 GB, free: 12.27 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.ACLineMatrix_RL_N,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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N,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_2a.terminal_n.phase.1..i.1.|Rline_2a.terminal_n.phase.1..i.2.|Rline_3a.terminal_n.phase.1..i.1.|Rline_3a.terminal_n.phase.1..i.2.|Rline_3b.terminal_n.phase.1..i.1.|Rline_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 67.88 kB / 1.137 GB, free: 12.18 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9792/0.9813, allocations: 173.6 MB / 1.307 GB, free: 33.79 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02137/1.003, allocations: 24.28 MB / 1.33 GB, free: 17.63 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.01327/1.016, allocations: 6.634 MB / 1.337 GB, free: 13.09 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003143/1.019, allocations: 126.3 kB / 1.337 GB, free: 13.03 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.004992/1.024, allocations: 1.568 MB / 1.339 GB, free: 12.12 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 0.006209/1.03, allocations: 1.936 MB / 1.34 GB, free: 11 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.00514/1.035, allocations: 1.513 MB / 1.342 GB, free: 10.16 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.01058/1.046, allocations: 6.91 MB / 1.349 GB, free: 7.164 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.009611/1.056, allocations: 3.493 MB / 1.352 GB, free: 5.391 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.006991/1.063, allocations: 2.905 MB / 1.355 GB, free: 4.109 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.008331/1.071, allocations: 3.742 MB / 1.359 GB, free: 2.645 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 0.002946/1.074, allocations: 0.5276 MB / 1.359 GB, free: 2.645 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.005282/1.079, allocations: 1.112 MB / 1.36 GB, free: 2.434 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 0.006411/1.086, allocations: 2.528 MB / 1.363 GB, free: 1.453 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 0.01046/1.096, allocations: 2.531 MB / 1.365 GB, free: 15.84 MB / 1.076 GB
Notification: Performance of NFConvertDAE.convert: time 0.01922/1.115, allocations: 8.539 MB / 1.374 GB, free: 13.15 MB / 1.076 GB
Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.115, allocations: 0.875 kB / 1.374 GB, free: 13.15 MB / 1.076 GB
Notification: Performance of FrontEnd: time 1.734e-06/1.115, allocations: 0 / 1.374 GB, free: 13.15 MB / 1.076 GB
Notification: Performance of Transformations before backend: time 0.0003927/1.116, allocations: 4 kB / 1.374 GB, free: 13.14 MB / 1.076 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1053
 * Number of variables: 1053
Notification: Performance of Generate backend data structure: time 0.02059/1.136, allocations: 4.466 MB / 1.378 GB, free: 10.57 MB / 1.076 GB
Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/1.136, allocations: 9.422 kB / 1.378 GB, free: 10.57 MB / 1.076 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01248/1.149, allocations: 1.71 MB / 1.38 GB, free: 10.26 MB / 1.076 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.009848/1.159, allocations: 2.665 MB / 1.382 GB, free: 8.953 MB / 1.076 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004371/1.159, allocations: 278.9 kB / 1.382 GB, free: 8.824 MB / 1.076 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.003051/1.162, allocations: 357.6 kB / 1.383 GB, free: 8.707 MB / 1.076 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02395/1.186, allocations: 7.49 MB / 1.39 GB, free: 5.711 MB / 1.076 GB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002001/1.186, allocations: 13.84 kB / 1.39 GB, free: 5.703 MB / 1.076 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00211/1.188, allocations: 158.3 kB / 1.39 GB, free: 5.586 MB / 1.076 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008563/1.189, allocations: 489.6 kB / 1.391 GB, free: 5.516 MB / 1.076 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01518/1.204, allocations: 5.697 MB / 1.396 GB, free: 2.848 MB / 1.076 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05071/1.255, allocations: 31.17 MB / 1.427 GB, free: 6.621 MB / 1.107 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003704/1.259, allocations: 2.017 MB / 1.429 GB, free: 5.547 MB / 1.107 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003598/1.262, allocations: 2.111 MB / 1.431 GB, free: 4.441 MB / 1.107 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001697/1.263, allocations: 19.58 kB / 1.431 GB, free: 4.438 MB / 1.107 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/1.263, allocations: 48.25 kB / 1.431 GB, free: 4.383 MB / 1.107 GB
Notification: Performance of pre-optimization done (n=146): time 3.676e-06/1.263, allocations: 1.062 kB / 1.431 GB, free: 4.383 MB / 1.107 GB
Notification: Performance of matching and sorting (n=251): time 0.3327/1.595, allocations: 76.72 MB / 1.506 GB, free: 9.984 MB / 1.186 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.694e-05/1.595, allocations: 77.41 kB / 1.506 GB, free: 9.895 MB / 1.186 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003295/1.599, allocations: 1.674 MB / 1.507 GB, free: 8.176 MB / 1.186 GB
Notification: Performance of collectPreVariables (initialization): time 0.0006906/1.599, allocations: 65.7 kB / 1.508 GB, free: 8.105 MB / 1.186 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001413/1.601, allocations: 1.795 MB / 1.509 GB, free: 6.293 MB / 1.186 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001231/1.602, allocations: 0.8946 MB / 1.51 GB, free: 5.391 MB / 1.186 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001153/1.603, allocations: 481.4 kB / 1.511 GB, free: 4.914 MB / 1.186 GB
Notification: Performance of setup shared object (initialization): time 0.0001652/1.603, allocations: 309.1 kB / 1.511 GB, free: 4.609 MB / 1.186 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.004414/1.608, allocations: 2.73 MB / 1.514 GB, free: 1.875 MB / 1.186 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.00527/1.613, allocations: 3.324 MB / 1.517 GB, free: 14.3 MB / 1.201 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/1.624, allocations: 6.397 MB / 1.523 GB, free: 7.668 MB / 1.201 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.717e-05/1.624, allocations: 8 kB / 1.523 GB, free: 7.66 MB / 1.201 GB
Notification: Performance of matching and sorting (n=331) (initialization): time 0.03765/1.661, allocations: 14.4 MB / 1.537 GB, free: 9.207 MB / 1.217 GB
Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/1.661, allocations: 13.72 kB / 1.537 GB, free: 9.195 MB / 1.217 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.816e-05/1.661, allocations: 20 kB / 1.537 GB, free: 9.176 MB / 1.217 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.03361/1.695, allocations: 9.202 MB / 1.546 GB, free: 15.95 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/1.696, allocations: 295.5 kB / 1.546 GB, free: 15.66 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09808/1.795, allocations: 51.8 MB / 1.597 GB, free: 11.13 MB / 1.279 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003609/1.798, allocations: 219.7 kB / 1.597 GB, free: 10.92 MB / 1.279 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005036/1.799, allocations: 104 kB / 1.597 GB, free: 10.82 MB / 1.279 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 (157):
 * Single equations (assignments): 151
 * 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
   {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.00367/1.802, allocations: 1.585 MB / 1.599 GB, free: 9.223 MB / 1.279 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007739/1.803, allocations: 258.6 kB / 1.599 GB, free: 8.969 MB / 1.279 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03773/1.841, allocations: 14.47 MB / 1.613 GB, free: 10.44 MB / 1.295 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.021e-05/1.841, allocations: 24 kB / 1.613 GB, free: 10.41 MB / 1.295 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001476/1.841, allocations: 44 kB / 1.613 GB, free: 10.37 MB / 1.295 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-05/1.841, allocations: 11.95 kB / 1.613 GB, free: 10.36 MB / 1.295 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04888/1.89, allocations: 20.2 MB / 1.633 GB, free: 5.965 MB / 1.311 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-05/1.89, allocations: 8 kB / 1.633 GB, free: 5.957 MB / 1.311 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009526/1.891, allocations: 164.5 kB / 1.633 GB, free: 5.797 MB / 1.311 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.03281/1.924, allocations: 8.973 MB / 1.642 GB, free: 12.8 MB / 1.326 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006072/1.924, allocations: 48 kB / 1.642 GB, free: 12.75 MB / 1.326 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09157/2.016, allocations: 51.36 MB / 1.692 GB, free: 8.664 MB / 1.373 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.793e-06/2.016, allocations: 4 kB / 1.692 GB, free: 8.66 MB / 1.373 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03615/2.052, allocations: 14.11 MB / 1.706 GB, free: 10.41 MB / 1.389 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002619/2.055, allocations: 0.7831 MB / 1.707 GB, free: 9.625 MB / 1.389 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005999/2.055, allocations: 55.95 kB / 1.707 GB, free: 9.57 MB / 1.389 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/2.058, allocations: 207.7 kB / 1.707 GB, free: 9.367 MB / 1.389 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001293/2.059, allocations: 257.3 kB / 1.707 GB, free: 9.113 MB / 1.389 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00025/2.059, allocations: 67.94 kB / 1.707 GB, free: 9.047 MB / 1.389 GB
Notification: Performance of sorting global known variables: time 0.001762/2.061, allocations: 1.129 MB / 1.708 GB, free: 7.895 MB / 1.389 GB
Notification: Performance of sort global known variables: time 1e-07/2.061, allocations: 0 / 1.708 GB, free: 7.895 MB / 1.389 GB
Notification: Performance of remove unused functions: time 0.005491/2.066, allocations: 1.613 MB / 1.71 GB, free: 6.281 MB / 1.389 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 (80):
 * Single equations (assignments): 74
 * 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
   {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004824/2.067, allocations: 159 kB / 1.71 GB, free: 6.117 MB / 1.389 GB
Notification: Performance of simCode: created initialization part: time 0.02576/2.093, allocations: 10.21 MB / 1.72 GB, free: 11.84 MB / 1.404 GB
Notification: Performance of simCode: created event and clocks part: time 1.076e-05/2.093, allocations: 0 / 1.72 GB, free: 11.84 MB / 1.404 GB
Notification: Performance of simCode: created simulation system equations: time 0.02046/2.113, allocations: 6.997 MB / 1.727 GB, free: 4.762 MB / 1.404 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003911/2.117, allocations: 0.5532 MB / 1.727 GB, free: 4.219 MB / 1.404 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/2.136, allocations: 8.93 MB / 1.736 GB, free: 11.2 MB / 1.42 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004701/2.14, allocations: 3.228 MB / 1.739 GB, free: 7.941 MB / 1.42 GB
Notification: Performance of simCode: alias equations: time 0.001294/2.142, allocations: 399.3 kB / 1.74 GB, free: 7.547 MB / 1.42 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/2.142, allocations: 95.44 kB / 1.74 GB, free: 7.453 MB / 1.42 GB
Notification: Performance of SimCode: time 1.102e-06/2.142, allocations: 0 / 1.74 GB, free: 7.453 MB / 1.42 GB
Notification: Performance of Templates: time 0.1605/2.303, allocations: 96.09 MB / 1.834 GB, free: 7.598 MB / 1.514 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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: 11.975904348306358]