Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00743/0.00743, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 194.2 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 437 MB / 0.7106 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.89 kB / 0.8692 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6852/0.6867, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02343/0.7101, allocations: 22.42 MB / 1.039 GB, free: 12.29 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01127/0.7215, allocations: 6.245 MB / 1.045 GB, free: 6.031 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002454/0.724, allocations: 83.56 kB / 1.045 GB, free: 5.949 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.004538/0.7285, allocations: 1.408 MB / 1.047 GB, free: 4.539 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.004872/0.7334, allocations: 1.545 MB / 1.048 GB, free: 2.988 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.003884/0.7373, allocations: 1.228 MB / 1.049 GB, free: 1.766 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.009938/0.7473, allocations: 8.86 MB / 1.058 GB, free: 8.883 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01104/0.7584, allocations: 6.729 MB / 1.065 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004288/0.7627, allocations: 2.059 MB / 1.067 GB, free: 12 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005134/0.7678, allocations: 2.96 MB / 1.07 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001691/0.7696, allocations: 316 kB / 1.07 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003503/0.7731, allocations: 1.135 MB / 1.071 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003519/0.7766, allocations: 1.898 MB / 1.073 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004974/0.7816, allocations: 1.999 MB / 1.075 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.007123/0.7888, allocations: 6.158 MB / 1.081 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 9.407e-06/0.7888, allocations: 0 / 1.081 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.376e-06/0.7888, allocations: 4 kB / 1.081 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0002834/0.7891, allocations: 3.938 kB / 1.081 GB, free: 1.508 MB / 0.8262 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.0113/0.8004, allocations: 3.813 MB / 1.085 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 7.585e-05/0.8005, allocations: 8.031 kB / 1.085 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007708/0.8083, allocations: 1.213 MB / 1.086 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006802/0.8151, allocations: 2.219 MB / 1.088 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002814/0.8154, allocations: 246.3 kB / 1.088 GB, free: 9.883 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001452/0.8169, allocations: 319.8 kB / 1.088 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01381/0.8307, allocations: 6.209 MB / 1.094 GB, free: 3.109 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/0.8309, allocations: 15.88 kB / 1.094 GB, free: 3.094 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001035/0.8319, allocations: 136 kB / 1.095 GB, free: 2.961 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005787/0.8325, allocations: 410.3 kB / 1.095 GB, free: 2.559 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009323/0.8419, allocations: 4.654 MB / 1.1 GB, free: 13.89 MB / 0.8575 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.03315/0.875, allocations: 29.14 MB / 1.128 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002056/0.8771, allocations: 1.42 MB / 1.129 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001898/0.8791, allocations: 1.493 MB / 1.131 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000136/0.8792, allocations: 9 kB / 1.131 GB, free: 11.11 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.8793, allocations: 43.56 kB / 1.131 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=110): time 5.06e-06/0.8793, allocations: 0 / 1.131 GB, free: 11.05 MB / 0.8887 GB Notification: Performance of matching and sorting (n=179): time 0.1363/1.016, allocations: 37.24 MB / 1.167 GB, free: 5.742 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.217e-05/1.016, allocations: 69.41 kB / 1.167 GB, free: 5.664 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002393/1.018, allocations: 1.427 MB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002843/1.018, allocations: 57.7 kB / 1.169 GB, free: 4.168 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001022/1.019, allocations: 1.538 MB / 1.17 GB, free: 2.609 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007058/1.02, allocations: 0.6123 MB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009279/1.021, allocations: 383.3 kB / 1.171 GB, free: 1.605 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001031/1.021, allocations: 301.1 kB / 1.172 GB, free: 1.309 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002655/1.024, allocations: 1.788 MB / 1.173 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003001/1.027, allocations: 2.346 MB / 1.176 GB, free: 12.91 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005868/1.033, allocations: 4.394 MB / 1.18 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-05/1.033, allocations: 4 kB / 1.18 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01831/1.051, allocations: 8.563 MB / 1.188 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/1.051, allocations: 12 kB / 1.188 GB, free: 15.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.458e-05/1.051, allocations: 16 kB / 1.188 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01517/1.066, allocations: 4.641 MB / 1.193 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/1.068, allocations: 303.5 kB / 1.193 GB, free: 10.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04471/1.112, allocations: 29.67 MB / 1.222 GB, free: 12.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002127/1.115, allocations: 151.8 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003888/1.115, allocations: 80 kB / 1.222 GB, free: 11.98 MB / 0.9825 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.00261/1.118, allocations: 1.337 MB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005997/1.118, allocations: 201.6 kB / 1.224 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01746/1.136, allocations: 8.433 MB / 1.232 GB, free: 1.961 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.718e-05/1.136, allocations: 16 kB / 1.232 GB, free: 1.945 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001012/1.136, allocations: 28 kB / 1.232 GB, free: 1.918 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-05/1.136, allocations: 7.969 kB / 1.232 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02613/1.162, allocations: 12.85 MB / 1.245 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-05/1.162, allocations: 4 kB / 1.245 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000737/1.163, allocations: 164.5 kB / 1.245 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01478/1.178, allocations: 4.492 MB / 1.249 GB, free: 220 kB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004824/1.178, allocations: 40 kB / 1.249 GB, free: 180 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6278/1.806, allocations: 29.25 MB / 1.278 GB, free: 202.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.927e-06/1.806, allocations: 9.594 kB / 1.278 GB, free: 202.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0152/1.821, allocations: 8.254 MB / 1.286 GB, free: 200.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001216/1.823, allocations: 0.6142 MB / 1.286 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003948/1.823, allocations: 39.5 kB / 1.286 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001283/1.824, allocations: 131.1 kB / 1.287 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008987/1.825, allocations: 172.7 kB / 1.287 GB, free: 199.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/1.825, allocations: 55.34 kB / 1.287 GB, free: 199.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00114/1.826, allocations: 0.9542 MB / 1.288 GB, free: 199.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/1.827, allocations: 3.938 kB / 1.288 GB, free: 199.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003248/1.83, allocations: 1.121 MB / 1.289 GB, free: 199.3 MB / 0.9981 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.0003572/1.83, allocations: 153.5 kB / 1.289 GB, free: 199.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01077/1.841, allocations: 6.506 MB / 1.295 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.841, allocations: 192 / 1.295 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.008222/1.849, allocations: 4.367 MB / 1.3 GB, free: 192.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/1.852, allocations: 0.4926 MB / 1.3 GB, free: 192.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/1.864, allocations: 8.935 MB / 1.309 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002668/1.866, allocations: 2.805 MB / 1.312 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004174/1.867, allocations: 107.4 kB / 1.312 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of SimCode: time 1.212e-06/1.867, allocations: 0 / 1.312 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.1089/1.976, allocations: 154 MB / 1.462 GB, free: 26.29 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches