Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.001702/0.001702, 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.002263/0.002263, allocations: 211 kB / 23 MB, free: 4.562 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.251/3.251, allocations: 0.49 GB / 0.7958 GB, free: 33.33 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,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") 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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.002364/0.002364, allocations: 68.16 kB / 1.155 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4071, 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): time 0.03127/0.4384, allocations: 23.63 MB / 1.35 GB, free: 9.762 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01333/0.4517, allocations: 6.439 MB / 1.357 GB, free: 3.309 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002567/0.4543, allocations: 123.1 kB / 1.357 GB, free: 3.188 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.005039/0.4593, allocations: 1.625 MB / 1.358 GB, free: 1.559 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.005339/0.4647, allocations: 1.731 MB / 1.36 GB, free: 15.82 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004092/0.4688, allocations: 1.386 MB / 1.361 GB, free: 14.44 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.008742/0.4775, allocations: 5.932 MB / 1.367 GB, free: 8.484 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006007/0.4835, allocations: 3.224 MB / 1.37 GB, free: 5.172 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005168/0.4887, allocations: 2.496 MB / 1.373 GB, free: 2.668 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006269/0.495, allocations: 3.057 MB / 1.376 GB, free: 15.6 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001368/0.4963, allocations: 460 kB / 1.376 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00311/0.4994, allocations: 1.116 MB / 1.377 GB, free: 14.04 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002845/0.5023, allocations: 2.089 MB / 1.379 GB, free: 11.94 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003741/0.506, allocations: 2.167 MB / 1.381 GB, free: 9.766 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.009303/0.5153, allocations: 7.316 MB / 1.388 GB, free: 2.426 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.5153, allocations: 0 / 1.388 GB, free: 2.426 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.424e-06/0.5153, allocations: 4 kB / 1.388 GB, free: 2.422 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0002019/0.5155, allocations: 0 / 1.388 GB, free: 2.422 MB / 1.076 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.008522/0.5241, allocations: 3.841 MB / 1.392 GB, free: 14.53 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.5241, allocations: 12.02 kB / 1.392 GB, free: 14.52 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005916/0.53, allocations: 1.227 MB / 1.393 GB, free: 13.29 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005878/0.5359, allocations: 2.305 MB / 1.396 GB, free: 10.93 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002066/0.5361, allocations: 242.4 kB / 1.396 GB, free: 10.7 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000724/0.5368, allocations: 311.9 kB / 1.396 GB, free: 10.39 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/0.5482, allocations: 6.209 MB / 1.402 GB, free: 3.926 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.152e-05/0.5483, allocations: 15.86 kB / 1.402 GB, free: 3.91 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004446/0.5487, allocations: 143.9 kB / 1.402 GB, free: 3.77 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007412/0.5495, allocations: 398.3 kB / 1.403 GB, free: 3.379 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01004/0.5595, allocations: 4.67 MB / 1.407 GB, free: 14.7 MB / 1.107 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.03808/0.5976, allocations: 28.74 MB / 1.435 GB, free: 15.23 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002311/0.5999, allocations: 1.379 MB / 1.437 GB, free: 13.84 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002073/0.602, allocations: 1.429 MB / 1.438 GB, free: 12.41 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001051/0.6021, allocations: 16.94 kB / 1.438 GB, free: 12.4 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.6021, allocations: 43.56 kB / 1.438 GB, free: 12.35 MB / 1.139 GB Notification: Performance of pre-optimization done (n=110): time 2.756e-06/0.6021, allocations: 4 kB / 1.438 GB, free: 12.34 MB / 1.139 GB Notification: Performance of matching and sorting (n=179): time 0.1351/0.7373, allocations: 37.07 MB / 1.474 GB, free: 7.215 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.7373, allocations: 73.41 kB / 1.474 GB, free: 7.129 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002196/0.7395, allocations: 1.427 MB / 1.476 GB, free: 5.695 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0003135/0.7398, allocations: 53.7 kB / 1.476 GB, free: 5.637 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.7411, allocations: 1.59 MB / 1.477 GB, free: 4.031 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007767/0.7419, allocations: 0.639 MB / 1.478 GB, free: 3.387 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007308/0.7427, allocations: 379.5 kB / 1.478 GB, free: 3.008 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.7428, allocations: 305.1 kB / 1.479 GB, free: 2.707 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00273/0.7455, allocations: 1.78 MB / 1.48 GB, free: 0.9219 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003274/0.7488, allocations: 2.354 MB / 1.483 GB, free: 14.32 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007344/0.7561, allocations: 4.391 MB / 1.487 GB, free: 9.688 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.8e-05/0.7562, allocations: 4 kB / 1.487 GB, free: 9.684 MB / 1.186 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.0193/0.7755, allocations: 8.431 MB / 1.495 GB, free: 1.215 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.592e-05/0.7755, allocations: 12 kB / 1.495 GB, free: 1.203 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/0.7755, allocations: 16 kB / 1.495 GB, free: 1.188 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01454/0.7901, allocations: 4.642 MB / 1.5 GB, free: 12.53 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.7913, allocations: 303.4 kB / 1.5 GB, free: 12.23 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05112/0.8424, allocations: 32.01 MB / 1.531 GB, free: 11.53 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002236/0.8447, allocations: 155.8 kB / 1.532 GB, free: 11.38 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.8449, allocations: 80.22 kB / 1.532 GB, free: 11.3 MB / 1.232 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.002617/0.8475, allocations: 1.333 MB / 1.533 GB, free: 9.953 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004873/0.848, allocations: 214.6 kB / 1.533 GB, free: 9.742 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01831/0.8663, allocations: 8.289 MB / 1.541 GB, free: 1.41 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.949e-05/0.8663, allocations: 20 kB / 1.541 GB, free: 1.391 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.254e-05/0.8664, allocations: 27.94 kB / 1.541 GB, free: 1.363 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.701e-05/0.8664, allocations: 11.97 kB / 1.541 GB, free: 1.352 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02626/0.8927, allocations: 12.67 MB / 1.554 GB, free: 4.516 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-05/0.8927, allocations: 11.88 kB / 1.554 GB, free: 4.504 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007644/0.8935, allocations: 163.8 kB / 1.554 GB, free: 4.344 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01418/0.9077, allocations: 4.493 MB / 1.558 GB, free: 15.84 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003061/0.908, allocations: 40 kB / 1.558 GB, free: 15.8 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05037/0.9583, allocations: 31.61 MB / 1.589 GB, free: 15.48 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.9584, allocations: 11.94 kB / 1.589 GB, free: 15.47 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01773/0.9761, allocations: 8.101 MB / 1.597 GB, free: 7.234 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002074/0.9782, allocations: 0.5533 MB / 1.598 GB, free: 6.68 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003929/0.9785, allocations: 40.31 kB / 1.598 GB, free: 6.641 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/0.9799, allocations: 135.8 kB / 1.598 GB, free: 6.508 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008385/0.9807, allocations: 180.8 kB / 1.598 GB, free: 6.332 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.9809, allocations: 56 kB / 1.598 GB, free: 6.277 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001574/0.9825, allocations: 0.9587 MB / 1.599 GB, free: 5.324 MB / 1.295 GB Notification: Performance of sort global known variables: time 8e-08/0.9825, allocations: 0 / 1.599 GB, free: 5.324 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003714/0.9862, allocations: 1.121 MB / 1.6 GB, free: 4.203 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 {(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.00037/0.9865, allocations: 155 kB / 1.6 GB, free: 4.039 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.7408/1.727, allocations: 6.285 MB / 1.606 GB, free: 261.8 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/1.727, allocations: 6.75 kB / 1.606 GB, free: 261.8 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01033/1.738, allocations: 4.191 MB / 1.61 GB, free: 260.9 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/1.741, allocations: 0.5255 MB / 1.611 GB, free: 260.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/1.757, allocations: 7.506 MB / 1.618 GB, free: 258.7 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004534/1.762, allocations: 2.804 MB / 1.621 GB, free: 257.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/1.762, allocations: 105.1 kB / 1.621 GB, free: 257.9 MB / 1.295 GB Notification: Performance of SimCode: time 1.603e-06/1.762, allocations: 0 / 1.621 GB, free: 257.9 MB / 1.295 GB Notification: Performance of Templates: time 0.1258/1.888, allocations: 154.4 MB / 1.772 GB, free: 125.1 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 21.05032585398294]