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.001779/0.001779, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002095/0.002095, allocations: 207.5 kB / 22.99 MB, free: 4.984 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.21/3.21, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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.002092/0.002092, allocations: 75.16 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3279, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.02915/0.3571, allocations: 22.25 MB / 1.349 GB, free: 10.64 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01296/0.37, allocations: 6.446 MB / 1.355 GB, free: 4.172 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002349/0.3724, allocations: 127 kB / 1.355 GB, free: 4.047 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004611/0.377, allocations: 1.504 MB / 1.357 GB, free: 2.539 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005297/0.3823, allocations: 1.945 MB / 1.359 GB, free: 0.5859 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004216/0.3865, allocations: 1.476 MB / 1.36 GB, free: 15.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009379/0.3959, allocations: 6.905 MB / 1.367 GB, free: 8.184 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007698/0.4036, allocations: 3.758 MB / 1.37 GB, free: 4.328 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006825/0.4104, allocations: 2.933 MB / 1.373 GB, free: 1.387 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0063/0.4167, allocations: 3.739 MB / 1.377 GB, free: 13.64 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001326/0.418, allocations: 0.5273 MB / 1.377 GB, free: 13.11 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0029/0.4209, allocations: 1.116 MB / 1.379 GB, free: 11.99 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003401/0.4243, allocations: 2.529 MB / 1.381 GB, free: 9.457 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003814/0.4281, allocations: 2.058 MB / 1.383 GB, free: 7.391 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.4388, allocations: 8.582 MB / 1.391 GB, free: 14.78 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.4389, allocations: 0 / 1.391 GB, free: 14.78 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.523e-06/0.4389, allocations: 0 / 1.391 GB, free: 14.78 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002167/0.4391, allocations: 0 / 1.391 GB, free: 14.78 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.009642/0.4487, allocations: 4.475 MB / 1.396 GB, free: 10.25 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.4488, allocations: 15.95 kB / 1.396 GB, free: 10.23 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008786/0.4575, allocations: 1.699 MB / 1.397 GB, free: 8.531 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0071/0.4646, allocations: 2.676 MB / 1.4 GB, free: 5.812 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002853/0.4649, allocations: 271.7 kB / 1.4 GB, free: 5.547 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001443/0.4664, allocations: 356.3 kB / 1.401 GB, free: 5.199 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01582/0.4822, allocations: 7.713 MB / 1.408 GB, free: 13.16 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.896e-05/0.4823, allocations: 19.83 kB / 1.408 GB, free: 13.14 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004924/0.4828, allocations: 163.9 kB / 1.408 GB, free: 12.98 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006438/0.4834, allocations: 483.4 kB / 1.409 GB, free: 12.51 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/0.4942, allocations: 5.701 MB / 1.414 GB, free: 6.801 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03453/0.5288, allocations: 19.95 MB / 1.434 GB, free: 2.391 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.5319, allocations: 2.008 MB / 1.436 GB, free: 380 kB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003166/0.5351, allocations: 2.104 MB / 1.438 GB, free: 14.27 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001472/0.5353, allocations: 13.31 kB / 1.438 GB, free: 14.25 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.254e-05/0.5353, allocations: 55.88 kB / 1.438 GB, free: 14.19 MB / 1.139 GB Notification: Performance of pre-optimization done (n=146): time 4.148e-06/0.5353, allocations: 0 / 1.438 GB, free: 14.19 MB / 1.139 GB Notification: Performance of matching and sorting (n=251): time 0.356/0.8913, allocations: 76.7 MB / 1.513 GB, free: 1.359 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/0.8914, allocations: 85.34 kB / 1.513 GB, free: 1.262 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002616/0.894, allocations: 1.606 MB / 1.515 GB, free: 15.66 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0006419/0.8946, allocations: 69.69 kB / 1.515 GB, free: 15.58 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001464/0.8961, allocations: 1.791 MB / 1.516 GB, free: 13.77 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.001181/0.8973, allocations: 0.9062 MB / 1.517 GB, free: 12.86 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.8984, allocations: 489.3 kB / 1.518 GB, free: 12.38 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.8985, allocations: 313.1 kB / 1.518 GB, free: 12.07 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004005/0.9026, allocations: 2.726 MB / 1.521 GB, free: 9.336 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00464/0.9072, allocations: 3.332 MB / 1.524 GB, free: 5.758 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00906/0.9163, allocations: 6.386 MB / 1.53 GB, free: 15.12 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-05/0.9163, allocations: 8 kB / 1.53 GB, free: 15.12 MB / 1.232 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03328/0.9495, allocations: 14.4 MB / 1.544 GB, free: 0.668 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.9496, allocations: 12 kB / 1.544 GB, free: 0.6562 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.847e-05/0.9496, allocations: 16 kB / 1.544 GB, free: 0.6406 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03048/0.9801, allocations: 9.203 MB / 1.553 GB, free: 7.414 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.9814, allocations: 303.4 kB / 1.554 GB, free: 7.117 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08297/1.064, allocations: 50.85 MB / 1.603 GB, free: 3.609 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/1.067, allocations: 219.7 kB / 1.603 GB, free: 3.395 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004326/1.068, allocations: 99.98 kB / 1.604 GB, free: 3.297 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.00304/1.071, allocations: 1.594 MB / 1.605 GB, free: 1.691 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006532/1.071, allocations: 246.7 kB / 1.605 GB, free: 1.449 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8101/1.881, allocations: 14.46 MB / 1.619 GB, free: 258.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.295e-05/1.882, allocations: 28.19 kB / 1.619 GB, free: 258.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000265/1.882, allocations: 48.03 kB / 1.619 GB, free: 258.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.844e-05/1.882, allocations: 16.83 kB / 1.62 GB, free: 258.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.045/1.927, allocations: 18.93 MB / 1.638 GB, free: 252.7 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.583e-05/1.927, allocations: 6.156 kB / 1.638 GB, free: 252.7 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000839/1.928, allocations: 164.4 kB / 1.638 GB, free: 252.7 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02776/1.955, allocations: 8.971 MB / 1.647 GB, free: 249.4 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006791/1.956, allocations: 51.27 kB / 1.647 GB, free: 249.4 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06301/2.019, allocations: 50.41 MB / 1.696 GB, free: 204.2 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/2.019, allocations: 4 kB / 1.696 GB, free: 204.2 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02745/2.047, allocations: 14.09 MB / 1.71 GB, free: 189.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002683/2.049, allocations: 0.7728 MB / 1.711 GB, free: 189.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006879/2.05, allocations: 52 kB / 1.711 GB, free: 189.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002029/2.052, allocations: 203.7 kB / 1.711 GB, free: 188.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001283/2.053, allocations: 261.2 kB / 1.711 GB, free: 188.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/2.054, allocations: 64 kB / 1.711 GB, free: 188.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001208/2.055, allocations: 1.06 MB / 1.712 GB, free: 187.6 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/2.055, allocations: 0 / 1.712 GB, free: 187.6 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.00461/2.059, allocations: 1.613 MB / 1.714 GB, free: 185.9 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.0003999/2.06, allocations: 162.8 kB / 1.714 GB, free: 185.8 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01862/2.078, allocations: 10.21 MB / 1.724 GB, free: 175.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.832e-05/2.078, allocations: 0 / 1.724 GB, free: 175.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01479/2.093, allocations: 7.017 MB / 1.731 GB, free: 168.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002925/2.096, allocations: 0.5465 MB / 1.731 GB, free: 168 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/2.111, allocations: 8.914 MB / 1.74 GB, free: 159 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003209/2.114, allocations: 2.669 MB / 1.743 GB, free: 156.3 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001082/2.115, allocations: 386.8 kB / 1.743 GB, free: 155.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002283/2.115, allocations: 95.44 kB / 1.743 GB, free: 155.8 MB / 1.295 GB Notification: Performance of SimCode: time 1.473e-06/2.115, allocations: 3.938 kB / 1.743 GB, free: 155.8 MB / 1.295 GB Notification: Performance of Templates: time 0.1123/2.227, allocations: 103 MB / 1.844 GB, free: 53.27 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 -s cvode -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: 12.394543454996892]