Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001484/0.001484, allocations: 109.1 kB / 18.99 MB, free: 2.609 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.001729/0.001729, allocations: 218.9 kB / 22.3 MB, free: 5.281 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.643/1.643, allocations: 230.6 MB / 256.1 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.262/3.262, allocations: 0.5107 GB / 0.8159 GB, free: 17.79 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.00209/0.00209, allocations: 67.16 kB / 1.186 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3523/0.3544, allocations: 181.9 MB / 1.364 GB, free: 13.49 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02868/0.383, allocations: 21.57 MB / 1.385 GB, free: 7.848 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.395, allocations: 6.183 MB / 1.391 GB, free: 1.652 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002164/0.3971, allocations: 127 kB / 1.391 GB, free: 1.527 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004871/0.402, allocations: 1.563 MB / 1.393 GB, free: 15.96 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005072/0.4071, allocations: 1.727 MB / 1.394 GB, free: 14.23 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003933/0.411, allocations: 1.351 MB / 1.396 GB, free: 12.88 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007805/0.4188, allocations: 5.932 MB / 1.402 GB, free: 6.93 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006264/0.4251, allocations: 3.202 MB / 1.405 GB, free: 3.641 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004142/0.4292, allocations: 2.493 MB / 1.407 GB, free: 1.141 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004654/0.4339, allocations: 2.92 MB / 1.41 GB, free: 14.21 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001134/0.435, allocations: 456 kB / 1.41 GB, free: 13.77 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.4376, allocations: 1.03 MB / 1.411 GB, free: 12.73 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002826/0.4405, allocations: 2.093 MB / 1.413 GB, free: 10.64 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003294/0.4438, allocations: 1.747 MB / 1.415 GB, free: 8.883 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.008262/0.452, allocations: 7.355 MB / 1.422 GB, free: 1.504 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.452, allocations: 0 / 1.422 GB, free: 1.504 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.614e-06/0.452, allocations: 3.938 kB / 1.422 GB, free: 1.5 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001486/0.4522, allocations: 0 / 1.422 GB, free: 1.5 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.007518/0.4597, allocations: 3.838 MB / 1.426 GB, free: 13.61 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.4597, allocations: 12.03 kB / 1.426 GB, free: 13.6 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006434/0.4662, allocations: 1.243 MB / 1.427 GB, free: 12.36 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005217/0.4714, allocations: 2.305 MB / 1.43 GB, free: 10 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002125/0.4716, allocations: 242.3 kB / 1.43 GB, free: 9.762 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008006/0.4724, allocations: 311.9 kB / 1.43 GB, free: 9.457 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01138/0.4838, allocations: 6.446 MB / 1.436 GB, free: 2.703 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.249e-05/0.4839, allocations: 7.938 kB / 1.436 GB, free: 2.695 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004178/0.4843, allocations: 147.9 kB / 1.437 GB, free: 2.551 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005169/0.4848, allocations: 402.3 kB / 1.437 GB, free: 2.156 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008185/0.493, allocations: 4.658 MB / 1.441 GB, free: 13.49 MB / 1.139 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.02906/0.522, allocations: 18.08 MB / 1.459 GB, free: 10.91 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002125/0.5242, allocations: 1.365 MB / 1.46 GB, free: 9.531 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001999/0.5262, allocations: 1.444 MB / 1.462 GB, free: 8.086 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001074/0.5263, allocations: 17 kB / 1.462 GB, free: 8.07 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.5263, allocations: 43.56 kB / 1.462 GB, free: 8.02 MB / 1.154 GB Notification: Performance of pre-optimization done (n=110): time 3.206e-06/0.5263, allocations: 0 / 1.462 GB, free: 8.02 MB / 1.154 GB Notification: Performance of matching and sorting (n=179): time 0.1535/0.6798, allocations: 37.06 MB / 1.498 GB, free: 2.902 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.882e-05/0.6799, allocations: 69.41 kB / 1.498 GB, free: 2.82 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/0.682, allocations: 1.367 MB / 1.5 GB, free: 1.441 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003195/0.6823, allocations: 53.7 kB / 1.5 GB, free: 1.383 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001242/0.6835, allocations: 1.586 MB / 1.501 GB, free: 15.78 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007763/0.6843, allocations: 0.6391 MB / 1.502 GB, free: 15.13 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008143/0.6851, allocations: 383.5 kB / 1.502 GB, free: 14.75 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6852, allocations: 304.9 kB / 1.502 GB, free: 14.45 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002707/0.6879, allocations: 1.784 MB / 1.504 GB, free: 12.66 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003239/0.6912, allocations: 2.35 MB / 1.506 GB, free: 10.07 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006357/0.6975, allocations: 4.391 MB / 1.511 GB, free: 5.438 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.288e-05/0.6975, allocations: 4 kB / 1.511 GB, free: 5.434 MB / 1.201 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01952/0.7171, allocations: 8.419 MB / 1.519 GB, free: 12.98 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.853e-05/0.7171, allocations: 12 kB / 1.519 GB, free: 12.96 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.373e-05/0.7171, allocations: 20 kB / 1.519 GB, free: 12.95 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0158/0.7329, allocations: 4.615 MB / 1.523 GB, free: 8.316 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.7342, allocations: 303.5 kB / 1.524 GB, free: 8.02 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05162/0.7858, allocations: 31.43 MB / 1.554 GB, free: 7.969 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.788, allocations: 151.8 kB / 1.555 GB, free: 7.82 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/0.7882, allocations: 83.98 kB / 1.555 GB, free: 7.738 MB / 1.248 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.00227/0.7905, allocations: 1.33 MB / 1.556 GB, free: 6.398 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004611/0.791, allocations: 198.8 kB / 1.556 GB, free: 6.203 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01921/0.8102, allocations: 8.3 MB / 1.564 GB, free: 13.85 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.379e-05/0.8102, allocations: 16 kB / 1.564 GB, free: 13.84 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-05/0.8103, allocations: 28.19 kB / 1.564 GB, free: 13.81 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-05/0.8103, allocations: 11.95 kB / 1.564 GB, free: 13.8 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02643/0.8368, allocations: 11.65 MB / 1.576 GB, free: 1.988 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-05/0.8368, allocations: 8.844 kB / 1.576 GB, free: 1.98 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007877/0.8376, allocations: 159.8 kB / 1.576 GB, free: 1.824 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01544/0.853, allocations: 4.478 MB / 1.58 GB, free: 13.33 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002797/0.8533, allocations: 39.94 kB / 1.58 GB, free: 13.29 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7426/1.596, allocations: 31.01 MB / 1.611 GB, free: 224.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.025e-06/1.596, allocations: 9.969 kB / 1.611 GB, free: 224.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0183/1.614, allocations: 8.099 MB / 1.618 GB, free: 224.2 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001427/1.616, allocations: 0.5374 MB / 1.619 GB, free: 224.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003058/1.616, allocations: 42.92 kB / 1.619 GB, free: 224.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/1.617, allocations: 136.5 kB / 1.619 GB, free: 224.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007999/1.618, allocations: 180.7 kB / 1.619 GB, free: 224.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001396/1.618, allocations: 45.83 kB / 1.619 GB, free: 224.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001134/1.619, allocations: 0.9032 MB / 1.62 GB, free: 223.7 MB / 1.295 GB Notification: Performance of sort global known variables: time 8.1e-08/1.619, allocations: 0 / 1.62 GB, free: 223.7 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003345/1.623, allocations: 1.112 MB / 1.621 GB, free: 223.7 MB / 1.295 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.000278/1.623, allocations: 148 kB / 1.622 GB, free: 223.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01255/1.636, allocations: 6.311 MB / 1.628 GB, free: 221.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/1.636, allocations: 1.922 kB / 1.628 GB, free: 221.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.00938/1.645, allocations: 4.183 MB / 1.632 GB, free: 219.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002855/1.648, allocations: 0.5125 MB / 1.632 GB, free: 219.4 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/1.659, allocations: 6.987 MB / 1.639 GB, free: 216.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002942/1.662, allocations: 2.162 MB / 1.641 GB, free: 215.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001068/1.663, allocations: 385.3 kB / 1.642 GB, free: 215.7 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002393/1.663, allocations: 96.14 kB / 1.642 GB, free: 215.7 MB / 1.295 GB Notification: Performance of SimCode: time 1.102e-06/1.663, allocations: 0 / 1.642 GB, free: 215.7 MB / 1.295 GB Notification: Performance of Templates: time 0.06939/1.733, allocations: 63.71 MB / 1.704 GB, free: 168.7 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.54571264795959]