Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001457/0.001457, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001543/0.001543, allocations: 209.8 kB / 22.99 MB, free: 4.945 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.749/2.749, allocations: 476 MB / 0.7707 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002119/0.002119, allocations: 71.73 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3629, allocations: 170 MB / 1.284 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N): time 0.03358/0.3965, allocations: 22.24 MB / 1.306 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01674/0.4132, allocations: 6.446 MB / 1.312 GB, free: 15.1 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003965/0.4172, allocations: 131 kB / 1.312 GB, free: 14.97 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.005866/0.4231, allocations: 1.515 MB / 1.313 GB, free: 13.45 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.00587/0.4289, allocations: 1.941 MB / 1.315 GB, free: 11.5 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004357/0.4333, allocations: 1.478 MB / 1.317 GB, free: 10.03 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.009363/0.4427, allocations: 6.905 MB / 1.324 GB, free: 3.105 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008177/0.4508, allocations: 3.725 MB / 1.327 GB, free: 15.29 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005524/0.4564, allocations: 2.937 MB / 1.33 GB, free: 12.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006539/0.4629, allocations: 3.559 MB / 1.333 GB, free: 8.77 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001781/0.4647, allocations: 0.5273 MB / 1.334 GB, free: 8.242 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003628/0.4683, allocations: 1.108 MB / 1.335 GB, free: 7.133 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.004357/0.4727, allocations: 2.533 MB / 1.338 GB, free: 4.594 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005892/0.4786, allocations: 2.058 MB / 1.34 GB, free: 2.527 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01255/0.4911, allocations: 8.593 MB / 1.348 GB, free: 9.902 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4911, allocations: 0 / 1.348 GB, free: 9.902 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.555e-06/0.4911, allocations: 0 / 1.348 GB, free: 9.902 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002745/0.4914, allocations: 0 / 1.348 GB, free: 9.902 MB / 1.045 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.01194/0.5033, allocations: 4.464 MB / 1.352 GB, free: 5.383 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.5034, allocations: 12.03 kB / 1.352 GB, free: 5.371 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008844/0.5122, allocations: 1.699 MB / 1.354 GB, free: 3.668 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007113/0.5193, allocations: 2.672 MB / 1.357 GB, free: 0.9492 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/0.5197, allocations: 283.6 kB / 1.357 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001479/0.5211, allocations: 356.3 kB / 1.357 GB, free: 332 kB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01785/0.539, allocations: 7.717 MB / 1.365 GB, free: 8.285 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001764/0.5392, allocations: 15.83 kB / 1.365 GB, free: 8.27 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001374/0.5405, allocations: 163.9 kB / 1.365 GB, free: 8.109 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000739/0.5413, allocations: 487.3 kB / 1.365 GB, free: 7.633 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0128/0.5541, allocations: 5.689 MB / 1.371 GB, free: 1.938 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03888/0.5929, allocations: 19.95 MB / 1.39 GB, free: 13.54 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003532/0.5965, allocations: 2.015 MB / 1.392 GB, free: 11.51 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00356/0.6, allocations: 2.1 MB / 1.394 GB, free: 9.398 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002403/0.6003, allocations: 17.31 kB / 1.394 GB, free: 9.383 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.066e-05/0.6003, allocations: 43.88 kB / 1.394 GB, free: 9.328 MB / 1.092 GB Notification: Performance of pre-optimization done (n=146): time 4.388e-06/0.6003, allocations: 0 / 1.394 GB, free: 9.328 MB / 1.092 GB Notification: Performance of matching and sorting (n=251): time 0.3153/0.9156, allocations: 76.72 MB / 1.469 GB, free: 12.49 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.835e-05/0.9157, allocations: 81.41 kB / 1.469 GB, free: 12.39 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/0.9182, allocations: 1.614 MB / 1.471 GB, free: 10.78 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0005052/0.9187, allocations: 65.7 kB / 1.471 GB, free: 10.71 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001434/0.9202, allocations: 1.799 MB / 1.473 GB, free: 8.895 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.001158/0.9213, allocations: 0.8946 MB / 1.474 GB, free: 7.992 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/0.9224, allocations: 485.4 kB / 1.474 GB, free: 7.512 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.9225, allocations: 309 kB / 1.475 GB, free: 7.207 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004204/0.9267, allocations: 2.73 MB / 1.477 GB, free: 4.473 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004791/0.9315, allocations: 3.336 MB / 1.48 GB, free: 0.8945 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009776/0.9413, allocations: 6.39 MB / 1.487 GB, free: 10.26 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.587e-05/0.9413, allocations: 4 kB / 1.487 GB, free: 10.26 MB / 1.186 GB Notification: Performance of matching and sorting (n=331) (initialization): time 0.03498/0.9763, allocations: 14.4 MB / 1.501 GB, free: 11.81 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.9763, allocations: 12 kB / 1.501 GB, free: 11.8 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.68e-05/0.9764, allocations: 20 kB / 1.501 GB, free: 11.78 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03032/1.007, allocations: 9.202 MB / 1.51 GB, free: 2.555 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/1.008, allocations: 307.4 kB / 1.51 GB, free: 2.254 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08778/1.096, allocations: 50.83 MB / 1.56 GB, free: 14.77 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00357/1.099, allocations: 223.7 kB / 1.56 GB, free: 14.55 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003589/1.1, allocations: 100 kB / 1.56 GB, free: 14.45 MB / 1.264 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.003166/1.103, allocations: 1.586 MB / 1.562 GB, free: 12.86 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006525/1.104, allocations: 250.6 kB / 1.562 GB, free: 12.61 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03417/1.138, allocations: 14.47 MB / 1.576 GB, free: 14.07 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-05/1.138, allocations: 24 kB / 1.576 GB, free: 14.05 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001866/1.138, allocations: 44 kB / 1.576 GB, free: 14.01 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.875e-05/1.138, allocations: 11.95 kB / 1.576 GB, free: 14 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04489/1.183, allocations: 18.94 MB / 1.594 GB, free: 10.89 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.133e-05/1.183, allocations: 4 kB / 1.594 GB, free: 10.88 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008373/1.184, allocations: 167.7 kB / 1.595 GB, free: 10.72 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02971/1.213, allocations: 8.974 MB / 1.603 GB, free: 1.719 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006241/1.214, allocations: 48 kB / 1.603 GB, free: 1.672 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.9688/2.183, allocations: 50.41 MB / 1.653 GB, free: 278.1 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.226e-06/2.183, allocations: 11.94 kB / 1.653 GB, free: 278 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0294/2.212, allocations: 14.08 MB / 1.666 GB, free: 265.9 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002457/2.215, allocations: 0.779 MB / 1.667 GB, free: 265.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006106/2.215, allocations: 48 kB / 1.667 GB, free: 265.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002204/2.218, allocations: 211.7 kB / 1.667 GB, free: 264.9 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001402/2.219, allocations: 253.2 kB / 1.668 GB, free: 264.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002072/2.219, allocations: 64 kB / 1.668 GB, free: 264.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001245/2.22, allocations: 1.072 MB / 1.669 GB, free: 263.5 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/2.22, allocations: 0 / 1.669 GB, free: 263.5 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.004805/2.225, allocations: 1.609 MB / 1.67 GB, free: 261.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.0004208/2.226, allocations: 165.2 kB / 1.671 GB, free: 261.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01969/2.245, allocations: 10.19 MB / 1.681 GB, free: 251.5 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.525e-05/2.245, allocations: 4 kB / 1.681 GB, free: 251.5 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.01618/2.262, allocations: 7.007 MB / 1.687 GB, free: 244.5 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002961/2.264, allocations: 0.5408 MB / 1.688 GB, free: 243.9 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/2.279, allocations: 9.546 MB / 1.697 GB, free: 234.3 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003238/2.282, allocations: 2.751 MB / 1.7 GB, free: 231.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000434/2.283, allocations: 107.4 kB / 1.7 GB, free: 231.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.552e-06/2.283, allocations: 0 / 1.7 GB, free: 231.4 MB / 1.295 GB Notification: Performance of Templates: time 0.1443/2.427, allocations: 189.3 MB / 1.885 GB, free: 42.07 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.32763042114675]