Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) 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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=5000,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_11_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=5000,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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 109.3 kB / 15.99 MB, free: 6.344 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.00149/0.00149, allocations: 197.9 kB / 16.91 MB, free: 6.176 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.342/1.342, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.586/2.586, allocations: 469.8 MB / 0.7427 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001893, allocations: 68.39 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3232, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.4985/0.8217, allocations: 40.79 MB / 1.104 GB, free: 2.27 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02523/0.847, allocations: 14.96 MB / 1.119 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005734/0.8527, allocations: 173.4 kB / 1.119 GB, free: 8.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.01176/0.8646, allocations: 4.169 MB / 1.123 GB, free: 5.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009533/0.8741, allocations: 2.595 MB / 1.125 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.009394/0.8835, allocations: 2.881 MB / 1.128 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01775/0.9013, allocations: 11.44 MB / 1.139 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02457/0.9259, allocations: 14.85 MB / 1.154 GB, free: 6.805 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01115/0.9371, allocations: 4.897 MB / 1.159 GB, free: 4.547 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01109/0.9482, allocations: 5.635 MB / 1.164 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.004155/0.9524, allocations: 0.9485 MB / 1.165 GB, free: 1.332 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007789/0.9603, allocations: 2.04 MB / 1.167 GB, free: 0.7461 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.007415/0.9677, allocations: 3.698 MB / 1.171 GB, free: 13.81 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.01189/0.9796, allocations: 4.303 MB / 1.175 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01672/0.9964, allocations: 12.17 MB / 1.187 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.196e-06/0.9964, allocations: 0 / 1.187 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.552e-06/0.9964, allocations: 0 / 1.187 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004382/0.9969, allocations: 0 / 1.187 GB, free: 13.29 MB / 0.9044 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.02117/1.018, allocations: 7.6 MB / 1.194 GB, free: 5.613 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/1.018, allocations: 8.031 kB / 1.194 GB, free: 5.605 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/1.029, allocations: 1.515 MB / 1.196 GB, free: 4.082 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008724/1.037, allocations: 4.205 MB / 1.2 GB, free: 15.79 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000417/1.038, allocations: 460.4 kB / 1.2 GB, free: 15.34 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002033/1.04, allocations: 0.5939 MB / 1.201 GB, free: 14.75 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02343/1.063, allocations: 10.69 MB / 1.211 GB, free: 3.688 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002192/1.064, allocations: 27.72 kB / 1.211 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001375/1.065, allocations: 271.9 kB / 1.212 GB, free: 3.395 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002694/1.068, allocations: 0.7729 MB / 1.212 GB, free: 2.617 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01826/1.086, allocations: 8.561 MB / 1.221 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.068/1.154, allocations: 46.86 MB / 1.266 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00666/1.161, allocations: 4.301 MB / 1.271 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005752/1.167, allocations: 3.705 MB / 1.274 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003213/1.167, allocations: 34.78 kB / 1.274 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.531e-05/1.167, allocations: 81.28 kB / 1.274 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=353): time 5.32e-06/1.167, allocations: 0 / 1.274 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=578): time 0.4911/1.658, allocations: 122.8 MB / 1.394 GB, free: 3.594 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/1.658, allocations: 107.9 kB / 1.394 GB, free: 3.473 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004261/1.662, allocations: 2.681 MB / 1.397 GB, free: 0.793 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.00119/1.664, allocations: 121.7 kB / 1.397 GB, free: 0.668 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.002211/1.666, allocations: 2.683 MB / 1.4 GB, free: 13.95 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.002889/1.669, allocations: 1.948 MB / 1.402 GB, free: 11.98 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002071/1.671, allocations: 0.9287 MB / 1.403 GB, free: 11.04 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001426/1.671, allocations: 301.1 kB / 1.403 GB, free: 10.74 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0063/1.677, allocations: 4.087 MB / 1.407 GB, free: 6.648 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007464/1.685, allocations: 5.008 MB / 1.412 GB, free: 1.312 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01595/1.701, allocations: 9.848 MB / 1.421 GB, free: 7.086 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.762e-05/1.701, allocations: 8 kB / 1.421 GB, free: 7.078 MB / 1.139 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04288/1.744, allocations: 17 MB / 1.438 GB, free: 5.945 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.153e-05/1.744, allocations: 18.66 kB / 1.438 GB, free: 5.93 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-05/1.744, allocations: 20 kB / 1.438 GB, free: 5.91 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03301/1.777, allocations: 9.15 MB / 1.447 GB, free: 12.72 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/1.78, allocations: 0.5226 MB / 1.447 GB, free: 12.2 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.117/1.897, allocations: 77.03 MB / 1.523 GB, free: 13.56 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004632/1.901, allocations: 279.9 kB / 1.523 GB, free: 13.29 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006876/1.902, allocations: 188 kB / 1.523 GB, free: 13.11 MB / 1.248 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.004285/1.906, allocations: 2.433 MB / 1.525 GB, free: 10.66 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/1.907, allocations: 470.5 kB / 1.526 GB, free: 10.2 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03696/1.944, allocations: 16.82 MB / 1.542 GB, free: 9.23 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.595e-05/1.944, allocations: 52 kB / 1.542 GB, free: 9.18 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.00017/1.945, allocations: 72 kB / 1.542 GB, free: 9.109 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.188e-05/1.945, allocations: 31.83 kB / 1.542 GB, free: 9.078 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5602/2.505, allocations: 25.65 MB / 1.568 GB, free: 401.3 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-05/2.505, allocations: 6.312 kB / 1.568 GB, free: 401.3 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/2.507, allocations: 321.6 kB / 1.568 GB, free: 401.3 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02847/2.535, allocations: 8.337 MB / 1.576 GB, free: 400.5 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007842/2.536, allocations: 108.3 kB / 1.576 GB, free: 400.4 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08707/2.623, allocations: 73.89 MB / 1.648 GB, free: 358.7 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.628e-06/2.623, allocations: 11.66 kB / 1.648 GB, free: 358.7 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0363/2.66, allocations: 21.56 MB / 1.669 GB, free: 348.3 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003853/2.664, allocations: 1.358 MB / 1.671 GB, free: 347.1 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/2.665, allocations: 111.6 kB / 1.671 GB, free: 347 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003407/2.668, allocations: 281.6 kB / 1.671 GB, free: 346.8 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002459/2.671, allocations: 0.523 MB / 1.672 GB, free: 346.4 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003968/2.671, allocations: 151.7 kB / 1.672 GB, free: 346.3 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.002651/2.674, allocations: 1.776 MB / 1.673 GB, free: 344.8 MB / 1.264 GB Notification: Performance of sort global known variables: time 6.31e-07/2.674, allocations: 0 / 1.673 GB, free: 344.8 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.006936/2.681, allocations: 2.469 MB / 1.676 GB, free: 342.3 MB / 1.264 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.0006749/2.681, allocations: 232.1 kB / 1.676 GB, free: 342.1 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.02811/2.71, allocations: 18.68 MB / 1.694 GB, free: 323.2 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-05/2.71, allocations: 0 / 1.694 GB, free: 323.2 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.01519/2.725, allocations: 9.35 MB / 1.703 GB, free: 313.7 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007558/2.732, allocations: 1.374 MB / 1.705 GB, free: 312.4 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0277/2.76, allocations: 19.67 MB / 1.724 GB, free: 292.6 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006247/2.766, allocations: 4.99 MB / 1.729 GB, free: 287.6 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/2.767, allocations: 211.4 kB / 1.729 GB, free: 287.4 MB / 1.264 GB Notification: Performance of SimCode: time 1.002e-06/2.768, allocations: 3.938 kB / 1.729 GB, free: 287.4 MB / 1.264 GB Notification: Performance of Templates: time 0.8295/3.597, allocations: 474.6 MB / 2.192 GB, free: 317.5 MB / 1.295 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches