Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001842/0.001842, allocations: 103.9 kB / 16.35 MB, free: 5.828 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.002048/0.002048, allocations: 190.5 kB / 17.29 MB, free: 5.484 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.441/1.441, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.574/2.574, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 68.62 kB / 0.8773 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3969, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N): time 0.04453/0.4414, allocations: 41.19 MB / 1.067 GB, free: 8.734 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.774/1.215, allocations: 15.08 MB / 1.082 GB, free: 20.49 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006321/1.222, allocations: 190.8 kB / 1.082 GB, free: 20.49 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.01314/1.235, allocations: 4.465 MB / 1.086 GB, free: 20.41 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01287/1.248, allocations: 2.791 MB / 1.089 GB, free: 20.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.01047/1.258, allocations: 3.154 MB / 1.092 GB, free: 19.84 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0222/1.281, allocations: 11.41 MB / 1.103 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02915/1.31, allocations: 12.46 MB / 1.115 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01791/1.328, allocations: 4.817 MB / 1.12 GB, free: 8.918 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01844/1.346, allocations: 5.387 MB / 1.125 GB, free: 7 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.007362/1.354, allocations: 0.9481 MB / 1.126 GB, free: 7 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01221/1.366, allocations: 2.038 MB / 1.128 GB, free: 6.734 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0145/1.381, allocations: 3.702 MB / 1.132 GB, free: 5.246 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.02247/1.403, allocations: 4.298 MB / 1.136 GB, free: 2.551 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.03349/1.437, allocations: 14.27 MB / 1.15 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/1.437, allocations: 0 / 1.15 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.074e-06/1.437, allocations: 0 / 1.15 GB, free: 9.066 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000649/1.437, allocations: 0 / 1.15 GB, free: 9.066 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.03164/1.469, allocations: 7.611 MB / 1.157 GB, free: 4.176 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/1.469, allocations: 16.75 kB / 1.157 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01311/1.482, allocations: 1.52 MB / 1.159 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01278/1.495, allocations: 4.444 MB / 1.163 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005624/1.496, allocations: 452.9 kB / 1.164 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003762/1.499, allocations: 0.5988 MB / 1.164 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0329/1.532, allocations: 10.68 MB / 1.175 GB, free: 2.168 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004132/1.533, allocations: 27.72 kB / 1.175 GB, free: 2.141 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00339/1.536, allocations: 263.5 kB / 1.175 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003085/1.539, allocations: 0.7729 MB / 1.176 GB, free: 1.121 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02269/1.562, allocations: 8.565 MB / 1.184 GB, free: 8.535 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08898/1.651, allocations: 46.53 MB / 1.23 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009714/1.661, allocations: 4.319 MB / 1.234 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00878/1.67, allocations: 3.696 MB / 1.237 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004703/1.67, allocations: 38.78 kB / 1.237 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.938e-05/1.67, allocations: 81.34 kB / 1.237 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=353): time 8.395e-06/1.67, allocations: 3.938 kB / 1.237 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of matching and sorting (n=578): time 0.4923/2.163, allocations: 122.7 MB / 1.357 GB, free: 2.859 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.14e-05/2.163, allocations: 111.9 kB / 1.357 GB, free: 2.734 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004406/2.167, allocations: 2.677 MB / 1.36 GB, free: 60 kB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.001443/2.169, allocations: 121.8 kB / 1.36 GB, free: 15.93 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.002324/2.171, allocations: 2.682 MB / 1.363 GB, free: 13.23 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.003467/2.174, allocations: 1.957 MB / 1.365 GB, free: 11.29 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002146/2.177, allocations: 0.9248 MB / 1.366 GB, free: 10.36 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001112/2.177, allocations: 301.1 kB / 1.366 GB, free: 10.06 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006561/2.183, allocations: 4.079 MB / 1.37 GB, free: 5.973 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007481/2.191, allocations: 5.017 MB / 1.375 GB, free: 0.6328 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01488/2.206, allocations: 9.846 MB / 1.384 GB, free: 6.418 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.657e-05/2.206, allocations: 12 kB / 1.384 GB, free: 6.406 MB / 1.092 GB Notification: Performance of matching and sorting (n=713) (initialization): time 0.04049/2.246, allocations: 16.99 MB / 1.401 GB, free: 5.289 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 4.666e-05/2.246, allocations: 14.5 kB / 1.401 GB, free: 5.277 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.481e-05/2.246, allocations: 24 kB / 1.401 GB, free: 5.254 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03161/2.278, allocations: 9.08 MB / 1.41 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/2.281, allocations: 0.5265 MB / 1.41 GB, free: 11.61 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1155/2.396, allocations: 76.96 MB / 1.486 GB, free: 13.1 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006181/2.402, allocations: 275.8 kB / 1.486 GB, free: 12.83 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/2.404, allocations: 188 kB / 1.486 GB, free: 12.65 MB / 1.201 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.006269/2.41, allocations: 2.445 MB / 1.488 GB, free: 10.19 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001628/2.412, allocations: 470.5 kB / 1.489 GB, free: 9.727 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03997/2.452, allocations: 16.82 MB / 1.505 GB, free: 8.762 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001153/2.452, allocations: 56 kB / 1.505 GB, free: 8.707 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003364/2.452, allocations: 76 kB / 1.505 GB, free: 8.633 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000176/2.452, allocations: 27.89 kB / 1.505 GB, free: 8.605 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0619/2.514, allocations: 25.66 MB / 1.53 GB, free: 14.72 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.45e-05/2.514, allocations: 11.94 kB / 1.53 GB, free: 14.71 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001935/2.516, allocations: 315.6 kB / 1.531 GB, free: 14.4 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02916/2.546, allocations: 8.27 MB / 1.539 GB, free: 6.086 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001487/2.547, allocations: 108 kB / 1.539 GB, free: 5.98 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7468/3.294, allocations: 73.82 MB / 1.611 GB, free: 361.9 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/3.294, allocations: 12.88 kB / 1.611 GB, free: 361.9 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04/3.334, allocations: 21.56 MB / 1.632 GB, free: 353.3 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003991/3.338, allocations: 1.357 MB / 1.633 GB, free: 352.5 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/3.339, allocations: 109.8 kB / 1.634 GB, free: 352.4 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003149/3.342, allocations: 289.3 kB / 1.634 GB, free: 352.4 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002203/3.344, allocations: 0.524 MB / 1.634 GB, free: 352.3 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004258/3.345, allocations: 144.5 kB / 1.634 GB, free: 352.2 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00223/3.347, allocations: 1.777 MB / 1.636 GB, free: 351.6 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.112e-06/3.347, allocations: 0.9375 kB / 1.636 GB, free: 351.6 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.006998/3.354, allocations: 2.463 MB / 1.639 GB, free: 351.3 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.0007149/3.355, allocations: 241.4 kB / 1.639 GB, free: 351.2 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.02098/3.376, allocations: 14.53 MB / 1.653 GB, free: 341.7 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/3.376, allocations: 8.312 kB / 1.653 GB, free: 341.7 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.01539/3.391, allocations: 9.359 MB / 1.662 GB, free: 333.4 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006131/3.397, allocations: 1.377 MB / 1.664 GB, free: 332 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02958/3.427, allocations: 15.58 MB / 1.679 GB, free: 316.4 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006988/3.434, allocations: 4.896 MB / 1.684 GB, free: 311.5 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.003255/3.437, allocations: 0.7449 MB / 1.684 GB, free: 310.7 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006306/3.438, allocations: 199.4 kB / 1.684 GB, free: 310.5 MB / 1.248 GB Notification: Performance of SimCode: time 1.593e-06/3.438, allocations: 0.6562 kB / 1.684 GB, free: 310.5 MB / 1.248 GB Notification: Performance of Templates: time 0.1918/3.63, allocations: 144.7 MB / 1.826 GB, free: 167.3 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches