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) 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.1-maint.10.0.x/package.mo", uses=false) 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=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_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=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_10_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.001863/0.001863, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001964/0.001964, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.454/1.454, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.616/2.616, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001957, allocations: 64.44 kB / 0.8699 GB, free: 2.195 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3273, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.05131/0.3786, allocations: 41.19 MB / 1.058 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.02827/0.407, allocations: 15.08 MB / 1.073 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004671/0.4117, allocations: 187.1 kB / 1.073 GB, free: 2.016 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.5135/0.9253, allocations: 4.456 MB / 1.077 GB, free: 19.54 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.008446/0.9338, allocations: 2.795 MB / 1.08 GB, free: 19.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008475/0.9423, allocations: 3.156 MB / 1.083 GB, free: 19.36 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01785/0.9602, allocations: 11.4 MB / 1.094 GB, free: 19.03 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02369/0.9839, allocations: 12.63 MB / 1.107 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01044/0.9944, allocations: 4.795 MB / 1.111 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01099/1.005, allocations: 5.388 MB / 1.117 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.004648/1.01, allocations: 0.9491 MB / 1.118 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00869/1.019, allocations: 2.038 MB / 1.12 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.008235/1.027, allocations: 3.702 MB / 1.123 GB, free: 10.26 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01275/1.04, allocations: 4.3 MB / 1.127 GB, free: 7.562 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01953/1.059, allocations: 14.19 MB / 1.141 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.742e-06/1.059, allocations: 0 / 1.141 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.703e-06/1.059, allocations: 0 / 1.141 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0005266/1.06, allocations: 0 / 1.141 GB, free: 15.74 MB / 0.8575 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.02899/1.089, allocations: 7.591 MB / 1.149 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.564e-05/1.089, allocations: 11.23 kB / 1.149 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01371/1.103, allocations: 1.518 MB / 1.15 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01184/1.115, allocations: 4.207 MB / 1.154 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006338/1.115, allocations: 454.7 kB / 1.155 GB, free: 6.75 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003631/1.119, allocations: 0.5972 MB / 1.155 GB, free: 6.172 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02917/1.148, allocations: 10.68 MB / 1.166 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003992/1.149, allocations: 39.64 kB / 1.166 GB, free: 11.13 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002675/1.151, allocations: 264.3 kB / 1.166 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003386/1.155, allocations: 0.7768 MB / 1.167 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02207/1.177, allocations: 8.557 MB / 1.175 GB, free: 1.531 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0768/1.254, allocations: 46.85 MB / 1.221 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007675/1.261, allocations: 4.301 MB / 1.225 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006677/1.268, allocations: 3.708 MB / 1.229 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004091/1.269, allocations: 38.78 kB / 1.229 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.443e-05/1.269, allocations: 81.28 kB / 1.229 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=353): time 7.764e-06/1.269, allocations: 3.938 kB / 1.229 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of matching and sorting (n=578): time 0.5522/1.821, allocations: 122.8 MB / 1.349 GB, free: 11.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/1.821, allocations: 115.9 kB / 1.349 GB, free: 11.35 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006199/1.827, allocations: 2.673 MB / 1.352 GB, free: 8.676 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.001676/1.829, allocations: 125.7 kB / 1.352 GB, free: 8.547 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.00227/1.831, allocations: 2.678 MB / 1.354 GB, free: 5.848 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.00336/1.835, allocations: 1.951 MB / 1.356 GB, free: 3.914 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00373/1.838, allocations: 0.9326 MB / 1.357 GB, free: 2.973 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001325/1.839, allocations: 301.1 kB / 1.357 GB, free: 2.676 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006979/1.846, allocations: 4.079 MB / 1.361 GB, free: 14.59 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007825/1.853, allocations: 5.015 MB / 1.366 GB, free: 9.25 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01707/1.871, allocations: 9.853 MB / 1.376 GB, free: 15.03 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.202e-05/1.871, allocations: 4 kB / 1.376 GB, free: 15.02 MB / 1.092 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.0465/1.917, allocations: 16.99 MB / 1.392 GB, free: 13.9 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 5.915e-05/1.917, allocations: 16 kB / 1.392 GB, free: 13.88 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-05/1.917, allocations: 20 kB / 1.392 GB, free: 13.86 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03671/1.954, allocations: 9.155 MB / 1.401 GB, free: 4.668 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002868/1.957, allocations: 0.5187 MB / 1.402 GB, free: 4.148 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1351/2.092, allocations: 77.03 MB / 1.477 GB, free: 5.586 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00611/2.098, allocations: 275.8 kB / 1.477 GB, free: 5.316 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001582/2.1, allocations: 192 kB / 1.478 GB, free: 5.129 MB / 1.186 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.007325/2.107, allocations: 2.43 MB / 1.48 GB, free: 2.688 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002288/2.109, allocations: 470.5 kB / 1.48 GB, free: 2.223 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04767/2.157, allocations: 16.82 MB / 1.497 GB, free: 1.258 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.64e-05/2.157, allocations: 56 kB / 1.497 GB, free: 1.203 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002985/2.158, allocations: 71.98 kB / 1.497 GB, free: 1.133 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001415/2.158, allocations: 35.89 kB / 1.497 GB, free: 1.098 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07002/2.228, allocations: 25.65 MB / 1.522 GB, free: 7.207 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.48e-05/2.228, allocations: 7.938 kB / 1.522 GB, free: 7.199 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002157/2.23, allocations: 323.5 kB / 1.522 GB, free: 6.883 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03202/2.262, allocations: 8.335 MB / 1.531 GB, free: 14.51 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00144/2.264, allocations: 104 kB / 1.531 GB, free: 14.41 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7399/3.003, allocations: 73.89 MB / 1.603 GB, free: 399.4 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.444e-05/3.004, allocations: 15.44 kB / 1.603 GB, free: 399.4 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04943/3.053, allocations: 21.57 MB / 1.624 GB, free: 390.5 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00454/3.058, allocations: 1.356 MB / 1.625 GB, free: 389.8 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00254/3.06, allocations: 113.5 kB / 1.625 GB, free: 389.7 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005198/3.065, allocations: 291.1 kB / 1.626 GB, free: 389.7 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003357/3.069, allocations: 0.5166 MB / 1.626 GB, free: 389.6 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001169/3.07, allocations: 145.9 kB / 1.626 GB, free: 389.5 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003819/3.074, allocations: 1.78 MB / 1.628 GB, free: 388.9 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.4e-07/3.074, allocations: 3.828 kB / 1.628 GB, free: 388.9 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.01232/3.086, allocations: 2.464 MB / 1.63 GB, free: 388.6 MB / 1.248 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.001484/3.088, allocations: 239.2 kB / 1.631 GB, free: 388.4 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.03488/3.122, allocations: 18.67 MB / 1.649 GB, free: 379.9 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/3.123, allocations: 0 / 1.649 GB, free: 379.9 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01874/3.141, allocations: 9.357 MB / 1.658 GB, free: 371.7 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01105/3.152, allocations: 1.374 MB / 1.659 GB, free: 370.6 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0364/3.189, allocations: 16.65 MB / 1.676 GB, free: 355.7 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009753/3.199, allocations: 4.992 MB / 1.68 GB, free: 351.8 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001398/3.2, allocations: 215.4 kB / 1.681 GB, free: 351.6 MB / 1.248 GB Notification: Performance of SimCode: time 1.042e-06/3.2, allocations: 0 / 1.681 GB, free: 351.6 MB / 1.248 GB Notification: Performance of Templates: time 1.024/4.224, allocations: 474.6 MB / 2.144 GB, free: 327.4 MB / 1.248 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (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) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches