Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 104.2 kB / 19.74 MB, free: 2.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001923/0.001923, allocations: 216.6 kB / 23.05 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 256.8 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.454/3.454, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,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") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 68.19 kB / 1.155 GB, free: 25.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3513, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02954/0.3809, allocations: 21.54 MB / 1.348 GB, free: 11.33 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0135/0.3944, allocations: 6.19 MB / 1.354 GB, free: 5.125 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/0.3974, allocations: 123.1 kB / 1.354 GB, free: 5.004 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005597/0.403, allocations: 1.564 MB / 1.356 GB, free: 3.438 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006365/0.4094, allocations: 1.735 MB / 1.358 GB, free: 1.695 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004996/0.4144, allocations: 1.34 MB / 1.359 GB, free: 364 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01008/0.4245, allocations: 5.932 MB / 1.365 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00849/0.433, allocations: 3.193 MB / 1.368 GB, free: 7.121 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006729/0.4397, allocations: 2.508 MB / 1.37 GB, free: 4.605 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006226/0.4459, allocations: 2.92 MB / 1.373 GB, free: 1.676 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.447, allocations: 456 kB / 1.374 GB, free: 1.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002628/0.4496, allocations: 1.034 MB / 1.375 GB, free: 200 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002784/0.4524, allocations: 2.081 MB / 1.377 GB, free: 14.11 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003374/0.4558, allocations: 1.751 MB / 1.378 GB, free: 12.35 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0101/0.4659, allocations: 7.355 MB / 1.385 GB, free: 4.973 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.4659, allocations: 0 / 1.385 GB, free: 4.973 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4659, allocations: 0 / 1.385 GB, free: 4.973 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002746/0.4662, allocations: 0 / 1.385 GB, free: 4.973 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01031/0.4765, allocations: 3.841 MB / 1.389 GB, free: 1.082 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.988e-05/0.4766, allocations: 12.03 kB / 1.389 GB, free: 1.07 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006544/0.4831, allocations: 1.239 MB / 1.39 GB, free: 15.83 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005501/0.4886, allocations: 2.305 MB / 1.393 GB, free: 13.47 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003094/0.4889, allocations: 242.4 kB / 1.393 GB, free: 13.23 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/0.4901, allocations: 311.9 kB / 1.393 GB, free: 12.93 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01447/0.5046, allocations: 6.442 MB / 1.4 GB, free: 6.18 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/0.5048, allocations: 19.88 kB / 1.4 GB, free: 6.16 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000971/0.5057, allocations: 139.9 kB / 1.4 GB, free: 6.023 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006415/0.5064, allocations: 410.3 kB / 1.4 GB, free: 5.621 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01024/0.5166, allocations: 4.651 MB / 1.405 GB, free: 0.9609 MB / 1.092 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.0326/0.5492, allocations: 18.08 MB / 1.422 GB, free: 14.38 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00245/0.5517, allocations: 1.371 MB / 1.424 GB, free: 13 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/0.5539, allocations: 1.433 MB / 1.425 GB, free: 11.56 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001492/0.5541, allocations: 17 kB / 1.425 GB, free: 11.55 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.506e-05/0.5541, allocations: 39.56 kB / 1.425 GB, free: 11.5 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.657e-06/0.5541, allocations: 0 / 1.425 GB, free: 11.5 MB / 1.123 GB Notification: Performance of matching and sorting (n=179): time 0.1488/0.7029, allocations: 37.07 MB / 1.461 GB, free: 6.379 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.121e-05/0.703, allocations: 77.41 kB / 1.461 GB, free: 6.289 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002153/0.7051, allocations: 1.352 MB / 1.463 GB, free: 4.926 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002821/0.7054, allocations: 57.7 kB / 1.463 GB, free: 4.863 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001211/0.7066, allocations: 1.594 MB / 1.464 GB, free: 3.254 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007674/0.7074, allocations: 0.6352 MB / 1.465 GB, free: 2.613 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008633/0.7082, allocations: 379.5 kB / 1.465 GB, free: 2.234 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7084, allocations: 309.1 kB / 1.466 GB, free: 1.93 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002747/0.7111, allocations: 1.784 MB / 1.467 GB, free: 144 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003377/0.7145, allocations: 2.35 MB / 1.47 GB, free: 13.54 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007696/0.7222, allocations: 4.391 MB / 1.474 GB, free: 8.906 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-05/0.7222, allocations: 8 kB / 1.474 GB, free: 8.898 MB / 1.17 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02065/0.7429, allocations: 8.416 MB / 1.482 GB, free: 456 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/0.7429, allocations: 19.88 kB / 1.482 GB, free: 436 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-05/0.743, allocations: 20 kB / 1.482 GB, free: 416 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01609/0.759, allocations: 4.607 MB / 1.487 GB, free: 11.79 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001389/0.7604, allocations: 307.4 kB / 1.487 GB, free: 11.49 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05534/0.8158, allocations: 31.43 MB / 1.518 GB, free: 11.44 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002339/0.8181, allocations: 160 kB / 1.518 GB, free: 11.28 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003931/0.8185, allocations: 84 kB / 1.518 GB, free: 11.2 MB / 1.217 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 {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002836/0.8213, allocations: 1.328 MB / 1.519 GB, free: 9.863 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006688/0.822, allocations: 198.8 kB / 1.519 GB, free: 9.668 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0204/0.8424, allocations: 8.3 MB / 1.527 GB, free: 1.32 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.888e-05/0.8424, allocations: 19.94 kB / 1.527 GB, free: 1.301 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001258/0.8426, allocations: 24 kB / 1.527 GB, free: 1.277 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-05/0.8426, allocations: 15.97 kB / 1.527 GB, free: 1.262 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0285/0.8711, allocations: 11.64 MB / 1.539 GB, free: 5.465 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.141e-05/0.8711, allocations: 8 kB / 1.539 GB, free: 5.457 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008223/0.872, allocations: 167.7 kB / 1.539 GB, free: 5.293 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01548/0.8874, allocations: 4.471 MB / 1.543 GB, free: 0.8047 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003676/0.8878, allocations: 39.94 kB / 1.543 GB, free: 0.7656 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05194/0.9397, allocations: 31.03 MB / 1.574 GB, free: 1.113 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/0.9398, allocations: 11.94 kB / 1.574 GB, free: 1.102 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01848/0.9582, allocations: 8.096 MB / 1.582 GB, free: 8.871 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001767/0.96, allocations: 0.5337 MB / 1.582 GB, free: 8.336 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005975/0.9606, allocations: 43.92 kB / 1.582 GB, free: 8.293 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001739/0.9623, allocations: 139.8 kB / 1.582 GB, free: 8.156 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009218/0.9633, allocations: 173.2 kB / 1.583 GB, free: 7.988 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001977/0.9635, allocations: 52 kB / 1.583 GB, free: 7.938 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001586/0.965, allocations: 0.8976 MB / 1.583 GB, free: 7.043 MB / 1.279 GB Notification: Performance of sort global known variables: time 9e-08/0.965, allocations: 0 / 1.583 GB, free: 7.043 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.004077/0.9691, allocations: 1.109 MB / 1.585 GB, free: 5.934 MB / 1.279 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 {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004189/0.9695, allocations: 155 kB / 1.585 GB, free: 5.77 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01375/0.9833, allocations: 6.304 MB / 1.591 GB, free: 15.39 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/0.9833, allocations: 0 / 1.591 GB, free: 15.39 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01011/0.9934, allocations: 4.205 MB / 1.595 GB, free: 11.1 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002975/0.9964, allocations: 0.5017 MB / 1.595 GB, free: 10.61 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/1.011, allocations: 7.507 MB / 1.603 GB, free: 2.988 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003571/1.015, allocations: 2.247 MB / 1.605 GB, free: 0.6953 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004237/1.015, allocations: 103.4 kB / 1.605 GB, free: 0.5938 MB / 1.295 GB Notification: Performance of SimCode: time 1.744e-06/1.015, allocations: 0 / 1.605 GB, free: 0.5938 MB / 1.295 GB Notification: Performance of Templates: time 0.7663/1.781, allocations: 155.3 MB / 1.757 GB, free: 136.2 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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: 20.670619195094332]