Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.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.94 MB, free: 2.551 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.002203/0.002203, allocations: 213.2 kB / 22.25 MB, free: 4.855 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.518/1.518, allocations: 230.6 MB / 256 MB, free: 7.797 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.225/3.225, allocations: 0.4892 GB / 0.7943 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_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_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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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_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_N") [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.002115/0.002115, allocations: 77.28 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3434, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02869/0.3721, allocations: 22.25 MB / 1.347 GB, free: 11.5 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01252/0.3847, allocations: 6.454 MB / 1.354 GB, free: 5.023 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002011/0.3867, allocations: 127.1 kB / 1.354 GB, free: 4.898 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.00429/0.391, allocations: 1.512 MB / 1.355 GB, free: 3.383 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004659/0.3956, allocations: 1.933 MB / 1.357 GB, free: 1.441 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003644/0.3993, allocations: 1.465 MB / 1.358 GB, free: 15.97 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008072/0.4073, allocations: 6.909 MB / 1.365 GB, free: 9.043 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005897/0.4132, allocations: 3.722 MB / 1.369 GB, free: 5.223 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005396/0.4186, allocations: 2.933 MB / 1.372 GB, free: 2.281 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005934/0.4246, allocations: 3.559 MB / 1.375 GB, free: 14.71 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.4256, allocations: 0.5273 MB / 1.376 GB, free: 14.18 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.4283, allocations: 1.108 MB / 1.377 GB, free: 13.07 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002845/0.4311, allocations: 2.537 MB / 1.379 GB, free: 10.53 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003158/0.4343, allocations: 2.054 MB / 1.381 GB, free: 8.469 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.4443, allocations: 8.585 MB / 1.39 GB, free: 15.86 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.4443, allocations: 0 / 1.39 GB, free: 15.86 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.514e-06/0.4443, allocations: 0 / 1.39 GB, free: 15.86 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002529/0.4446, allocations: 4 kB / 1.39 GB, free: 15.85 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1053 * Number of variables: 1053 Notification: Performance of Generate backend data structure: time 0.01089/0.4554, allocations: 4.475 MB / 1.394 GB, free: 11.32 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.4555, allocations: 8.031 kB / 1.394 GB, free: 11.31 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008725/0.4642, allocations: 1.695 MB / 1.396 GB, free: 9.613 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007297/0.4715, allocations: 2.68 MB / 1.398 GB, free: 6.891 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.4718, allocations: 279.6 kB / 1.399 GB, free: 6.617 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001284/0.4731, allocations: 360.3 kB / 1.399 GB, free: 6.266 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01438/0.4875, allocations: 7.713 MB / 1.406 GB, free: 14.23 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.581e-05/0.4876, allocations: 15.83 kB / 1.406 GB, free: 14.21 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00044/0.488, allocations: 159.9 kB / 1.407 GB, free: 14.05 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006161/0.4886, allocations: 483.3 kB / 1.407 GB, free: 13.58 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01014/0.4988, allocations: 5.693 MB / 1.413 GB, free: 7.883 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03185/0.5306, allocations: 19.96 MB / 1.432 GB, free: 3.465 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003162/0.5338, allocations: 2.011 MB / 1.434 GB, free: 1.441 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003168/0.5369, allocations: 2.1 MB / 1.436 GB, free: 15.34 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001483/0.5371, allocations: 21.3 kB / 1.436 GB, free: 15.32 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.063e-05/0.5371, allocations: 51.88 kB / 1.436 GB, free: 15.26 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 4.378e-06/0.5371, allocations: 0 / 1.436 GB, free: 15.26 MB / 1.139 GB Notification: Performance of matching and sorting (n=251): time 0.3218/0.8589, allocations: 76.7 MB / 1.511 GB, free: 2.43 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.859, allocations: 77.41 kB / 1.511 GB, free: 2.34 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.8613, allocations: 1.606 MB / 1.513 GB, free: 0.7344 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0004879/0.8618, allocations: 65.7 kB / 1.513 GB, free: 0.6641 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001346/0.8631, allocations: 1.811 MB / 1.515 GB, free: 14.83 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001092/0.8642, allocations: 0.8946 MB / 1.515 GB, free: 13.93 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009948/0.8652, allocations: 489.3 kB / 1.516 GB, free: 13.45 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.8653, allocations: 309.1 kB / 1.516 GB, free: 13.14 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004105/0.8694, allocations: 2.73 MB / 1.519 GB, free: 10.41 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004694/0.8741, allocations: 3.328 MB / 1.522 GB, free: 6.832 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009512/0.8837, allocations: 6.397 MB / 1.528 GB, free: 196 kB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.8837, allocations: 4 kB / 1.528 GB, free: 192 kB / 1.217 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03398/0.9176, allocations: 14.4 MB / 1.542 GB, free: 1.738 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.9177, allocations: 12 kB / 1.542 GB, free: 1.727 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.9177, allocations: 16 kB / 1.543 GB, free: 1.711 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03025/0.948, allocations: 9.201 MB / 1.551 GB, free: 8.488 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.9492, allocations: 307.4 kB / 1.552 GB, free: 8.188 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0867/1.036, allocations: 50.85 MB / 1.601 GB, free: 4.68 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003263/1.039, allocations: 223.7 kB / 1.602 GB, free: 4.461 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003631/1.04, allocations: 104 kB / 1.602 GB, free: 4.359 MB / 1.295 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 {(19,19,64.8%), (19,19,60.9%), (12,18,50.0%), (12,18,50.0%), (12,10,52.8%), (12,10,52.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003091/1.043, allocations: 1.583 MB / 1.603 GB, free: 2.766 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006802/1.043, allocations: 246.7 kB / 1.604 GB, free: 2.523 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8339/1.877, allocations: 14.47 MB / 1.618 GB, free: 259.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.475e-05/1.877, allocations: 28.64 kB / 1.618 GB, free: 259.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002964/1.878, allocations: 44.75 kB / 1.618 GB, free: 259.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.718e-05/1.878, allocations: 15.45 kB / 1.618 GB, free: 259.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0434/1.921, allocations: 18.92 MB / 1.636 GB, free: 253.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.659e-05/1.921, allocations: 7.297 kB / 1.636 GB, free: 253.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000776/1.922, allocations: 162.5 kB / 1.636 GB, free: 253.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02746/1.949, allocations: 8.976 MB / 1.645 GB, free: 250.5 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004993/1.95, allocations: 49.69 kB / 1.645 GB, free: 250.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06489/2.015, allocations: 50.42 MB / 1.694 GB, free: 205.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/2.015, allocations: 7.938 kB / 1.694 GB, free: 205.9 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02792/2.043, allocations: 14.09 MB / 1.708 GB, free: 191.7 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002829/2.046, allocations: 0.7728 MB / 1.709 GB, free: 190.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004564/2.046, allocations: 48 kB / 1.709 GB, free: 190.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/2.048, allocations: 211.7 kB / 1.709 GB, free: 190.6 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001582/2.05, allocations: 261.3 kB / 1.709 GB, free: 190.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/2.05, allocations: 64 kB / 1.71 GB, free: 190.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001378/2.051, allocations: 1.064 MB / 1.711 GB, free: 189.2 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/2.051, allocations: 0 / 1.711 GB, free: 189.2 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004479/2.056, allocations: 1.613 MB / 1.712 GB, free: 187.6 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 {(12,10,53.5%), (12,18,50.0%), (19,19,64.8%), (12,10,53.5%), (12,18,50.0%), (19,19,54.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003494/2.056, allocations: 154.9 kB / 1.712 GB, free: 187.5 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01944/2.076, allocations: 10.21 MB / 1.722 GB, free: 177.2 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-05/2.076, allocations: 0 / 1.722 GB, free: 177.2 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01601/2.092, allocations: 7.019 MB / 1.729 GB, free: 170.2 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/2.094, allocations: 0.543 MB / 1.73 GB, free: 169.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0129/2.107, allocations: 8.917 MB / 1.738 GB, free: 160.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002888/2.11, allocations: 2.673 MB / 1.741 GB, free: 158 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001036/2.111, allocations: 382.8 kB / 1.741 GB, free: 157.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002164/2.112, allocations: 95.44 kB / 1.741 GB, free: 157.5 MB / 1.295 GB Notification: Performance of SimCode: time 1.132e-06/2.112, allocations: 0 / 1.741 GB, free: 157.5 MB / 1.295 GB Notification: Performance of Templates: time 0.1115/2.223, allocations: 102 MB / 1.841 GB, free: 56.01 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_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: 12.527881236746907]