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.002037/0.002037, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002515/0.002515, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.522/1.522, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.782/2.782, allocations: 377.9 MB / 0.6228 GB, free: 12.58 MB / 0.5919 GB " [Timeout remaining time 177] 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.002235/0.002235, allocations: 63.91 kB / 0.982 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8433/0.8455, allocations: 176.1 MB / 1.154 GB, free: 33.3 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01864/0.8641, allocations: 21.56 MB / 1.175 GB, free: 19.79 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.009852/0.874, allocations: 6.176 MB / 1.181 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.8757, allocations: 123.7 kB / 1.181 GB, free: 15.62 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00378/0.8795, allocations: 1.557 MB / 1.183 GB, free: 14.75 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.00387/0.8833, allocations: 1.721 MB / 1.184 GB, free: 13.74 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003261/0.8866, allocations: 1.355 MB / 1.186 GB, free: 13 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007017/0.8936, allocations: 5.929 MB / 1.191 GB, free: 10.38 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0049/0.8985, allocations: 3.195 MB / 1.195 GB, free: 8.793 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00427/0.9028, allocations: 2.501 MB / 1.197 GB, free: 7.684 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004994/0.9078, allocations: 2.916 MB / 1.2 GB, free: 6.617 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0009612/0.9087, allocations: 461 kB / 1.2 GB, free: 6.613 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002695/0.9114, allocations: 1.034 MB / 1.201 GB, free: 6.402 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.002629/0.9141, allocations: 2.085 MB / 1.203 GB, free: 5.574 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.003677/0.9177, allocations: 1.754 MB / 1.205 GB, free: 4.602 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.9301, allocations: 7.359 MB / 1.212 GB, free: 2.281 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.9301, allocations: 1.375 kB / 1.212 GB, free: 2.281 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.235e-06/0.9301, allocations: 0 / 1.212 GB, free: 2.281 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000232/0.9304, allocations: 0 / 1.212 GB, free: 2.281 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.01179/0.9422, allocations: 3.841 MB / 1.216 GB, free: 36 kB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.9422, allocations: 9.125 kB / 1.216 GB, free: 36 kB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006612/0.9488, allocations: 1.238 MB / 1.217 GB, free: 15.78 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006548/0.9554, allocations: 2.297 MB / 1.219 GB, free: 14.63 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002821/0.9556, allocations: 244.2 kB / 1.22 GB, free: 14.52 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008676/0.9565, allocations: 319.4 kB / 1.22 GB, free: 14.41 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.971, allocations: 6.437 MB / 1.226 GB, free: 11.57 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.279e-05/0.9711, allocations: 13.53 kB / 1.226 GB, free: 11.56 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004545/0.9716, allocations: 142.1 kB / 1.226 GB, free: 11.46 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005865/0.9722, allocations: 403.7 kB / 1.227 GB, free: 11.4 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009851/0.982, allocations: 4.659 MB / 1.231 GB, free: 9.828 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.03133/1.013, allocations: 18.08 MB / 1.249 GB, free: 13.46 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002055/1.015, allocations: 1.375 MB / 1.25 GB, free: 12.73 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001934/1.017, allocations: 1.443 MB / 1.252 GB, free: 12 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.188e-05/1.017, allocations: 16.88 kB / 1.252 GB, free: 11.99 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.089e-05/1.017, allocations: 47.81 kB / 1.252 GB, free: 11.94 MB / 1.107 GB Notification: Performance of pre-optimization done (n=110): time 3.186e-06/1.017, allocations: 0 / 1.252 GB, free: 11.94 MB / 1.107 GB Notification: Performance of matching and sorting (n=179): time 0.1508/1.168, allocations: 37.06 MB / 1.288 GB, free: 14.71 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.313e-05/1.168, allocations: 73.41 kB / 1.288 GB, free: 14.62 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/1.171, allocations: 1.356 MB / 1.289 GB, free: 13.25 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0003261/1.171, allocations: 57.7 kB / 1.289 GB, free: 13.19 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.00144/1.172, allocations: 1.59 MB / 1.291 GB, free: 11.59 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008474/1.173, allocations: 0.639 MB / 1.292 GB, free: 10.94 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008124/1.174, allocations: 395.4 kB / 1.292 GB, free: 10.55 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001346/1.174, allocations: 301.1 kB / 1.292 GB, free: 10.25 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002827/1.177, allocations: 1.784 MB / 1.294 GB, free: 8.461 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003406/1.18, allocations: 2.342 MB / 1.296 GB, free: 5.871 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006836/1.187, allocations: 4.398 MB / 1.301 GB, free: 1.23 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-05/1.187, allocations: 4 kB / 1.301 GB, free: 1.227 MB / 1.139 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01939/1.207, allocations: 8.427 MB / 1.309 GB, free: 8.758 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/1.207, allocations: 12 kB / 1.309 GB, free: 8.746 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.467e-05/1.207, allocations: 16 kB / 1.309 GB, free: 8.73 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01548/1.222, allocations: 4.608 MB / 1.313 GB, free: 4.109 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/1.223, allocations: 299.4 kB / 1.314 GB, free: 3.816 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05345/1.277, allocations: 31.44 MB / 1.344 GB, free: 3.758 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/1.279, allocations: 147.8 kB / 1.345 GB, free: 3.613 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002506/1.28, allocations: 84 kB / 1.345 GB, free: 3.531 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 (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.002633/1.282, allocations: 1.332 MB / 1.346 GB, free: 2.191 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000546/1.283, allocations: 206.7 kB / 1.346 GB, free: 1.988 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01858/1.301, allocations: 8.285 MB / 1.354 GB, free: 9.652 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.458e-05/1.301, allocations: 16 kB / 1.354 GB, free: 9.637 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.301e-05/1.301, allocations: 28 kB / 1.354 GB, free: 9.609 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.283e-05/1.302, allocations: 11.91 kB / 1.354 GB, free: 9.598 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02627/1.328, allocations: 11.64 MB / 1.366 GB, free: 13.79 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/1.328, allocations: 8.844 kB / 1.366 GB, free: 13.79 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008062/1.329, allocations: 163.7 kB / 1.366 GB, free: 13.62 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01514/1.344, allocations: 4.468 MB / 1.37 GB, free: 9.145 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003019/1.344, allocations: 40 kB / 1.37 GB, free: 9.105 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05217/1.396, allocations: 31.03 MB / 1.4 GB, free: 9.449 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.176e-05/1.396, allocations: 11.94 kB / 1.401 GB, free: 9.438 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01834/1.415, allocations: 8.093 MB / 1.408 GB, free: 1.215 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001855/1.416, allocations: 0.5415 MB / 1.409 GB, free: 0.6719 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003487/1.417, allocations: 43.92 kB / 1.409 GB, free: 0.6289 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001502/1.418, allocations: 131.8 kB / 1.409 GB, free: 0.5 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007565/1.419, allocations: 184.8 kB / 1.409 GB, free: 328 kB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001712/1.419, allocations: 51.94 kB / 1.409 GB, free: 276 kB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001373/1.421, allocations: 0.8976 MB / 1.41 GB, free: 15.38 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/1.421, allocations: 0 / 1.41 GB, free: 15.38 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003702/1.424, allocations: 1.113 MB / 1.411 GB, free: 14.26 MB / 1.264 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.0003389/1.425, allocations: 151.5 kB / 1.411 GB, free: 14.1 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.01342/1.438, allocations: 6.312 MB / 1.418 GB, free: 7.711 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/1.438, allocations: 0 / 1.418 GB, free: 7.711 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.01019/1.448, allocations: 4.186 MB / 1.422 GB, free: 3.441 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/1.451, allocations: 0.5112 MB / 1.422 GB, free: 2.941 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01393/1.465, allocations: 6.994 MB / 1.429 GB, free: 11.85 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003437/1.468, allocations: 2.162 MB / 1.431 GB, free: 9.641 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001215/1.47, allocations: 383.7 kB / 1.432 GB, free: 9.262 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/1.47, allocations: 92.5 kB / 1.432 GB, free: 9.172 MB / 1.279 GB Notification: Performance of SimCode: time 8.42e-07/1.47, allocations: 0 / 1.432 GB, free: 9.172 MB / 1.279 GB Notification: Performance of Templates: time 0.1065/1.576, allocations: 63.7 MB / 1.494 GB, free: 9.996 MB / 1.342 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 ida -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: 10.526033096946776]