Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.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.YY,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.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY,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.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.302/2.302, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001362/0.001362, allocations: 178.8 kB / 0.4902 GB, free: 2.242 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.651/1.651, allocations: 223.1 MB / 0.7992 GB, free: 14.66 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.0009037/0.0009037, allocations: 98.27 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004255, allocations: 14.25 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3971/0.3975, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.117/1.515, allocations: 211.5 MB / 1.436 GB, free: 193.1 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004997/1.515, allocations: 120.6 kB / 1.436 GB, free: 193.1 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3936/1.909, allocations: 165.5 MB / 1.598 GB, free: 46.09 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.765e-06/1.909, allocations: 0 / 1.598 GB, free: 46.09 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002521/1.909, allocations: 76 kB / 1.598 GB, free: 46.01 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: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.01385/1.923, allocations: 3.301 MB / 1.601 GB, free: 42.65 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/1.923, allocations: 8.031 kB / 1.601 GB, free: 42.64 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/1.937, allocations: 2.164 MB / 1.603 GB, free: 40.47 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007111/1.944, allocations: 2.315 MB / 1.605 GB, free: 38.11 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/1.944, allocations: 299.8 kB / 1.606 GB, free: 37.82 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002451/1.947, allocations: 380 kB / 1.606 GB, free: 37.45 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02335/1.97, allocations: 6.968 MB / 1.613 GB, free: 30.36 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002149/1.97, allocations: 11.84 kB / 1.613 GB, free: 30.35 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001949/1.972, allocations: 167.9 kB / 1.613 GB, free: 30.19 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006755/1.973, allocations: 310.6 kB / 1.613 GB, free: 29.88 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02161/1.994, allocations: 6.652 MB / 1.62 GB, free: 23.22 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.04933/2.044, allocations: 28.62 MB / 1.648 GB, free: 8.215 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008542/2.052, allocations: 3.716 MB / 1.651 GB, free: 4.332 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003359/2.053, allocations: 134.3 kB / 1.651 GB, free: 4.184 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.442e-05/2.053, allocations: 55.88 kB / 1.651 GB, free: 4.121 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=176): time 5.36e-06/2.053, allocations: 4 kB / 1.651 GB, free: 4.117 MB / 0.9323 GB Notification: Performance of matching and sorting (n=221): time 0.08758/2.14, allocations: 24.19 MB / 1.675 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/2.141, allocations: 239.5 kB / 1.675 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002767/2.143, allocations: 1.439 MB / 1.677 GB, free: 10.09 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006105/2.144, allocations: 61.7 kB / 1.677 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001333/2.145, allocations: 1.724 MB / 1.678 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.001012/2.146, allocations: 0.7704 MB / 1.679 GB, free: 7.488 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/2.147, allocations: 60 kB / 1.679 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002794/2.147, allocations: 440.5 kB / 1.68 GB, free: 6.992 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005624/2.153, allocations: 2.41 MB / 1.682 GB, free: 4.578 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006458/2.159, allocations: 3.529 MB / 1.685 GB, free: 0.5391 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006122/2.165, allocations: 2.898 MB / 1.688 GB, free: 13.64 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.327e-05/2.165, allocations: 12 kB / 1.688 GB, free: 13.63 MB / 0.9792 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.02181/2.187, allocations: 8.544 MB / 1.697 GB, free: 5.062 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.009212/2.196, allocations: 14.11 MB / 1.71 GB, free: 5.852 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001088/2.197, allocations: 36 kB / 1.71 GB, free: 5.816 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02776/2.224, allocations: 6.418 MB / 1.717 GB, free: 15.38 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004561/2.229, allocations: 0.9281 MB / 1.718 GB, free: 14.45 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02087/2.25, allocations: 11.95 MB / 1.729 GB, free: 2.332 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005158/2.255, allocations: 0.5532 MB / 1.73 GB, free: 1.777 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006179/2.256, allocations: 195.9 kB / 1.73 GB, free: 1.586 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/2.256, allocations: 4 kB / 1.73 GB, free: 1.582 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02079/2.276, allocations: 7.903 MB / 1.738 GB, free: 9.668 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001837/2.277, allocations: 32 kB / 1.738 GB, free: 9.637 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01274/2.289, allocations: 3.092 MB / 1.741 GB, free: 6.539 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005517/2.295, allocations: 1.069 MB / 1.742 GB, free: 5.469 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01724/2.312, allocations: 9.803 MB / 1.751 GB, free: 11.52 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005252/2.318, allocations: 0.5184 MB / 1.752 GB, free: 11 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005022/2.318, allocations: 199.9 kB / 1.752 GB, free: 10.81 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * 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 (330): * Single equations (assignments): 328 * 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%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.004751/2.323, allocations: 1.699 MB / 1.754 GB, free: 9.098 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000756/2.324, allocations: 193.7 kB / 1.754 GB, free: 8.906 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01951/2.343, allocations: 7.444 MB / 1.761 GB, free: 1.43 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.362e-05/2.343, allocations: 20 kB / 1.761 GB, free: 1.41 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.48e-05/2.343, allocations: 12 kB / 1.761 GB, free: 1.398 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.953e-05/2.343, allocations: 11.95 kB / 1.761 GB, free: 1.387 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03026/2.374, allocations: 12.8 MB / 1.774 GB, free: 4.414 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.38e-05/2.374, allocations: 8.156 kB / 1.774 GB, free: 4.406 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003163/2.377, allocations: 0.6123 MB / 1.774 GB, free: 3.793 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02709/2.404, allocations: 6.244 MB / 1.78 GB, free: 13.54 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007799/2.405, allocations: 79.92 kB / 1.781 GB, free: 13.46 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02005/2.425, allocations: 11.61 MB / 1.792 GB, free: 1.684 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.04e-05/2.425, allocations: 12 kB / 1.792 GB, free: 1.672 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01968/2.445, allocations: 7.975 MB / 1.8 GB, free: 9.316 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002398/2.447, allocations: 0.6819 MB / 1.8 GB, free: 8.613 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004824/2.448, allocations: 51.98 kB / 1.8 GB, free: 8.562 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003615/2.451, allocations: 471.2 kB / 1.801 GB, free: 8.102 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006605/2.452, allocations: 193.4 kB / 1.801 GB, free: 7.91 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002833/2.452, allocations: 115.9 kB / 1.801 GB, free: 7.797 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.002416/2.455, allocations: 1.077 MB / 1.802 GB, free: 6.719 MB / 1.089 GB Notification: Performance of sort global known variables: time 2.51e-07/2.455, allocations: 0 / 1.802 GB, free: 6.719 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.008775/2.463, allocations: 1.652 MB / 1.804 GB, free: 5.066 MB / 1.089 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 (154): * Single equations (assignments): 152 * 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%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005377/2.464, allocations: 196.5 kB / 1.804 GB, free: 4.863 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.02532/2.489, allocations: 10.17 MB / 1.814 GB, free: 10.69 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.597e-05/2.489, allocations: 4 kB / 1.814 GB, free: 10.68 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.009256/2.499, allocations: 3.383 MB / 1.817 GB, free: 7.293 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001812/2.5, allocations: 210.7 kB / 1.817 GB, free: 7.086 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02669/2.527, allocations: 10.74 MB / 1.828 GB, free: 12.21 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003613/2.531, allocations: 2.932 MB / 1.831 GB, free: 9.25 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.005515/2.536, allocations: 1.675 MB / 1.832 GB, free: 7.57 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000662/2.537, allocations: 171.3 kB / 1.833 GB, free: 7.402 MB / 1.12 GB Notification: Performance of SimCode: time 3.537e-06/2.537, allocations: 0 / 1.833 GB, free: 7.402 MB / 1.12 GB Notification: Performance of Templates: time 0.7918/3.329, allocations: 52.41 MB / 1.884 GB, free: 306.2 MB / 1.135 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_YY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches