Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.001332/0.001332, 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.00168/0.00168, allocations: 214.5 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.502/1.502, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.256/3.256, allocations: 0.49 GB / 0.7958 GB, free: 33.52 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.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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.00227/0.00227, allocations: 73.41 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4218, allocations: 176.1 MB / 1.327 GB, free: 1.445 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03665/0.4585, allocations: 27.93 MB / 1.354 GB, free: 5.422 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01877/0.4773, allocations: 8.387 MB / 1.363 GB, free: 13.01 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003742/0.481, allocations: 158.8 kB / 1.363 GB, free: 12.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.00859/0.4896, allocations: 2.887 MB / 1.366 GB, free: 9.961 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.006242/0.4958, allocations: 1.675 MB / 1.367 GB, free: 8.277 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006027/0.5019, allocations: 1.722 MB / 1.369 GB, free: 6.555 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.01046/0.5123, allocations: 6.139 MB / 1.375 GB, free: 400 kB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008384/0.5207, allocations: 3.781 MB / 1.379 GB, free: 12.52 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005827/0.5265, allocations: 2.656 MB / 1.381 GB, free: 9.852 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006283/0.5328, allocations: 2.994 MB / 1.384 GB, free: 6.848 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.002171/0.535, allocations: 0.5156 MB / 1.385 GB, free: 6.332 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004663/0.5397, allocations: 1.307 MB / 1.386 GB, free: 5.023 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.004483/0.5441, allocations: 2.108 MB / 1.388 GB, free: 2.91 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.006679/0.5508, allocations: 2.377 MB / 1.39 GB, free: 0.5234 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.5638, allocations: 8.079 MB / 1.398 GB, free: 8.418 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.5638, allocations: 0 / 1.398 GB, free: 8.418 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.883e-06/0.5638, allocations: 0 / 1.398 GB, free: 8.418 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0002861/0.5641, allocations: 0 / 1.398 GB, free: 8.418 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01201/0.5761, allocations: 4.256 MB / 1.402 GB, free: 4.109 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.5761, allocations: 8.031 kB / 1.402 GB, free: 4.102 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004419/0.5806, allocations: 0.8257 MB / 1.403 GB, free: 3.273 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007112/0.5877, allocations: 2.526 MB / 1.406 GB, free: 0.6836 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002725/0.5879, allocations: 279.6 kB / 1.406 GB, free: 420 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001238/0.5892, allocations: 376.6 kB / 1.406 GB, free: 44 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0127/0.6019, allocations: 5.992 MB / 1.412 GB, free: 9.793 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001102/0.602, allocations: 23.83 kB / 1.412 GB, free: 9.77 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004153/0.6024, allocations: 156 kB / 1.412 GB, free: 9.617 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007043/0.6031, allocations: 286.9 kB / 1.413 GB, free: 9.336 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009189/0.6123, allocations: 4.516 MB / 1.417 GB, free: 4.812 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03597/0.6483, allocations: 27.25 MB / 1.444 GB, free: 7.055 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001752/0.65, allocations: 1.058 MB / 1.445 GB, free: 5.988 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001376/0.6514, allocations: 0.9571 MB / 1.446 GB, free: 5.031 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 7.787e-05/0.6515, allocations: 13 kB / 1.446 GB, free: 5.02 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.159e-05/0.6515, allocations: 55.44 kB / 1.446 GB, free: 4.957 MB / 1.139 GB Notification: Performance of pre-optimization done (n=110): time 3.537e-06/0.6515, allocations: 4 kB / 1.446 GB, free: 4.953 MB / 1.139 GB Notification: Performance of matching and sorting (n=131): time 0.02213/0.6737, allocations: 9.091 MB / 1.454 GB, free: 11.8 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.607e-05/0.6737, allocations: 64.72 kB / 1.455 GB, free: 11.72 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002416/0.6762, allocations: 1.494 MB / 1.456 GB, free: 10.23 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/0.6764, allocations: 45.7 kB / 1.456 GB, free: 10.18 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/0.6778, allocations: 1.715 MB / 1.458 GB, free: 8.445 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.000594/0.6784, allocations: 499.8 kB / 1.458 GB, free: 7.953 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005491/0.679, allocations: 327.4 kB / 1.458 GB, free: 7.625 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6791, allocations: 309 kB / 1.459 GB, free: 7.32 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.6805, allocations: 0.9135 MB / 1.46 GB, free: 6.406 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001876/0.6824, allocations: 1.467 MB / 1.461 GB, free: 4.703 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00358/0.686, allocations: 2.55 MB / 1.464 GB, free: 1.914 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.686, allocations: 4 kB / 1.464 GB, free: 1.91 MB / 1.154 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006486/0.6925, allocations: 3.271 MB / 1.467 GB, free: 14.6 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.98e-05/0.6925, allocations: 16 kB / 1.467 GB, free: 14.58 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.939e-05/0.6926, allocations: 16 kB / 1.467 GB, free: 14.57 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002337/0.6949, allocations: 0.7339 MB / 1.468 GB, free: 13.8 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.6966, allocations: 383.4 kB / 1.468 GB, free: 13.43 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01726/0.7138, allocations: 16.14 MB / 1.484 GB, free: 12.26 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001926/0.7157, allocations: 104 kB / 1.484 GB, free: 12.16 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/0.7159, allocations: 76 kB / 1.484 GB, free: 12.08 MB / 1.186 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002697/0.7186, allocations: 1.302 MB / 1.485 GB, free: 10.77 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005194/0.7191, allocations: 218.7 kB / 1.485 GB, free: 10.55 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005422/0.7246, allocations: 2.761 MB / 1.488 GB, free: 7.75 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.77e-05/0.7246, allocations: 16.14 kB / 1.488 GB, free: 7.734 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/0.7246, allocations: 4 kB / 1.488 GB, free: 7.73 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.7246, allocations: 11.95 kB / 1.488 GB, free: 7.719 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01174/0.7364, allocations: 6.169 MB / 1.494 GB, free: 1.391 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/0.7364, allocations: 8.031 kB / 1.494 GB, free: 1.383 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001231/0.7376, allocations: 235.6 kB / 1.494 GB, free: 1.152 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00207/0.7397, allocations: 0.6671 MB / 1.495 GB, free: 468 kB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000129/0.7398, allocations: 39.98 kB / 1.495 GB, free: 428 kB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.017/0.7568, allocations: 15.88 MB / 1.51 GB, free: 15.5 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.7568, allocations: 4 kB / 1.51 GB, free: 15.5 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006901/0.7637, allocations: 3.994 MB / 1.514 GB, free: 11.4 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001361/0.7651, allocations: 386.6 kB / 1.515 GB, free: 11.02 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00028/0.7653, allocations: 43.86 kB / 1.515 GB, free: 10.98 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000897/0.7662, allocations: 83.89 kB / 1.515 GB, free: 10.89 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/0.7666, allocations: 120.6 kB / 1.515 GB, free: 10.78 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.309e-05/0.7667, allocations: 44 kB / 1.515 GB, free: 10.73 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001516/0.7682, allocations: 0.9903 MB / 1.516 GB, free: 9.754 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7682, allocations: 0 / 1.516 GB, free: 9.754 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002636/0.7708, allocations: 0.6836 MB / 1.517 GB, free: 9.07 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003113/0.7711, allocations: 159.1 kB / 1.517 GB, free: 8.91 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.005675/0.7768, allocations: 3.382 MB / 1.52 GB, free: 5.41 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.7768, allocations: 4.062 kB / 1.52 GB, free: 5.406 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003465/0.7803, allocations: 2.236 MB / 1.522 GB, free: 3.059 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003117/0.7834, allocations: 0.6713 MB / 1.523 GB, free: 2.406 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01418/0.7976, allocations: 7.143 MB / 1.53 GB, free: 11.16 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003414/0.801, allocations: 2.722 MB / 1.533 GB, free: 8.402 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007133/0.8017, allocations: 131.4 kB / 1.533 GB, free: 8.277 MB / 1.232 GB Notification: Performance of SimCode: time 1.363e-06/0.8017, allocations: 0 / 1.533 GB, free: 8.277 MB / 1.232 GB Notification: Performance of Templates: time 1.024/1.826, allocations: 210 MB / 1.738 GB, free: 152.3 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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: 23.161490116995992]