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.001837/0.001837, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002354/0.002354, allocations: 212.1 kB / 22.24 MB, free: 5.262 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.48/1.48, allocations: 230.6 MB / 256 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.358/3.358, allocations: 0.5107 GB / 0.8158 GB, free: 17.83 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.002091/0.002091, allocations: 70.44 kB / 1.186 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4014, allocations: 181.9 MB / 1.364 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02857/0.4299, allocations: 21.57 MB / 1.385 GB, free: 7.922 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01238/0.4423, allocations: 6.182 MB / 1.391 GB, free: 1.727 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002082/0.4444, allocations: 127.1 kB / 1.391 GB, free: 1.602 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004594/0.449, allocations: 1.565 MB / 1.393 GB, free: 32 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00444/0.4534, allocations: 1.727 MB / 1.394 GB, free: 14.3 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.003552/0.457, allocations: 1.355 MB / 1.396 GB, free: 12.95 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.007691/0.4647, allocations: 5.928 MB / 1.401 GB, free: 7 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005382/0.4701, allocations: 3.193 MB / 1.405 GB, free: 3.719 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00456/0.4746, allocations: 2.493 MB / 1.407 GB, free: 1.219 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005358/0.48, allocations: 2.924 MB / 1.41 GB, free: 14.29 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.001304/0.4813, allocations: 460 kB / 1.41 GB, free: 13.84 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.484, allocations: 1.038 MB / 1.411 GB, free: 12.8 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.002765/0.4868, allocations: 2.081 MB / 1.413 GB, free: 10.71 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002882/0.4897, allocations: 1.751 MB / 1.415 GB, free: 8.953 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.009133/0.4988, allocations: 7.347 MB / 1.422 GB, free: 1.582 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.4988, allocations: 4 kB / 1.422 GB, free: 1.578 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.994e-06/0.4988, allocations: 0 / 1.422 GB, free: 1.578 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002152/0.499, allocations: 0 / 1.422 GB, free: 1.578 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.008826/0.5079, allocations: 3.842 MB / 1.426 GB, free: 13.68 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.5079, allocations: 8.031 kB / 1.426 GB, free: 13.68 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006208/0.5141, allocations: 1.231 MB / 1.427 GB, free: 12.44 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005463/0.5196, allocations: 2.309 MB / 1.429 GB, free: 10.08 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002223/0.5198, allocations: 234.4 kB / 1.43 GB, free: 9.852 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008978/0.5207, allocations: 315.9 kB / 1.43 GB, free: 9.543 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01272/0.5334, allocations: 6.446 MB / 1.436 GB, free: 2.789 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.98e-05/0.5335, allocations: 15.86 kB / 1.436 GB, free: 2.773 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004184/0.5339, allocations: 143.9 kB / 1.436 GB, free: 2.633 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005709/0.5345, allocations: 406.2 kB / 1.437 GB, free: 2.234 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009647/0.5441, allocations: 4.654 MB / 1.441 GB, free: 13.57 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.03417/0.5783, allocations: 18.08 MB / 1.459 GB, free: 11 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002537/0.5808, allocations: 1.361 MB / 1.46 GB, free: 9.625 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002446/0.5833, allocations: 1.44 MB / 1.462 GB, free: 8.184 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001634/0.5835, allocations: 13 kB / 1.462 GB, free: 8.172 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.954e-05/0.5835, allocations: 51.44 kB / 1.462 GB, free: 8.113 MB / 1.154 GB Notification: Performance of pre-optimization done (n=110): time 4.518e-06/0.5835, allocations: 0 / 1.462 GB, free: 8.113 MB / 1.154 GB Notification: Performance of matching and sorting (n=179): time 0.1541/0.7376, allocations: 37.07 MB / 1.498 GB, free: 2.996 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001898/0.7378, allocations: 69.41 kB / 1.498 GB, free: 2.914 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003087/0.7409, allocations: 1.364 MB / 1.499 GB, free: 1.539 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003807/0.7413, allocations: 53.7 kB / 1.499 GB, free: 1.48 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001559/0.7428, allocations: 1.59 MB / 1.501 GB, free: 15.88 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009034/0.7437, allocations: 0.6352 MB / 1.502 GB, free: 15.23 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009908/0.7447, allocations: 383.5 kB / 1.502 GB, free: 14.85 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.7449, allocations: 305.1 kB / 1.502 GB, free: 14.55 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002948/0.7478, allocations: 1.788 MB / 1.504 GB, free: 12.76 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003421/0.7513, allocations: 2.35 MB / 1.506 GB, free: 10.16 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006639/0.7579, allocations: 4.391 MB / 1.511 GB, free: 5.531 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.253e-05/0.7579, allocations: 4 kB / 1.511 GB, free: 5.527 MB / 1.201 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.02002/0.778, allocations: 8.412 MB / 1.519 GB, free: 13.08 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.778, allocations: 15.94 kB / 1.519 GB, free: 13.06 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.271e-05/0.778, allocations: 20 kB / 1.519 GB, free: 13.04 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01585/0.7939, allocations: 4.614 MB / 1.523 GB, free: 8.414 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.7952, allocations: 311.4 kB / 1.524 GB, free: 8.109 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05348/0.8487, allocations: 31.42 MB / 1.554 GB, free: 8.062 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002211/0.8509, allocations: 155.8 kB / 1.554 GB, free: 7.91 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003589/0.8513, allocations: 80.22 kB / 1.555 GB, free: 7.832 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.002767/0.854, allocations: 1.332 MB / 1.556 GB, free: 6.488 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000605/0.8546, allocations: 202.7 kB / 1.556 GB, free: 6.289 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01943/0.8741, allocations: 8.3 MB / 1.564 GB, free: 13.94 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.009e-05/0.8741, allocations: 16 kB / 1.564 GB, free: 13.92 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.877e-05/0.8742, allocations: 27.98 kB / 1.564 GB, free: 13.89 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-05/0.8742, allocations: 7.969 kB / 1.564 GB, free: 13.89 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02849/0.9027, allocations: 11.64 MB / 1.576 GB, free: 2.09 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-05/0.9027, allocations: 16.09 kB / 1.576 GB, free: 2.074 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007799/0.9035, allocations: 167.7 kB / 1.576 GB, free: 1.91 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01534/0.9189, allocations: 4.458 MB / 1.58 GB, free: 13.43 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/0.9192, allocations: 39.94 kB / 1.58 GB, free: 13.39 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.8438/1.763, allocations: 31.02 MB / 1.61 GB, free: 224.3 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.869e-05/1.763, allocations: 8.406 kB / 1.61 GB, free: 224.3 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0286/1.792, allocations: 8.1 MB / 1.618 GB, free: 223.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002369/1.794, allocations: 0.544 MB / 1.619 GB, free: 223.7 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007702/1.795, allocations: 40.09 kB / 1.619 GB, free: 223.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/1.797, allocations: 138.1 kB / 1.619 GB, free: 223.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001122/1.798, allocations: 177.4 kB / 1.619 GB, free: 223.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002586/1.799, allocations: 51.41 kB / 1.619 GB, free: 223.7 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.002017/1.801, allocations: 0.8962 MB / 1.62 GB, free: 223.4 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.3e-07/1.801, allocations: 1.312 kB / 1.62 GB, free: 223.4 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004906/1.805, allocations: 1.114 MB / 1.621 GB, free: 223.3 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.000435/1.806, allocations: 153.6 kB / 1.621 GB, free: 223.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01764/1.824, allocations: 6.306 MB / 1.628 GB, free: 220.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-05/1.824, allocations: 1.75 kB / 1.628 GB, free: 220.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01266/1.836, allocations: 4.178 MB / 1.632 GB, free: 219.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004059/1.84, allocations: 0.5123 MB / 1.632 GB, free: 219.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/1.856, allocations: 6.99 MB / 1.639 GB, free: 215.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003545/1.86, allocations: 2.167 MB / 1.641 GB, free: 215.4 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001211/1.861, allocations: 384.3 kB / 1.641 GB, free: 215.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002263/1.861, allocations: 95.41 kB / 1.641 GB, free: 215.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.122e-06/1.861, allocations: 0 / 1.641 GB, free: 215.3 MB / 1.295 GB Notification: Performance of Templates: time 0.07198/1.933, allocations: 67.62 MB / 1.708 GB, free: 164.9 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.749026080593467]