Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.001413/0.001413, allocations: 118.5 kB / 17.13 MB, free: 5.781 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.001389/0.001389, allocations: 191.7 kB / 20.08 MB, free: 2.871 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 / 248.5 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.721/2.721, allocations: 443.5 MB / 0.7293 GB, free: 14.48 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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,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_10_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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 63.89 kB / 1.057 GB, free: 1.883 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3365, allocations: 160.7 MB / 1.214 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.03075/0.3672, allocations: 22.96 MB / 1.236 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01397/0.3812, allocations: 6.276 MB / 1.243 GB, free: 3.516 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/0.3836, allocations: 95.56 kB / 1.243 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004691/0.3883, allocations: 1.586 MB / 1.244 GB, free: 1.832 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005034/0.3934, allocations: 1.727 MB / 1.246 GB, free: 100 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.3974, allocations: 1.337 MB / 1.247 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.008938/0.4064, allocations: 5.939 MB / 1.253 GB, free: 8.805 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007101/0.4135, allocations: 4.479 MB / 1.257 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004628/0.4181, allocations: 2.45 MB / 1.26 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.6712/1.089, allocations: 3.068 MB / 1.263 GB, free: 20.04 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001361/1.091, allocations: 454.8 kB / 1.263 GB, free: 20.04 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/1.094, allocations: 1.116 MB / 1.264 GB, free: 20.04 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002973/1.097, allocations: 2.089 MB / 1.266 GB, free: 20.04 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.005007/1.102, allocations: 2.163 MB / 1.268 GB, free: 19.75 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/1.114, allocations: 7.314 MB / 1.276 GB, free: 19.01 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.114, allocations: 0 / 1.276 GB, free: 19.01 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.643e-06/1.114, allocations: 2.812 kB / 1.276 GB, free: 19.01 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002775/1.114, allocations: 0 / 1.276 GB, free: 19.01 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01422/1.128, allocations: 3.916 MB / 1.279 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/1.128, allocations: 10.14 kB / 1.279 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007867/1.136, allocations: 1.228 MB / 1.281 GB, free: 17.12 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006994/1.143, allocations: 2.349 MB / 1.283 GB, free: 16.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/1.144, allocations: 243.4 kB / 1.283 GB, free: 16.56 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001825/1.145, allocations: 316.9 kB / 1.283 GB, free: 16.56 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01576/1.161, allocations: 6.215 MB / 1.29 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001166/1.161, allocations: 17.66 kB / 1.29 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006573/1.162, allocations: 145.4 kB / 1.29 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006037/1.163, allocations: 407.1 kB / 1.29 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/1.174, allocations: 4.66 MB / 1.295 GB, free: 14.97 MB / 0.9981 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.0361/1.21, allocations: 28.99 MB / 1.323 GB, free: 7.816 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002166/1.212, allocations: 1.372 MB / 1.324 GB, free: 7.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002011/1.214, allocations: 1.442 MB / 1.326 GB, free: 6.82 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001231/1.214, allocations: 13.11 kB / 1.326 GB, free: 6.82 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.517e-05/1.214, allocations: 42.66 kB / 1.326 GB, free: 6.77 MB / 1.014 GB Notification: Performance of pre-optimization done (n=110): time 3.577e-06/1.214, allocations: 1.859 kB / 1.326 GB, free: 6.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=179): time 0.1454/1.36, allocations: 37.15 MB / 1.362 GB, free: 5.758 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.578e-05/1.36, allocations: 73.41 kB / 1.362 GB, free: 5.672 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002306/1.362, allocations: 1.419 MB / 1.364 GB, free: 4.246 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0003501/1.362, allocations: 53.7 kB / 1.364 GB, free: 4.188 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001251/1.364, allocations: 1.583 MB / 1.365 GB, free: 2.598 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008108/1.364, allocations: 0.6396 MB / 1.366 GB, free: 1.965 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008223/1.365, allocations: 387.5 kB / 1.366 GB, free: 1.578 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.365, allocations: 309.1 kB / 1.366 GB, free: 1.273 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002804/1.368, allocations: 1.784 MB / 1.368 GB, free: 15.48 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003257/1.371, allocations: 2.347 MB / 1.37 GB, free: 12.89 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006426/1.378, allocations: 4.386 MB / 1.375 GB, free: 8.336 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.47e-05/1.378, allocations: 9.406 kB / 1.375 GB, free: 8.328 MB / 1.045 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01939/1.397, allocations: 8.426 MB / 1.383 GB, free: 76 kB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/1.397, allocations: 12 kB / 1.383 GB, free: 64 kB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.6e-05/1.397, allocations: 20 kB / 1.383 GB, free: 44 kB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01585/1.413, allocations: 4.639 MB / 1.388 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/1.415, allocations: 300 kB / 1.388 GB, free: 11.12 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05268/1.467, allocations: 32.63 MB / 1.42 GB, free: 9.746 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/1.47, allocations: 151.8 kB / 1.42 GB, free: 9.598 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000298/1.47, allocations: 80 kB / 1.42 GB, free: 9.52 MB / 1.092 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.003025/1.473, allocations: 1.331 MB / 1.421 GB, free: 8.199 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000574/1.474, allocations: 210.7 kB / 1.421 GB, free: 7.992 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01924/1.493, allocations: 8.297 MB / 1.429 GB, free: 15.77 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.416e-05/1.493, allocations: 16 kB / 1.43 GB, free: 15.75 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.26e-05/1.493, allocations: 24 kB / 1.43 GB, free: 15.73 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.545e-05/1.493, allocations: 7.969 kB / 1.43 GB, free: 15.72 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02864/1.522, allocations: 12.7 MB / 1.442 GB, free: 3.035 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.283e-05/1.522, allocations: 8 kB / 1.442 GB, free: 3.027 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008105/1.523, allocations: 166.4 kB / 1.442 GB, free: 2.875 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01574/1.538, allocations: 4.487 MB / 1.446 GB, free: 14.38 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003601/1.539, allocations: 36 kB / 1.447 GB, free: 14.34 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05258/1.591, allocations: 32.23 MB / 1.478 GB, free: 13.35 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.24e-05/1.591, allocations: 8 kB / 1.478 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01868/1.61, allocations: 8.096 MB / 1.486 GB, free: 5.23 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001834/1.612, allocations: 0.6206 MB / 1.487 GB, free: 4.59 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004203/1.612, allocations: 51.86 kB / 1.487 GB, free: 4.539 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.614, allocations: 135.8 kB / 1.487 GB, free: 4.406 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008479/1.615, allocations: 167.4 kB / 1.487 GB, free: 4.25 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/1.615, allocations: 48 kB / 1.487 GB, free: 4.203 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001494/1.616, allocations: 0.9627 MB / 1.488 GB, free: 3.246 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/1.616, allocations: 4 kB / 1.488 GB, free: 3.242 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003858/1.62, allocations: 1.113 MB / 1.489 GB, free: 2.129 MB / 1.154 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.0003508/1.62, allocations: 146.7 kB / 1.489 GB, free: 1.988 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01345/1.634, allocations: 6.33 MB / 1.495 GB, free: 11.67 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/1.634, allocations: 0 / 1.495 GB, free: 11.67 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.01029/1.644, allocations: 4.183 MB / 1.499 GB, free: 7.457 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003197/1.647, allocations: 0.5173 MB / 1.5 GB, free: 6.961 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.662, allocations: 7.421 MB / 1.507 GB, free: 15.47 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003547/1.666, allocations: 2.802 MB / 1.51 GB, free: 12.64 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004731/1.666, allocations: 115.4 kB / 1.51 GB, free: 12.52 MB / 1.186 GB Notification: Performance of SimCode: time 1.873e-06/1.666, allocations: 0 / 1.51 GB, free: 12.52 MB / 1.186 GB Notification: Performance of Templates: time 0.1818/1.848, allocations: 154.4 MB / 1.661 GB, free: 2.18 MB / 1.326 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.244044580031186]