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.0008075/0.0008075, allocations: 76.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007914/0.0007914, allocations: 174.3 kB / 23.21 MB, free: 1.352 MB / 18.57 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 0.8909/0.8909, allocations: 177.1 MB / 203.5 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.691/1.691, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.9517 GB, free: 2.965 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.773e-05, allocations: 2.281 kB / 0.9517 GB, free: 2.961 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01493/0.01496, allocations: 21.14 MB / 0.9724 GB, free: 13.74 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.007486/0.02244, allocations: 6.127 MB / 0.9784 GB, free: 7.602 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000745/0.02319, allocations: 131.1 kB / 0.9785 GB, free: 7.473 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 0.001864/0.02505, allocations: 1.573 MB / 0.98 GB, free: 5.895 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.02755, allocations: 1.768 MB / 0.9818 GB, free: 4.117 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 0.00182/0.02937, allocations: 1.359 MB / 0.9831 GB, free: 2.762 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 0.00369/0.03306, allocations: 6.036 MB / 0.989 GB, free: 12.7 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002668/0.03573, allocations: 3.217 MB / 0.9921 GB, free: 9.406 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002807/0.03853, allocations: 3.446 MB / 0.9955 GB, free: 5.953 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.04077, allocations: 2.771 MB / 0.9982 GB, free: 3.176 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 0.000331/0.04111, allocations: 460 kB / 0.9986 GB, free: 2.727 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.04239, allocations: 1.053 MB / 0.9997 GB, free: 1.672 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.001154/0.04354, allocations: 2.183 MB / 1.002 GB, free: 15.48 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0009655/0.04451, allocations: 1.501 MB / 1.003 GB, free: 13.98 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.004185/0.04869, allocations: 7.445 MB / 1.011 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.0487, allocations: 0 / 1.011 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.734e-06/0.0487, allocations: 0 / 1.011 GB, free: 6.516 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.073e-05/0.04874, allocations: 0 / 1.011 GB, free: 6.516 MB / 0.9636 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.003724/0.05246, allocations: 3.791 MB / 1.014 GB, free: 2.676 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.05251, allocations: 8.031 kB / 1.014 GB, free: 2.668 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002966/0.05547, allocations: 1.235 MB / 1.015 GB, free: 1.43 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002562/0.05803, allocations: 2.316 MB / 1.018 GB, free: 15.06 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.05815, allocations: 242.3 kB / 1.018 GB, free: 14.82 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003415/0.05849, allocations: 315.9 kB / 1.018 GB, free: 14.52 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005976/0.06447, allocations: 6.434 MB / 1.025 GB, free: 7.773 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.729e-05/0.06453, allocations: 19.83 kB / 1.025 GB, free: 7.754 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002405/0.06477, allocations: 139.9 kB / 1.025 GB, free: 7.617 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003021/0.06507, allocations: 406.3 kB / 1.025 GB, free: 7.219 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004626/0.06969, allocations: 4.651 MB / 1.03 GB, free: 2.559 MB / 0.9792 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.01427/0.08396, allocations: 18.05 MB / 1.047 GB, free: 4 kB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.508/0.592, allocations: 1.367 MB / 1.049 GB, free: 127 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.5932, allocations: 1.428 MB / 1.05 GB, free: 127 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.792e-05/0.5932, allocations: 13.19 kB / 1.05 GB, free: 127 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.5933, allocations: 43.91 kB / 1.05 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 3.256e-06/0.5933, allocations: 10.16 kB / 1.05 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=179): time 0.07385/0.6671, allocations: 37.06 MB / 1.086 GB, free: 122 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.6672, allocations: 76 kB / 1.086 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001824/0.669, allocations: 1.367 MB / 1.088 GB, free: 121.4 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/0.6691, allocations: 54.98 kB / 1.088 GB, free: 121.3 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009289/0.67, allocations: 1.58 MB / 1.089 GB, free: 120.4 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004945/0.6705, allocations: 0.6367 MB / 1.09 GB, free: 119.9 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005479/0.6711, allocations: 379.9 kB / 1.09 GB, free: 119.7 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.715e-05/0.6711, allocations: 301.9 kB / 1.09 GB, free: 119.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002167/0.6733, allocations: 1.783 MB / 1.092 GB, free: 118.8 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/0.6756, allocations: 2.347 MB / 1.095 GB, free: 117.5 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004852/0.6805, allocations: 4.391 MB / 1.099 GB, free: 115.3 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/0.6805, allocations: 4.094 kB / 1.099 GB, free: 115.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01298/0.6935, allocations: 8.432 MB / 1.107 GB, free: 112.7 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 3.784e-05/0.6935, allocations: 15.91 kB / 1.107 GB, free: 112.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/0.6935, allocations: 17.34 kB / 1.107 GB, free: 112.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008603/0.7021, allocations: 4.611 MB / 1.112 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006598/0.7028, allocations: 298.2 kB / 1.112 GB, free: 111.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02398/0.7268, allocations: 31.43 MB / 1.143 GB, free: 84.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.7279, allocations: 151.8 kB / 1.143 GB, free: 84.81 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/0.7281, allocations: 80 kB / 1.143 GB, free: 84.73 MB / 0.9948 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.001656/0.7297, allocations: 1.332 MB / 1.144 GB, free: 83.39 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001934/0.7299, allocations: 206.6 kB / 1.144 GB, free: 83.19 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008775/0.7387, allocations: 8.288 MB / 1.152 GB, free: 74.85 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/0.7387, allocations: 20 kB / 1.152 GB, free: 74.83 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.791e-05/0.7387, allocations: 24 kB / 1.152 GB, free: 74.8 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.7387, allocations: 11.97 kB / 1.152 GB, free: 74.79 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01193/0.7507, allocations: 11.64 MB / 1.164 GB, free: 63.04 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.7507, allocations: 4 kB / 1.164 GB, free: 63.03 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/0.751, allocations: 167.7 kB / 1.164 GB, free: 62.87 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006819/0.7578, allocations: 4.467 MB / 1.168 GB, free: 58.39 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001081/0.7579, allocations: 36 kB / 1.168 GB, free: 58.36 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02353/0.7814, allocations: 31.03 MB / 1.199 GB, free: 26.75 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7815, allocations: 8 kB / 1.199 GB, free: 26.74 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009136/0.7906, allocations: 8.088 MB / 1.207 GB, free: 18.53 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008084/0.7914, allocations: 0.5453 MB / 1.207 GB, free: 17.98 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/0.7916, allocations: 47.92 kB / 1.207 GB, free: 17.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006594/0.7922, allocations: 131.8 kB / 1.207 GB, free: 17.8 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005293/0.7927, allocations: 176.9 kB / 1.207 GB, free: 17.63 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.228e-05/0.7928, allocations: 55.22 kB / 1.207 GB, free: 17.58 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000693/0.7935, allocations: 0.8937 MB / 1.208 GB, free: 16.69 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.7935, allocations: 0 / 1.208 GB, free: 16.69 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.002359/0.7959, allocations: 1.117 MB / 1.209 GB, free: 15.57 MB / 0.9948 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.0002249/0.7961, allocations: 151 kB / 1.21 GB, free: 15.41 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006261/0.8024, allocations: 6.284 MB / 1.216 GB, free: 9.066 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 5.149e-06/0.8024, allocations: 8.125 kB / 1.216 GB, free: 9.059 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.004046/0.8064, allocations: 4.165 MB / 1.22 GB, free: 4.824 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.8078, allocations: 0.5181 MB / 1.22 GB, free: 4.336 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008241/0.816, allocations: 7.478 MB / 1.228 GB, free: 12.74 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001991/0.818, allocations: 2.243 MB / 1.23 GB, free: 10.45 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/0.8183, allocations: 108.5 kB / 1.23 GB, free: 10.34 MB / 1.01 GB Notification: Performance of SimCode: time 1.413e-06/0.8183, allocations: 0 / 1.23 GB, free: 10.34 MB / 1.01 GB Notification: Performance of Templates: time 0.1001/0.9184, allocations: 155.3 MB / 1.382 GB, free: 14.99 MB / 1.167 GB " [Timeout remaining time 299] 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/jenkins/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: 14.298169616609812]