Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err_V2.1.|err_V2.2.|err_V2.3.|err_V3.1.|err_V3.2.|err_V3.3.|err_V4.1.|err_V4.2.|err_V4.3.|err_Theta2.1.|err_Theta2.2.|err_Theta2.3.|err_Theta3.1.|err_Theta3.2.|err_Theta3.3.|err_Theta4.1.|err_Theta4.2.|err_Theta4.3.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.316/2.316, allocations: 390.3 MB / 402.8 MB, free: 6.676 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 180.8 kB / 496.1 MB, free: 12.87 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 221.3 MB / 0.7915 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009105/0.0009107, allocations: 95.27 kB / 0.9317 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.328e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3231, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.003/1.326, allocations: 212.6 MB / 1.426 GB, free: 7.988 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003389/1.326, allocations: 109.4 kB / 1.426 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4144/1.741, allocations: 164.4 MB / 1.587 GB, free: 7.957 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.793e-06/1.741, allocations: 0 / 1.587 GB, free: 7.957 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0001568/1.741, allocations: 79.98 kB / 1.587 GB, free: 7.879 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.009749/1.751, allocations: 3.059 MB / 1.59 GB, free: 4.762 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/1.751, allocations: 8.031 kB / 1.59 GB, free: 4.754 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0144/1.765, allocations: 2.242 MB / 1.592 GB, free: 2.504 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006256/1.772, allocations: 2.256 MB / 1.595 GB, free: 204 kB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002956/1.772, allocations: 283.4 kB / 1.595 GB, free: 15.92 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/1.774, allocations: 368 kB / 1.595 GB, free: 15.56 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01532/1.789, allocations: 6.21 MB / 1.601 GB, free: 9.227 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.223e-05/1.789, allocations: 11.94 kB / 1.601 GB, free: 9.215 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000504/1.79, allocations: 152 kB / 1.601 GB, free: 9.066 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005442/1.79, allocations: 314.3 kB / 1.602 GB, free: 8.758 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01143/1.802, allocations: 5.552 MB / 1.607 GB, free: 3.203 MB / 1.057 GB Warning: The model contains alias variables with conflicting start and/or 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.04659/1.848, allocations: 28.49 MB / 1.635 GB, free: 4.238 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006844/1.855, allocations: 3.751 MB / 1.639 GB, free: 276 kB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003533/1.859, allocations: 1.867 MB / 1.64 GB, free: 14.39 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003932/1.859, allocations: 135 kB / 1.641 GB, free: 14.24 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/1.859, allocations: 56.5 kB / 1.641 GB, free: 14.18 MB / 1.104 GB Notification: Performance of pre-optimization done (n=198): time 5.391e-06/1.859, allocations: 4 kB / 1.641 GB, free: 14.17 MB / 1.104 GB Notification: Performance of matching and sorting (n=255): time 0.08963/1.949, allocations: 25.03 MB / 1.665 GB, free: 5.113 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001368/1.949, allocations: 231.6 kB / 1.665 GB, free: 4.836 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/1.951, allocations: 1.316 MB / 1.667 GB, free: 3.512 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.0006394/1.952, allocations: 69.64 kB / 1.667 GB, free: 3.438 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.001173/1.953, allocations: 1.567 MB / 1.668 GB, free: 1.848 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.001268/1.954, allocations: 0.8665 MB / 1.669 GB, free: 0.9688 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002386/1.955, allocations: 64 kB / 1.669 GB, free: 0.9062 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0002531/1.955, allocations: 440.4 kB / 1.669 GB, free: 480 kB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003275/1.958, allocations: 2.029 MB / 1.671 GB, free: 14.44 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004185/1.962, allocations: 2.932 MB / 1.674 GB, free: 11.11 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004256/1.967, allocations: 2.477 MB / 1.677 GB, free: 8.609 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.943e-05/1.967, allocations: 12 kB / 1.677 GB, free: 8.598 MB / 1.135 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01686/1.984, allocations: 7.713 MB / 1.684 GB, free: 0.8203 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.005061/1.989, allocations: 10.8 MB / 1.695 GB, free: 5.164 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-05/1.989, allocations: 28.09 kB / 1.695 GB, free: 5.137 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7477/2.737, allocations: 5.44 MB / 1.7 GB, free: 318.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004699/2.741, allocations: 0.8782 MB / 1.701 GB, free: 318.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02507/2.766, allocations: 13.42 MB / 1.714 GB, free: 316.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004799/2.771, allocations: 0.542 MB / 1.715 GB, free: 316.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005765/2.772, allocations: 170.1 kB / 1.715 GB, free: 316.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/2.772, allocations: 4.188 kB / 1.715 GB, free: 316.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0161/2.788, allocations: 7.005 MB / 1.722 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001335/2.788, allocations: 29.81 kB / 1.722 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009888/2.798, allocations: 2.727 MB / 1.724 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005035/2.803, allocations: 1.047 MB / 1.725 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01844/2.822, allocations: 10.98 MB / 1.736 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004565/2.826, allocations: 0.5142 MB / 1.737 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007826/2.827, allocations: 169.4 kB / 1.737 GB, free: 315.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (302): * Single equations (assignments): 300 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,100.0%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of prepare postOptimizeDAE: time 0.00104/2.828, allocations: 294.9 kB / 1.737 GB, free: 315.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006791/2.829, allocations: 192.2 kB / 1.737 GB, free: 315.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0149/2.844, allocations: 7.469 MB / 1.744 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.712e-05/2.844, allocations: 25.5 kB / 1.745 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.549e-05/2.844, allocations: 12.16 kB / 1.745 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.955e-05/2.844, allocations: 12.95 kB / 1.745 GB, free: 315 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02364/2.867, allocations: 12.55 MB / 1.757 GB, free: 312.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-05/2.867, allocations: 7.719 kB / 1.757 GB, free: 312.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002877/2.87, allocations: 0.6187 MB / 1.757 GB, free: 312.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01798/2.888, allocations: 5.257 MB / 1.763 GB, free: 311.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005904/2.889, allocations: 74.75 kB / 1.763 GB, free: 311.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01743/2.906, allocations: 13.03 MB / 1.775 GB, free: 305.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.468e-06/2.906, allocations: 15.56 kB / 1.775 GB, free: 305.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0128/2.919, allocations: 7.42 MB / 1.783 GB, free: 302.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/2.921, allocations: 0.7212 MB / 1.783 GB, free: 302.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004283/2.922, allocations: 54.41 kB / 1.783 GB, free: 302.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003242/2.925, allocations: 498.2 kB / 1.784 GB, free: 302.3 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004796/2.926, allocations: 197.1 kB / 1.784 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00024/2.926, allocations: 109.5 kB / 1.784 GB, free: 302.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001352/2.927, allocations: 1.021 MB / 1.785 GB, free: 301.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.5e-07/2.927, allocations: 0 / 1.785 GB, free: 301.8 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.005541/2.933, allocations: 1.667 MB / 1.787 GB, free: 301.7 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,100.0%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004239/2.933, allocations: 188.8 kB / 1.787 GB, free: 301.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01554/2.949, allocations: 9.176 MB / 1.796 GB, free: 298.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/2.949, allocations: 0 / 1.796 GB, free: 298.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006133/2.955, allocations: 3.157 MB / 1.799 GB, free: 297.6 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/2.957, allocations: 218.3 kB / 1.799 GB, free: 297.5 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02472/2.981, allocations: 9.041 MB / 1.808 GB, free: 295.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002448/2.984, allocations: 2.882 MB / 1.811 GB, free: 294 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005094/2.989, allocations: 1.791 MB / 1.813 GB, free: 293.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005695/2.989, allocations: 158.3 kB / 1.813 GB, free: 293.9 MB / 1.151 GB Notification: Performance of SimCode: time 9.22e-07/2.99, allocations: 0 / 1.813 GB, free: 293.9 MB / 1.151 GB Notification: Performance of Templates: time 0.07504/3.065, allocations: 58.39 MB / 1.87 GB, free: 268.9 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_DY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches