Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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.001358/0.001358, allocations: 110 kB / 18.93 MB, free: 2.945 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.001644/0.001644, allocations: 184.9 kB / 22.23 MB, free: 5.16 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.544/1.544, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.785/2.785, allocations: 476.7 MB / 0.7646 GB, free: 9.848 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N")
translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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_2.terminal_n.phase.1..i.1.|Rline_2.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.003721/0.003721, allocations: 71.89 kB / 1.11 GB, free: 6.277 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.8532/0.8569, allocations: 168.8 MB / 1.274 GB, free: 4.16 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01401/0.8709, allocations: 10.5 MB / 1.285 GB, free: 9.613 MB / 0.9825 GB
Notification: Performance of NFInst.instExpressions: time 0.0065/0.8774, allocations: 3.256 MB / 1.288 GB, free: 6.348 MB / 0.9825 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0008435/0.8782, allocations: 47.62 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB
Notification: Performance of NFTyping.typeComponents: time 0.001823/0.8801, allocations: 0.618 MB / 1.288 GB, free: 5.68 MB / 0.9825 GB
Notification: Performance of NFTyping.typeBindings: time 0.001779/0.8818, allocations: 0.7701 MB / 1.289 GB, free: 4.906 MB / 0.9825 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001748/0.8836, allocations: 0.7717 MB / 1.29 GB, free: 4.133 MB / 0.9825 GB
Notification: Performance of NFFlatten.flatten: time 0.003727/0.8873, allocations: 2.985 MB / 1.293 GB, free: 1.145 MB / 0.9825 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.002047/0.8894, allocations: 1.315 MB / 1.294 GB, free: 15.78 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001965/0.8913, allocations: 1.274 MB / 1.295 GB, free: 14.5 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.002808/0.8941, allocations: 1.698 MB / 1.297 GB, free: 12.8 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 0.0004595/0.8946, allocations: 236 kB / 1.297 GB, free: 12.57 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001237/0.8958, allocations: 0.5033 MB / 1.298 GB, free: 12.07 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 0.001257/0.8971, allocations: 1.107 MB / 1.299 GB, free: 10.96 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 0.001389/0.8985, allocations: 1.112 MB / 1.3 GB, free: 9.84 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.004408/0.9029, allocations: 3.694 MB / 1.304 GB, free: 6.141 MB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.9029, allocations: 0 / 1.304 GB, free: 6.141 MB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.563e-06/0.9029, allocations: 0 / 1.304 GB, free: 6.141 MB / 0.9981 GB
Notification: Performance of Transformations before backend: time 5.709e-05/0.9029, allocations: 4 kB / 1.304 GB, free: 6.137 MB / 0.9981 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 439
 * Number of variables: 439
Notification: Performance of Generate backend data structure: time 0.004441/0.9074, allocations: 2.123 MB / 1.306 GB, free: 3.973 MB / 0.9981 GB
Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.9074, allocations: 12.03 kB / 1.306 GB, free: 3.961 MB / 0.9981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008783/0.9162, allocations: 1.33 MB / 1.307 GB, free: 2.629 MB / 0.9981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.003583/0.9198, allocations: 1.254 MB / 1.308 GB, free: 1.348 MB / 0.9981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.9199, allocations: 115.4 kB / 1.308 GB, free: 1.234 MB / 0.9981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000466/0.9204, allocations: 148.3 kB / 1.308 GB, free: 1.09 MB / 0.9981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.006554/0.9269, allocations: 3.441 MB / 1.312 GB, free: 13.55 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 4.437e-05/0.927, allocations: 7.891 kB / 1.312 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002526/0.9272, allocations: 71.95 kB / 1.312 GB, free: 13.47 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002984/0.9275, allocations: 199.1 kB / 1.312 GB, free: 13.28 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005784/0.9333, allocations: 3.128 MB / 1.315 GB, free: 10.14 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02246/0.9558, allocations: 13.46 MB / 1.328 GB, free: 11.81 MB / 1.029 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.003231/0.959, allocations: 1.606 MB / 1.33 GB, free: 10.2 MB / 1.029 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002308/0.9613, allocations: 1.331 MB / 1.331 GB, free: 8.863 MB / 1.029 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.000121/0.9614, allocations: 13 kB / 1.331 GB, free: 8.852 MB / 1.029 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.466e-05/0.9615, allocations: 51.5 kB / 1.331 GB, free: 8.789 MB / 1.029 GB
Notification: Performance of pre-optimization done (n=104): time 3.466e-06/0.9615, allocations: 0 / 1.331 GB, free: 8.789 MB / 1.029 GB
Notification: Performance of matching and sorting (n=183): time 0.1458/1.107, allocations: 36.19 MB / 1.366 GB, free: 4.551 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/1.107, allocations: 69.41 kB / 1.367 GB, free: 4.469 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002035/1.109, allocations: 1.058 MB / 1.368 GB, free: 3.387 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 0.0003742/1.11, allocations: 57.7 kB / 1.368 GB, free: 3.324 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0006944/1.11, allocations: 0.8093 MB / 1.368 GB, free: 2.504 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0009825/1.111, allocations: 0.6584 MB / 1.369 GB, free: 1.84 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/1.113, allocations: 359.5 kB / 1.369 GB, free: 1.484 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 0.0001779/1.113, allocations: 301.1 kB / 1.37 GB, free: 1.188 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003287/1.116, allocations: 1.932 MB / 1.372 GB, free: 15.25 MB / 1.076 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003721/1.12, allocations: 2.293 MB / 1.374 GB, free: 12.83 MB / 1.076 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0073/1.127, allocations: 4.386 MB / 1.378 GB, free: 8.324 MB / 1.076 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/1.127, allocations: 0 / 1.378 GB, free: 8.324 MB / 1.076 GB
Notification: Performance of matching and sorting (n=241) (initialization): time 0.02251/1.15, allocations: 8.871 MB / 1.387 GB, free: 15.43 MB / 1.092 GB
Notification: Performance of prepare postOptimizeDAE: time 4.19e-05/1.15, allocations: 11.94 kB / 1.387 GB, free: 15.41 MB / 1.092 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.733e-05/1.15, allocations: 15.94 kB / 1.387 GB, free: 15.4 MB / 1.092 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.01818/1.168, allocations: 4.98 MB / 1.392 GB, free: 10.4 MB / 1.092 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000923/1.169, allocations: 187.7 kB / 1.392 GB, free: 10.22 MB / 1.092 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06536/1.234, allocations: 38.55 MB / 1.429 GB, free: 3.199 MB / 1.123 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002162/1.236, allocations: 107.8 kB / 1.43 GB, free: 3.094 MB / 1.123 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004806/1.237, allocations: 63.98 kB / 1.43 GB, free: 3.031 MB / 1.123 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 41
 * 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 (105):
 * Single equations (assignments): 101
 * 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
   {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.001789/1.239, allocations: 0.81 MB / 1.43 GB, free: 2.211 MB / 1.123 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/1.239, allocations: 147.1 kB / 1.431 GB, free: 2.066 MB / 1.123 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02155/1.261, allocations: 8.737 MB / 1.439 GB, free: 9.289 MB / 1.139 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-05/1.261, allocations: 20 kB / 1.439 GB, free: 9.27 MB / 1.139 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.68e-05/1.261, allocations: 28 kB / 1.439 GB, free: 9.242 MB / 1.139 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.671e-05/1.261, allocations: 7.969 kB / 1.439 GB, free: 9.234 MB / 1.139 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0303/1.291, allocations: 13.23 MB / 1.452 GB, free: 11.86 MB / 1.154 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.512e-05/1.291, allocations: 4 kB / 1.452 GB, free: 11.85 MB / 1.154 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005388/1.292, allocations: 123.7 kB / 1.452 GB, free: 11.73 MB / 1.154 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.01742/1.309, allocations: 4.847 MB / 1.457 GB, free: 6.871 MB / 1.154 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003743/1.31, allocations: 32 kB / 1.457 GB, free: 6.84 MB / 1.154 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06061/1.37, allocations: 36.45 MB / 1.493 GB, free: 1.902 MB / 1.186 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.37, allocations: 4 kB / 1.493 GB, free: 1.898 MB / 1.186 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02055/1.391, allocations: 8.456 MB / 1.501 GB, free: 9.348 MB / 1.201 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.00187/1.393, allocations: 0.5769 MB / 1.501 GB, free: 8.773 MB / 1.201 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004488/1.393, allocations: 39.94 kB / 1.501 GB, free: 8.734 MB / 1.201 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/1.394, allocations: 91.88 kB / 1.502 GB, free: 8.645 MB / 1.201 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008891/1.395, allocations: 169.5 kB / 1.502 GB, free: 8.48 MB / 1.201 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/1.395, allocations: 48 kB / 1.502 GB, free: 8.434 MB / 1.201 GB
Notification: Performance of sorting global known variables: time 0.001362/1.397, allocations: 0.7382 MB / 1.502 GB, free: 7.684 MB / 1.201 GB
Notification: Performance of sort global known variables: time 1.2e-07/1.397, allocations: 0 / 1.502 GB, free: 7.684 MB / 1.201 GB
Notification: Performance of remove unused functions: time 0.003744/1.401, allocations: 1.004 MB / 1.503 GB, free: 6.68 MB / 1.201 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 (66):
 * Single equations (assignments): 62
 * 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
   {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003799/1.401, allocations: 143.1 kB / 1.504 GB, free: 6.531 MB / 1.201 GB
Notification: Performance of simCode: created initialization part: time 0.01098/1.412, allocations: 5.736 MB / 1.509 GB, free: 0.7422 MB / 1.201 GB
Notification: Performance of simCode: created event and clocks part: time 9.899e-06/1.412, allocations: 0 / 1.509 GB, free: 0.7422 MB / 1.201 GB
Notification: Performance of simCode: created simulation system equations: time 0.008833/1.421, allocations: 3.794 MB / 1.513 GB, free: 12.89 MB / 1.217 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001824/1.423, allocations: 243 kB / 1.513 GB, free: 12.66 MB / 1.217 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009802/1.432, allocations: 5.196 MB / 1.518 GB, free: 7.414 MB / 1.217 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002327/1.435, allocations: 1.855 MB / 1.52 GB, free: 5.523 MB / 1.217 GB
Notification: Performance of simCode: alias equations: time 0.0009374/1.436, allocations: 359.4 kB / 1.52 GB, free: 5.168 MB / 1.217 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002232/1.436, allocations: 67.44 kB / 1.52 GB, free: 5.102 MB / 1.217 GB
Notification: Performance of SimCode: time 8.01e-07/1.436, allocations: 0 / 1.52 GB, free: 5.102 MB / 1.217 GB
Notification: Performance of Templates: time 0.1003/1.536, allocations: 63.47 MB / 1.582 GB, free: 5.734 MB / 1.279 GB
"
[Timeout remaining time 298]
make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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: 10.25672214012593]