Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001448/0.001448, 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.001566/0.001566, allocations: 213.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.563/1.563, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.842/2.842, allocations: 476 MB / 0.7707 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 176] 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,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") 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_11_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.002113/0.002113, allocations: 67.14 kB / 1.118 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.3534, allocations: 170 MB / 1.284 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.0284/0.3818, allocations: 21.56 MB / 1.305 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01204/0.3938, allocations: 6.183 MB / 1.311 GB, free: 92 kB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002603/0.3964, allocations: 123.2 kB / 1.311 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0048/0.4012, allocations: 1.57 MB / 1.313 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004503/0.4057, allocations: 1.723 MB / 1.314 GB, free: 12.66 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.4093, allocations: 1.349 MB / 1.316 GB, free: 11.32 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.007408/0.4167, allocations: 5.94 MB / 1.321 GB, free: 5.363 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005087/0.4218, allocations: 3.193 MB / 1.324 GB, free: 2.078 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004096/0.4259, allocations: 2.5 MB / 1.327 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005038/0.4309, allocations: 2.92 MB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0009471/0.4319, allocations: 456 kB / 1.33 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.4342, allocations: 1.03 MB / 1.331 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.002471/0.4367, allocations: 2.085 MB / 1.333 GB, free: 9.074 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.002916/0.4396, allocations: 1.755 MB / 1.335 GB, free: 7.312 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.009085/0.4487, allocations: 7.351 MB / 1.342 GB, free: 15.93 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.4487, allocations: 0 / 1.342 GB, free: 15.93 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.934e-06/0.4487, allocations: 3.938 kB / 1.342 GB, free: 15.93 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002342/0.4489, allocations: 8 kB / 1.342 GB, free: 15.92 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.009723/0.4587, allocations: 3.83 MB / 1.346 GB, free: 12.05 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/0.4587, allocations: 15.97 kB / 1.346 GB, free: 12.03 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006583/0.4653, allocations: 1.231 MB / 1.347 GB, free: 10.8 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00665/0.4719, allocations: 2.301 MB / 1.349 GB, free: 8.449 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/0.4722, allocations: 242.4 kB / 1.35 GB, free: 8.211 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001096/0.4733, allocations: 316 kB / 1.35 GB, free: 7.902 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01293/0.4862, allocations: 6.442 MB / 1.356 GB, free: 1.148 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.527e-05/0.4863, allocations: 7.938 kB / 1.356 GB, free: 1.141 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004403/0.4868, allocations: 147.9 kB / 1.356 GB, free: 0.9961 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005372/0.4873, allocations: 402.3 kB / 1.357 GB, free: 0.6016 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00903/0.4963, allocations: 4.662 MB / 1.361 GB, free: 11.93 MB / 1.061 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.03053/0.5268, allocations: 18.08 MB / 1.379 GB, free: 9.352 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/0.5291, allocations: 1.365 MB / 1.38 GB, free: 7.973 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/0.5312, allocations: 1.446 MB / 1.382 GB, free: 6.527 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 9.102e-05/0.5313, allocations: 13 kB / 1.382 GB, free: 6.516 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/0.5314, allocations: 43.56 kB / 1.382 GB, free: 6.461 MB / 1.076 GB Notification: Performance of pre-optimization done (n=110): time 3.957e-06/0.5314, allocations: 0 / 1.382 GB, free: 6.461 MB / 1.076 GB Notification: Performance of matching and sorting (n=179): time 0.1465/0.6778, allocations: 37.06 MB / 1.418 GB, free: 1.352 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.6779, allocations: 69.41 kB / 1.418 GB, free: 1.27 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/0.6801, allocations: 1.364 MB / 1.419 GB, free: 15.89 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0003226/0.6804, allocations: 53.7 kB / 1.419 GB, free: 15.83 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.001262/0.6817, allocations: 1.59 MB / 1.421 GB, free: 14.23 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007721/0.6824, allocations: 0.6352 MB / 1.422 GB, free: 13.59 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007338/0.6832, allocations: 387.5 kB / 1.422 GB, free: 13.2 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.6833, allocations: 304.9 kB / 1.422 GB, free: 12.9 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002714/0.686, allocations: 1.78 MB / 1.424 GB, free: 11.12 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003253/0.6893, allocations: 2.354 MB / 1.426 GB, free: 8.508 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006242/0.6955, allocations: 4.391 MB / 1.43 GB, free: 3.879 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.6955, allocations: 4 kB / 1.43 GB, free: 3.875 MB / 1.123 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01876/0.7143, allocations: 8.42 MB / 1.439 GB, free: 11.41 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.427e-05/0.7144, allocations: 14.5 kB / 1.439 GB, free: 11.4 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.7144, allocations: 19.98 kB / 1.439 GB, free: 11.38 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01478/0.7292, allocations: 4.616 MB / 1.443 GB, free: 6.754 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.7304, allocations: 299.5 kB / 1.444 GB, free: 6.461 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04999/0.7804, allocations: 31.43 MB / 1.474 GB, free: 6.414 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/0.7829, allocations: 155.8 kB / 1.474 GB, free: 6.262 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002639/0.7831, allocations: 84 kB / 1.474 GB, free: 6.18 MB / 1.17 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.00263/0.7858, allocations: 1.325 MB / 1.476 GB, free: 4.844 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005397/0.7863, allocations: 206.7 kB / 1.476 GB, free: 4.641 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01844/0.8047, allocations: 8.289 MB / 1.484 GB, free: 12.3 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.033e-05/0.8048, allocations: 24 kB / 1.484 GB, free: 12.28 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.363e-05/0.8049, allocations: 27.98 kB / 1.484 GB, free: 12.25 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.83e-05/0.8049, allocations: 12.16 kB / 1.484 GB, free: 12.24 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02592/0.8308, allocations: 11.64 MB / 1.495 GB, free: 444 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/0.8308, allocations: 8 kB / 1.495 GB, free: 436 kB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007653/0.8316, allocations: 163.8 kB / 1.496 GB, free: 272 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01478/0.8464, allocations: 4.474 MB / 1.5 GB, free: 11.78 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003331/0.8467, allocations: 35.94 kB / 1.5 GB, free: 11.74 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05004/0.8968, allocations: 31.03 MB / 1.53 GB, free: 12.09 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/0.8968, allocations: 11.94 kB / 1.53 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01784/0.9146, allocations: 8.093 MB / 1.538 GB, free: 3.855 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/0.9166, allocations: 0.5376 MB / 1.539 GB, free: 3.316 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000461/0.917, allocations: 43.94 kB / 1.539 GB, free: 3.273 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.9186, allocations: 135.8 kB / 1.539 GB, free: 3.141 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007663/0.9193, allocations: 172.9 kB / 1.539 GB, free: 2.973 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001441/0.9195, allocations: 48 kB / 1.539 GB, free: 2.926 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001363/0.9208, allocations: 0.9015 MB / 1.54 GB, free: 2.027 MB / 1.232 GB Notification: Performance of sort global known variables: time 1e-07/0.9208, allocations: 4 kB / 1.54 GB, free: 2.023 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003509/0.9244, allocations: 1.113 MB / 1.541 GB, free: 0.9102 MB / 1.232 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.0003487/0.9247, allocations: 150.2 kB / 1.541 GB, free: 0.7539 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.01341/0.9381, allocations: 6.315 MB / 1.547 GB, free: 10.36 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-05/0.9381, allocations: 4 kB / 1.547 GB, free: 10.36 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01017/0.9483, allocations: 4.178 MB / 1.552 GB, free: 6.098 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002726/0.951, allocations: 0.5133 MB / 1.552 GB, free: 5.594 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/0.9655, allocations: 7.509 MB / 1.559 GB, free: 13.98 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003611/0.9691, allocations: 2.247 MB / 1.562 GB, free: 11.68 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/0.9696, allocations: 99.44 kB / 1.562 GB, free: 11.59 MB / 1.264 GB Notification: Performance of SimCode: time 1.112e-06/0.9696, allocations: 0 / 1.562 GB, free: 11.59 MB / 1.264 GB Notification: Performance of Templates: time 0.8507/1.82, allocations: 155.3 MB / 1.713 GB, free: 211.6 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.372426079120487]