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.001726/0.001726, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001432/0.001432, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.505/1.505, 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.279/3.279, allocations: 0.49 GB / 0.7959 GB, free: 35.48 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.002061/0.002061, allocations: 73.33 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3735, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02788/0.4014, allocations: 21.56 MB / 1.348 GB, free: 11.36 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01198/0.4134, allocations: 6.183 MB / 1.354 GB, free: 5.168 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001847/0.4152, allocations: 123.1 kB / 1.354 GB, free: 5.047 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004322/0.4195, allocations: 1.565 MB / 1.356 GB, free: 3.477 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.004509/0.4241, allocations: 1.731 MB / 1.358 GB, free: 1.738 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.4274, allocations: 1.34 MB / 1.359 GB, free: 412 kB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.007435/0.4349, allocations: 5.932 MB / 1.365 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004974/0.4399, allocations: 3.232 MB / 1.368 GB, free: 7.129 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00428/0.4441, allocations: 2.497 MB / 1.37 GB, free: 4.625 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005317/0.4494, allocations: 3.065 MB / 1.373 GB, free: 1.551 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0008868/0.4503, allocations: 460 kB / 1.374 GB, free: 1.102 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.4528, allocations: 1.038 MB / 1.375 GB, free: 64 kB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002341/0.4552, allocations: 2.097 MB / 1.377 GB, free: 13.96 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002397/0.4576, allocations: 1.747 MB / 1.378 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.008719/0.4663, allocations: 7.351 MB / 1.386 GB, free: 4.832 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4663, allocations: 0 / 1.386 GB, free: 4.832 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4663, allocations: 0 / 1.386 GB, free: 4.832 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001901/0.4665, allocations: 0 / 1.386 GB, free: 4.832 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.008251/0.4748, allocations: 3.838 MB / 1.389 GB, free: 0.9453 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.4748, allocations: 8.031 kB / 1.389 GB, free: 0.9375 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006155/0.481, allocations: 1.243 MB / 1.391 GB, free: 15.69 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005575/0.4865, allocations: 2.305 MB / 1.393 GB, free: 13.34 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.4867, allocations: 242.4 kB / 1.393 GB, free: 13.1 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006441/0.4874, allocations: 311.9 kB / 1.393 GB, free: 12.79 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01123/0.4986, allocations: 6.442 MB / 1.4 GB, free: 6.039 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.081e-05/0.4987, allocations: 11.92 kB / 1.4 GB, free: 6.027 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003784/0.4991, allocations: 143.9 kB / 1.4 GB, free: 5.887 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005347/0.4996, allocations: 406.3 kB / 1.4 GB, free: 5.488 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008182/0.5078, allocations: 4.654 MB / 1.405 GB, free: 0.8242 MB / 1.092 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.02782/0.5356, allocations: 18.08 MB / 1.422 GB, free: 14.25 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.5378, allocations: 1.365 MB / 1.424 GB, free: 12.87 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/0.5398, allocations: 1.437 MB / 1.425 GB, free: 11.43 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 9.288e-05/0.5399, allocations: 13 kB / 1.425 GB, free: 11.42 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.54, allocations: 47.56 kB / 1.425 GB, free: 11.36 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 3.887e-06/0.54, allocations: 0 / 1.425 GB, free: 11.36 MB / 1.123 GB Notification: Performance of matching and sorting (n=179): time 0.1402/0.6802, allocations: 37.07 MB / 1.461 GB, free: 6.234 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.6802, allocations: 69.41 kB / 1.461 GB, free: 6.152 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002046/0.6823, allocations: 1.36 MB / 1.463 GB, free: 4.781 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002712/0.6826, allocations: 53.7 kB / 1.463 GB, free: 4.723 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.6838, allocations: 1.594 MB / 1.464 GB, free: 3.113 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007141/0.6845, allocations: 0.6351 MB / 1.465 GB, free: 2.473 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007885/0.6853, allocations: 387.5 kB / 1.465 GB, free: 2.086 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6854, allocations: 309.1 kB / 1.466 GB, free: 1.781 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002771/0.6882, allocations: 1.792 MB / 1.467 GB, free: 15.98 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003518/0.6917, allocations: 2.342 MB / 1.47 GB, free: 13.39 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006873/0.6986, allocations: 4.391 MB / 1.474 GB, free: 8.758 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/0.6986, allocations: 4 kB / 1.474 GB, free: 8.754 MB / 1.17 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01956/0.7182, allocations: 8.415 MB / 1.482 GB, free: 308 kB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.811e-05/0.7182, allocations: 19.92 kB / 1.482 GB, free: 288 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.067e-05/0.7182, allocations: 20 kB / 1.482 GB, free: 268 kB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01628/0.7345, allocations: 4.614 MB / 1.487 GB, free: 11.64 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.7358, allocations: 299.5 kB / 1.487 GB, free: 11.34 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05056/0.7864, allocations: 31.43 MB / 1.518 GB, free: 11.3 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.7885, allocations: 155.8 kB / 1.518 GB, free: 11.14 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002183/0.7887, allocations: 80 kB / 1.518 GB, free: 11.07 MB / 1.217 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.002561/0.7913, allocations: 1.337 MB / 1.519 GB, free: 9.719 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000484/0.7917, allocations: 198.8 kB / 1.519 GB, free: 9.523 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01882/0.8106, allocations: 8.289 MB / 1.528 GB, free: 1.188 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.8106, allocations: 16 kB / 1.528 GB, free: 1.172 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.288e-05/0.8107, allocations: 24 kB / 1.528 GB, free: 1.148 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.54e-05/0.8107, allocations: 7.969 kB / 1.528 GB, free: 1.141 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02637/0.8371, allocations: 11.65 MB / 1.539 GB, free: 5.332 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.032e-05/0.8371, allocations: 8 kB / 1.539 GB, free: 5.324 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008061/0.8379, allocations: 164.7 kB / 1.539 GB, free: 5.164 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01549/0.8534, allocations: 4.478 MB / 1.543 GB, free: 0.668 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002906/0.8537, allocations: 39.94 kB / 1.544 GB, free: 0.6289 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05062/0.9043, allocations: 31.03 MB / 1.574 GB, free: 0.9766 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.9043, allocations: 7.938 kB / 1.574 GB, free: 0.9688 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01903/0.9233, allocations: 8.104 MB / 1.582 GB, free: 8.73 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/0.9253, allocations: 0.5298 MB / 1.582 GB, free: 8.199 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003861/0.9257, allocations: 43.88 kB / 1.582 GB, free: 8.156 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001362/0.927, allocations: 135.8 kB / 1.582 GB, free: 8.023 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008065/0.9278, allocations: 180.9 kB / 1.583 GB, free: 7.848 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/0.928, allocations: 52 kB / 1.583 GB, free: 7.797 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0014/0.9294, allocations: 0.8937 MB / 1.584 GB, free: 6.906 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9294, allocations: 0 / 1.584 GB, free: 6.906 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003708/0.9331, allocations: 1.117 MB / 1.585 GB, free: 5.789 MB / 1.279 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.0003463/0.9335, allocations: 151.8 kB / 1.585 GB, free: 5.629 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01372/0.9472, allocations: 6.304 MB / 1.591 GB, free: 15.25 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.9472, allocations: 0 / 1.591 GB, free: 15.25 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01016/0.9573, allocations: 4.194 MB / 1.595 GB, free: 10.97 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/0.96, allocations: 0.5058 MB / 1.596 GB, free: 10.48 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01329/0.9733, allocations: 7.007 MB / 1.602 GB, free: 3.371 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003483/0.9768, allocations: 2.162 MB / 1.604 GB, free: 1.164 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001165/0.978, allocations: 383.6 kB / 1.605 GB, free: 0.7852 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002539/0.9782, allocations: 87.44 kB / 1.605 GB, free: 0.6992 MB / 1.295 GB Notification: Performance of SimCode: time 1.784e-06/0.9782, allocations: 0 / 1.605 GB, free: 0.6992 MB / 1.295 GB Notification: Performance of Templates: time 0.8409/1.819, allocations: 68.4 MB / 1.672 GB, free: 224.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 -s gbode -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: 11.763210557997809]