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.001359/0.001359, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001537/0.001537, allocations: 212.3 kB / 23.01 MB, free: 4.566 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.477/1.477, allocations: 230.6 MB / 256.8 MB, free: 8.004 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.322/3.322, allocations: 0.49 GB / 0.7958 GB, free: 33.41 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.00207/0.00207, allocations: 66.56 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4035, allocations: 176.1 MB / 1.327 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02985/0.4333, allocations: 24.48 MB / 1.351 GB, free: 8.914 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01276/0.4461, allocations: 6.695 MB / 1.358 GB, free: 2.199 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.4485, allocations: 127.1 kB / 1.358 GB, free: 2.074 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004567/0.453, allocations: 1.561 MB / 1.359 GB, free: 0.5078 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005082/0.4581, allocations: 1.937 MB / 1.361 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004113/0.4622, allocations: 1.516 MB / 1.363 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009406/0.4716, allocations: 6.916 MB / 1.369 GB, free: 6.105 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006754/0.4784, allocations: 3.767 MB / 1.373 GB, free: 2.242 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005438/0.4838, allocations: 2.921 MB / 1.376 GB, free: 15.31 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006466/0.4903, allocations: 3.735 MB / 1.38 GB, free: 11.57 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001485/0.4918, allocations: 0.5273 MB / 1.38 GB, free: 11.04 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00306/0.4948, allocations: 1.198 MB / 1.381 GB, free: 9.84 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00324/0.4981, allocations: 2.521 MB / 1.384 GB, free: 7.312 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004057/0.5021, allocations: 2.54 MB / 1.386 GB, free: 4.762 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.5132, allocations: 8.539 MB / 1.394 GB, free: 12.19 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/0.5132, allocations: 4 kB / 1.394 GB, free: 12.19 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5132, allocations: 3.938 kB / 1.394 GB, free: 12.18 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0003094/0.5135, allocations: 0 / 1.394 GB, free: 12.18 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.01263/0.5261, allocations: 4.471 MB / 1.399 GB, free: 7.66 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.5262, allocations: 8.031 kB / 1.399 GB, free: 7.652 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009531/0.5357, allocations: 1.695 MB / 1.401 GB, free: 5.953 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007026/0.5427, allocations: 2.676 MB / 1.403 GB, free: 3.234 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003396/0.5431, allocations: 275.7 kB / 1.403 GB, free: 2.965 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001656/0.5447, allocations: 356.3 kB / 1.404 GB, free: 2.617 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01834/0.5631, allocations: 7.495 MB / 1.411 GB, free: 10.85 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001879/0.5633, allocations: 19.83 kB / 1.411 GB, free: 10.83 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001376/0.5646, allocations: 159.9 kB / 1.411 GB, free: 10.68 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007059/0.5653, allocations: 479.3 kB / 1.412 GB, free: 10.21 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01218/0.5775, allocations: 5.697 MB / 1.417 GB, free: 4.504 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04452/0.6221, allocations: 31.28 MB / 1.448 GB, free: 2.445 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003304/0.6254, allocations: 2.023 MB / 1.45 GB, free: 420 kB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003289/0.6286, allocations: 2.096 MB / 1.452 GB, free: 14.31 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002383/0.6289, allocations: 21.25 kB / 1.452 GB, free: 14.29 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.207e-05/0.6289, allocations: 47.88 kB / 1.452 GB, free: 14.23 MB / 1.154 GB Notification: Performance of pre-optimization done (n=146): time 3.777e-06/0.6289, allocations: 0 / 1.452 GB, free: 14.23 MB / 1.154 GB Notification: Performance of matching and sorting (n=251): time 0.2824/0.9113, allocations: 76.72 MB / 1.527 GB, free: 1.391 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.644e-05/0.9114, allocations: 81.41 kB / 1.527 GB, free: 1.297 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002636/0.914, allocations: 1.67 MB / 1.529 GB, free: 15.58 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0005123/0.9145, allocations: 65.64 kB / 1.529 GB, free: 15.51 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001422/0.9159, allocations: 1.799 MB / 1.53 GB, free: 13.7 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.001162/0.9171, allocations: 0.8985 MB / 1.531 GB, free: 12.79 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/0.9181, allocations: 481.4 kB / 1.532 GB, free: 12.31 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.9183, allocations: 305.1 kB / 1.532 GB, free: 12.01 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00418/0.9225, allocations: 2.726 MB / 1.535 GB, free: 9.281 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005201/0.9277, allocations: 3.332 MB / 1.538 GB, free: 5.703 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009555/0.9372, allocations: 6.397 MB / 1.544 GB, free: 15.06 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-05/0.9372, allocations: 8 kB / 1.544 GB, free: 15.05 MB / 1.248 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.0346/0.9718, allocations: 14.4 MB / 1.558 GB, free: 0.5977 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 5.657e-05/0.9719, allocations: 16 kB / 1.558 GB, free: 0.582 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.262e-05/0.9719, allocations: 16 kB / 1.558 GB, free: 0.5664 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03/1.002, allocations: 9.243 MB / 1.567 GB, free: 7.297 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/1.003, allocations: 303.5 kB / 1.568 GB, free: 7 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8285/1.832, allocations: 51.78 MB / 1.618 GB, free: 249.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003122/1.835, allocations: 221.3 kB / 1.618 GB, free: 249.2 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003875/1.835, allocations: 97.78 kB / 1.618 GB, free: 249.1 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.003876/1.839, allocations: 1.592 MB / 1.62 GB, free: 248.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008174/1.84, allocations: 255.1 kB / 1.62 GB, free: 248.5 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03431/1.874, allocations: 14.48 MB / 1.634 GB, free: 244.6 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.106e-05/1.874, allocations: 28.45 kB / 1.634 GB, free: 244.6 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001869/1.875, allocations: 44.19 kB / 1.634 GB, free: 244.6 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.523e-05/1.875, allocations: 16.55 kB / 1.634 GB, free: 244.6 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03771/1.912, allocations: 20.2 MB / 1.654 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.903e-05/1.912, allocations: 7.75 kB / 1.654 GB, free: 238.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007077/1.913, allocations: 164.4 kB / 1.654 GB, free: 238.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02517/1.938, allocations: 8.999 MB / 1.663 GB, free: 234.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004642/1.939, allocations: 50.81 kB / 1.663 GB, free: 234.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06331/2.002, allocations: 51.35 MB / 1.713 GB, free: 184.6 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.753e-06/2.002, allocations: 8.875 kB / 1.713 GB, free: 184.6 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.027/2.029, allocations: 14.1 MB / 1.727 GB, free: 170.3 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002601/2.032, allocations: 0.7864 MB / 1.728 GB, free: 169.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006057/2.032, allocations: 51.98 kB / 1.728 GB, free: 169.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002017/2.034, allocations: 207.7 kB / 1.728 GB, free: 169.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001266/2.036, allocations: 257.3 kB / 1.728 GB, free: 169 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/2.036, allocations: 64 kB / 1.728 GB, free: 169 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001349/2.037, allocations: 1.123 MB / 1.73 GB, free: 167.8 MB / 1.295 GB Notification: Performance of sort global known variables: time 1e-07/2.037, allocations: 0 / 1.73 GB, free: 167.8 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004986/2.042, allocations: 1.617 MB / 1.731 GB, free: 166.2 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.0003872/2.042, allocations: 163.3 kB / 1.731 GB, free: 166 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01929/2.062, allocations: 10.2 MB / 1.741 GB, free: 155.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 2.257e-05/2.062, allocations: 192 / 1.741 GB, free: 155.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01582/2.078, allocations: 7.017 MB / 1.748 GB, free: 148.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004022/2.082, allocations: 0.5616 MB / 1.749 GB, free: 148.2 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01805/2.1, allocations: 9.544 MB / 1.758 GB, free: 138.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0048/2.104, allocations: 3.294 MB / 1.761 GB, free: 135.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/2.105, allocations: 111.4 kB / 1.761 GB, free: 135.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.954e-06/2.105, allocations: 4 kB / 1.761 GB, free: 135.1 MB / 1.295 GB Notification: Performance of Templates: time 0.186/2.291, allocations: 188 MB / 1.945 GB, free: 11 MB / 1.357 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/jenkins1/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: 23.320352480979636]