Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 118 kB / 17.13 MB, free: 5.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00205/0.00205, allocations: 197.2 kB / 20.08 MB, free: 3.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 248.5 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.643/2.643, allocations: 443.5 MB / 0.7293 GB, free: 14.62 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002017/0.002017, allocations: 63.91 kB / 1.057 GB, free: 2.008 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3522, allocations: 160.7 MB / 1.214 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05005/0.4023, allocations: 41.83 MB / 1.255 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.8813/1.284, allocations: 15.27 MB / 1.27 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005652/1.289, allocations: 187 kB / 1.27 GB, free: 16.61 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01198/1.301, allocations: 4.535 MB / 1.274 GB, free: 16.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/1.311, allocations: 2.926 MB / 1.277 GB, free: 16.11 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01039/1.322, allocations: 3.167 MB / 1.28 GB, free: 15.88 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.02194/1.344, allocations: 11.41 MB / 1.292 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01873/1.362, allocations: 9.223 MB / 1.301 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01329/1.376, allocations: 4.909 MB / 1.305 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0164/1.392, allocations: 5.759 MB / 1.311 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.006621/1.399, allocations: 0.9486 MB / 1.312 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01146/1.41, allocations: 2.069 MB / 1.314 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.01183/1.422, allocations: 3.786 MB / 1.318 GB, free: 3.523 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01855/1.44, allocations: 4.294 MB / 1.322 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.03496/1.475, allocations: 14.42 MB / 1.336 GB, free: 9.078 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/1.475, allocations: 1.156 kB / 1.336 GB, free: 9.078 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.304e-06/1.475, allocations: 0 / 1.336 GB, free: 9.078 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0007073/1.476, allocations: 0 / 1.336 GB, free: 9.078 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1668 * Number of variables: 1668 Notification: Performance of Generate backend data structure: time 0.03934/1.515, allocations: 7.794 MB / 1.343 GB, free: 4.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/1.515, allocations: 8.25 kB / 1.344 GB, free: 4.02 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01432/1.53, allocations: 1.558 MB / 1.345 GB, free: 3.273 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0146/1.544, allocations: 4.469 MB / 1.349 GB, free: 432 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006311/1.545, allocations: 457.4 kB / 1.35 GB, free: 232 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004224/1.549, allocations: 0.5962 MB / 1.35 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03737/1.587, allocations: 10.68 MB / 1.361 GB, free: 8.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004453/1.587, allocations: 31.75 kB / 1.361 GB, free: 8.559 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003906/1.591, allocations: 265 kB / 1.361 GB, free: 8.316 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0036/1.595, allocations: 0.7729 MB / 1.362 GB, free: 7.539 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02438/1.619, allocations: 8.557 MB / 1.37 GB, free: 14.96 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09475/1.714, allocations: 46.62 MB / 1.416 GB, free: 12.88 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008291/1.722, allocations: 3.985 MB / 1.42 GB, free: 8.879 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007884/1.73, allocations: 3.385 MB / 1.423 GB, free: 5.492 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006179/1.731, allocations: 34.78 kB / 1.423 GB, free: 5.457 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/1.731, allocations: 81.34 kB / 1.423 GB, free: 5.367 MB / 1.092 GB Notification: Performance of pre-optimization done (n=353): time 8.917e-06/1.731, allocations: 0 / 1.423 GB, free: 5.367 MB / 1.092 GB Notification: Performance of matching and sorting (n=578): time 0.5831/2.314, allocations: 122.6 MB / 1.543 GB, free: 10.02 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001307/2.314, allocations: 111.9 kB / 1.543 GB, free: 9.895 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005918/2.32, allocations: 2.681 MB / 1.546 GB, free: 7.215 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.001595/2.321, allocations: 121.7 kB / 1.546 GB, free: 7.09 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.002622/2.324, allocations: 2.752 MB / 1.548 GB, free: 4.324 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.003861/2.328, allocations: 2.05 MB / 1.55 GB, free: 2.301 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004703/2.333, allocations: 0.929 MB / 1.551 GB, free: 1.363 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001527/2.333, allocations: 301.1 kB / 1.552 GB, free: 1.066 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008052/2.341, allocations: 4.083 MB / 1.556 GB, free: 12.98 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009609/2.35, allocations: 5.013 MB / 1.56 GB, free: 7.637 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01901/2.369, allocations: 9.85 MB / 1.57 GB, free: 13.42 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-05/2.369, allocations: 8 kB / 1.57 GB, free: 13.41 MB / 1.248 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.05106/2.421, allocations: 16.74 MB / 1.586 GB, free: 12.54 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.558e-05/2.421, allocations: 16.98 kB / 1.586 GB, free: 12.53 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.232e-05/2.421, allocations: 24 kB / 1.586 GB, free: 12.5 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03682/2.457, allocations: 9.082 MB / 1.595 GB, free: 3.379 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002968/2.46, allocations: 0.5265 MB / 1.596 GB, free: 2.852 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1282/2.589, allocations: 77.03 MB / 1.671 GB, free: 4.289 MB / 1.342 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008714/2.597, allocations: 291.7 kB / 1.671 GB, free: 4.004 MB / 1.342 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002155/2.599, allocations: 192 kB / 1.671 GB, free: 3.816 MB / 1.342 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (274): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(5,17,84.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (14,72,59.2%), (14,72,59.2%), (6,40,77.8%), (8,70,73.4%), (8,70,70.3%), (6,40,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01083/2.61, allocations: 2.425 MB / 1.674 GB, free: 1.379 MB / 1.342 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003182/2.613, allocations: 497 kB / 1.674 GB, free: 0.8906 MB / 1.342 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05457/2.668, allocations: 16.54 MB / 1.69 GB, free: 204 kB / 1.357 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-05/2.668, allocations: 56 kB / 1.691 GB, free: 148 kB / 1.357 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003102/2.668, allocations: 72 kB / 1.691 GB, free: 76 kB / 1.357 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001561/2.669, allocations: 27.89 kB / 1.691 GB, free: 48 kB / 1.357 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0758/2.744, allocations: 25.38 MB / 1.715 GB, free: 6.441 MB / 1.389 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.906e-05/2.744, allocations: 4 kB / 1.715 GB, free: 6.438 MB / 1.389 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00281/2.747, allocations: 319.5 kB / 1.716 GB, free: 6.125 MB / 1.389 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03579/2.783, allocations: 8.269 MB / 1.724 GB, free: 13.81 MB / 1.404 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001523/2.785, allocations: 104 kB / 1.724 GB, free: 13.71 MB / 1.404 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1259/2.911, allocations: 73.91 MB / 1.796 GB, free: 2.266 MB / 1.467 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-05/2.911, allocations: 15.92 kB / 1.796 GB, free: 2.25 MB / 1.467 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05165/2.962, allocations: 21.31 MB / 1.817 GB, free: 12.58 MB / 1.498 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004684/2.967, allocations: 1.384 MB / 1.818 GB, free: 11.18 MB / 1.498 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002239/2.969, allocations: 107.9 kB / 1.818 GB, free: 11.07 MB / 1.498 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005539/2.975, allocations: 295.6 kB / 1.819 GB, free: 10.78 MB / 1.498 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002954/2.978, allocations: 0.5182 MB / 1.819 GB, free: 10.25 MB / 1.498 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001226/2.979, allocations: 148 kB / 1.819 GB, free: 10.11 MB / 1.498 GB Notification: Performance of sorting global known variables: time 0.003504/2.982, allocations: 1.772 MB / 1.821 GB, free: 8.348 MB / 1.498 GB Notification: Performance of sort global known variables: time 2e-07/2.982, allocations: 0 / 1.821 GB, free: 8.348 MB / 1.498 GB Notification: Performance of remove unused functions: time 0.01144/2.994, allocations: 2.465 MB / 1.823 GB, free: 5.883 MB / 1.498 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 8 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2],RLCLine_sc.neutral.Vc[1],RLCLine_sc.neutral.Vc[2]) * 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 (142): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(6,40,77.8%), (8,70,70.3%), (14,72,51.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (5,17,84.0%), (6,40,83.3%), (8,70,70.3%), (14,72,51.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001286/2.995, allocations: 245.2 kB / 1.824 GB, free: 5.637 MB / 1.498 GB Notification: Performance of simCode: created initialization part: time 0.6078/3.603, allocations: 13.72 MB / 1.837 GB, free: 0.4975 GB / 1.498 GB Notification: Performance of simCode: created event and clocks part: time 1.505e-05/3.603, allocations: 4.219 kB / 1.837 GB, free: 0.4975 GB / 1.498 GB Notification: Performance of simCode: created simulation system equations: time 0.0216/3.624, allocations: 9.025 MB / 1.846 GB, free: 0.4958 GB / 1.498 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009822/3.634, allocations: 1.378 MB / 1.847 GB, free: 0.4956 GB / 1.498 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0392/3.673, allocations: 16.71 MB / 1.864 GB, free: 0.4914 GB / 1.498 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01251/3.686, allocations: 4.994 MB / 1.868 GB, free: 0.4905 GB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/3.687, allocations: 212.9 kB / 1.869 GB, free: 0.4905 GB / 1.498 GB Notification: Performance of SimCode: time 1.443e-06/3.687, allocations: 0 / 1.869 GB, free: 0.4905 GB / 1.498 GB Notification: Performance of Templates: time 0.4462/4.134, allocations: 475.3 MB / 2.333 GB, free: 68.18 MB / 1.498 GB " [Timeout remaining time 296] make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_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: 35.10575493378565]