Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.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.BalancedStepDown.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.BalancedStepDown.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.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.BalancedStepDown.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.308/2.308, allocations: 393.5 MB / 408.4 MB, free: 11.12 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.001139/0.001139, allocations: 186.9 kB / 0.4902 GB, free: 2.301 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.64/1.64, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001042/0.001042, allocations: 95.2 kB / 0.9396 GB, free: 1.906 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 10.84 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3971, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.172/1.569, allocations: 211.9 MB / 1.436 GB, free: 90.17 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005074/1.57, allocations: 120.7 kB / 1.436 GB, free: 90.17 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3763/1.946, allocations: 159 MB / 1.591 GB, free: 30.25 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.608e-06/1.946, allocations: 4 kB / 1.592 GB, free: 30.24 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001793/1.946, allocations: 79.92 kB / 1.592 GB, free: 30.16 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1023 * Number of variables: 1023 Notification: Performance of Generate backend data structure: time 0.01497/1.961, allocations: 3.185 MB / 1.595 GB, free: 27.13 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 7.454e-05/1.961, allocations: 12.02 kB / 1.595 GB, free: 27.12 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01404/1.975, allocations: 2.134 MB / 1.597 GB, free: 24.98 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008298/1.984, allocations: 2.245 MB / 1.599 GB, free: 23.28 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003536/1.984, allocations: 274.5 kB / 1.599 GB, free: 23.12 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002637/1.987, allocations: 369.9 kB / 1.6 GB, free: 22.86 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02176/2.008, allocations: 6.682 MB / 1.606 GB, free: 17.43 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002789/2.009, allocations: 0 / 1.606 GB, free: 17.43 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002511/2.011, allocations: 155.9 kB / 1.606 GB, free: 17.28 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007622/2.012, allocations: 314.2 kB / 1.607 GB, free: 16.97 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0203/2.032, allocations: 6.518 MB / 1.613 GB, free: 10.44 MB / 0.9167 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.05941/2.092, allocations: 28.25 MB / 1.641 GB, free: 11.79 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01005/2.102, allocations: 4.238 MB / 1.645 GB, free: 7.336 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005665/2.103, allocations: 135.1 kB / 1.645 GB, free: 7.188 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.178e-05/2.103, allocations: 68.39 kB / 1.645 GB, free: 7.113 MB / 0.948 GB Notification: Performance of pre-optimization done (n=198): time 5.401e-06/2.103, allocations: 0 / 1.645 GB, free: 7.113 MB / 0.948 GB Notification: Performance of matching and sorting (n=255): time 0.1133/2.216, allocations: 28.41 MB / 1.673 GB, free: 10.66 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001708/2.216, allocations: 231.6 kB / 1.673 GB, free: 10.38 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002686/2.219, allocations: 1.296 MB / 1.674 GB, free: 9.078 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0008741/2.22, allocations: 65.7 kB / 1.674 GB, free: 9.008 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001386/2.221, allocations: 1.551 MB / 1.676 GB, free: 7.434 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001359/2.223, allocations: 0.8587 MB / 1.676 GB, free: 6.562 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/2.223, allocations: 67.94 kB / 1.677 GB, free: 6.496 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002763/2.223, allocations: 440.4 kB / 1.677 GB, free: 6.059 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00565/2.229, allocations: 2.531 MB / 1.679 GB, free: 3.523 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0064/2.235, allocations: 3.434 MB / 1.683 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00657/2.242, allocations: 2.965 MB / 1.686 GB, free: 12.71 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.181e-05/2.242, allocations: 8 kB / 1.686 GB, free: 12.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.02502/2.267, allocations: 8.84 MB / 1.694 GB, free: 3.793 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005289/2.273, allocations: 10.8 MB / 1.705 GB, free: 8.137 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001225/2.273, allocations: 28 kB / 1.705 GB, free: 8.109 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02896/2.302, allocations: 6.648 MB / 1.711 GB, free: 1.445 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005034/2.307, allocations: 0.8852 MB / 1.712 GB, free: 0.5586 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02825/2.335, allocations: 14.05 MB / 1.726 GB, free: 2.336 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006146/2.341, allocations: 0.5146 MB / 1.726 GB, free: 1.82 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001712/2.343, allocations: 191.9 kB / 1.727 GB, free: 1.633 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.475e-05/2.343, allocations: 4 kB / 1.727 GB, free: 1.629 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02471/2.368, allocations: 8.12 MB / 1.735 GB, free: 9.457 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001349/2.368, allocations: 28.56 kB / 1.735 GB, free: 9.43 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0123/2.38, allocations: 3.208 MB / 1.738 GB, free: 6.215 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005352/2.386, allocations: 1.045 MB / 1.739 GB, free: 5.168 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/2.406, allocations: 11.55 MB / 1.75 GB, free: 9.473 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00485/2.411, allocations: 0.4951 MB / 1.751 GB, free: 8.977 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001214/2.412, allocations: 191.9 kB / 1.751 GB, free: 8.789 MB / 1.057 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 () * Number of clocked 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.006064/2.418, allocations: 1.616 MB / 1.752 GB, free: 7.16 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00131/2.42, allocations: 193.7 kB / 1.752 GB, free: 6.969 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02298/2.443, allocations: 8.56 MB / 1.761 GB, free: 14.36 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.74e-05/2.443, allocations: 27.94 kB / 1.761 GB, free: 14.33 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.495e-05/2.443, allocations: 12 kB / 1.761 GB, free: 14.32 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.825e-05/2.443, allocations: 15.95 kB / 1.761 GB, free: 14.3 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03746/2.48, allocations: 13.67 MB / 1.774 GB, free: 476 kB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.372e-05/2.48, allocations: 8 kB / 1.774 GB, free: 468 kB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003332/2.484, allocations: 0.6204 MB / 1.775 GB, free: 15.84 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02701/2.511, allocations: 6.476 MB / 1.781 GB, free: 9.348 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009074/2.512, allocations: 87.92 kB / 1.781 GB, free: 9.262 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02285/2.535, allocations: 13.62 MB / 1.795 GB, free: 11.47 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.874e-05/2.535, allocations: 16.05 kB / 1.795 GB, free: 11.45 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0234/2.558, allocations: 8.513 MB / 1.803 GB, free: 2.676 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00328/2.561, allocations: 0.7288 MB / 1.804 GB, free: 1.926 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001288/2.563, allocations: 47.98 kB / 1.804 GB, free: 1.879 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004241/2.567, allocations: 487.2 kB / 1.804 GB, free: 1.402 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009402/2.568, allocations: 202 kB / 1.804 GB, free: 1.207 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006191/2.569, allocations: 123.9 kB / 1.804 GB, free: 1.086 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.002746/2.571, allocations: 1.012 MB / 1.805 GB, free: 72 kB / 1.104 GB Notification: Performance of sort global known variables: time 4e-07/2.571, allocations: 0 / 1.805 GB, free: 72 kB / 1.104 GB Notification: Performance of remove unused functions: time 0.01012/2.582, allocations: 1.648 MB / 1.807 GB, free: 14.42 MB / 1.12 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 () * Number of clocked 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.0009883/2.583, allocations: 206.7 kB / 1.807 GB, free: 14.21 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.02809/2.611, allocations: 10.68 MB / 1.818 GB, free: 3.5 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/2.611, allocations: 0 / 1.818 GB, free: 3.5 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.009925/2.621, allocations: 3.669 MB / 1.821 GB, free: 15.82 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/2.623, allocations: 194 kB / 1.821 GB, free: 15.63 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03904/2.662, allocations: 12.01 MB / 1.833 GB, free: 3.488 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006576/2.669, allocations: 2.864 MB / 1.836 GB, free: 0.5898 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.006855/2.676, allocations: 1.656 MB / 1.838 GB, free: 14.93 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/2.677, allocations: 171.3 kB / 1.838 GB, free: 14.76 MB / 1.151 GB Notification: Performance of SimCode: time 1.413e-06/2.677, allocations: 0 / 1.838 GB, free: 14.76 MB / 1.151 GB Notification: Performance of Templates: time 0.8017/3.478, allocations: 57.1 MB / 1.894 GB, free: 339.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_DY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches