Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.593/2.593, allocations: 390.3 MB / 405.3 MB, free: 13.52 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.001332/0.001332, allocations: 177.1 kB / 498.1 MB, free: 5.738 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.755/1.755, allocations: 223.2 MB / 0.7948 GB, free: 18.87 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.0009341/0.0009341, allocations: 100.6 kB / 0.9346 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003065/0.0003065, allocations: 8.281 kB / 1.084 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2208, allocations: 142.4 MB / 1.223 GB, free: 89.57 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7934/1.014, allocations: 211.7 MB / 1.43 GB, free: 76.7 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003159/1.015, allocations: 119 kB / 1.43 GB, free: 76.7 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 0.397/1.412, allocations: 177.2 MB / 1.603 GB, free: 3.23 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.053e-06/1.412, allocations: 0 / 1.603 GB, free: 3.23 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000195/1.412, allocations: 83.98 kB / 1.603 GB, free: 3.148 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: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.00994/1.422, allocations: 3.321 MB / 1.606 GB, free: 15.76 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/1.422, allocations: 8.031 kB / 1.606 GB, free: 15.75 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01421/1.436, allocations: 2.375 MB / 1.608 GB, free: 13.37 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00752/1.444, allocations: 2.334 MB / 1.611 GB, free: 11 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004137/1.444, allocations: 295.9 kB / 1.611 GB, free: 10.71 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002044/1.446, allocations: 391.9 kB / 1.611 GB, free: 10.32 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02186/1.468, allocations: 7.074 MB / 1.618 GB, free: 3.129 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002089/1.468, allocations: 7.938 kB / 1.618 GB, free: 3.121 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001607/1.47, allocations: 167.9 kB / 1.618 GB, free: 2.957 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006336/1.47, allocations: 318.8 kB / 1.619 GB, free: 2.645 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0187/1.489, allocations: 6.723 MB / 1.625 GB, free: 11.92 MB / 0.948 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.04593/1.535, allocations: 29.05 MB / 1.654 GB, free: 12.36 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007848/1.543, allocations: 3.7 MB / 1.657 GB, free: 8.488 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003602/1.543, allocations: 118.4 kB / 1.657 GB, free: 8.355 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.549e-05/1.544, allocations: 63.8 kB / 1.658 GB, free: 8.285 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=176): time 4.258e-06/1.544, allocations: 3.938 kB / 1.658 GB, free: 8.281 MB / 0.9792 GB Notification: Performance of matching and sorting (n=221): time 0.07789/1.621, allocations: 24 MB / 1.681 GB, free: 168 kB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001669/1.622, allocations: 231.6 kB / 1.681 GB, free: 15.89 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00343/1.625, allocations: 1.48 MB / 1.683 GB, free: 14.4 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0004147/1.626, allocations: 65.64 kB / 1.683 GB, free: 14.33 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001466/1.627, allocations: 1.752 MB / 1.684 GB, free: 12.55 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.001153/1.628, allocations: 0.751 MB / 1.685 GB, free: 11.79 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003851/1.629, allocations: 64 kB / 1.685 GB, free: 11.73 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003078/1.629, allocations: 440.5 kB / 1.686 GB, free: 11.29 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005387/1.634, allocations: 2.398 MB / 1.688 GB, free: 8.891 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0064/1.641, allocations: 3.506 MB / 1.691 GB, free: 4.875 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00606/1.647, allocations: 2.878 MB / 1.694 GB, free: 2 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.184e-05/1.647, allocations: 15.98 kB / 1.694 GB, free: 1.984 MB / 1.01 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.02516/1.672, allocations: 9.409 MB / 1.703 GB, free: 8.551 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 0.005628/1.678, allocations: 14.1 MB / 1.717 GB, free: 9.34 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-05/1.678, allocations: 36 kB / 1.717 GB, free: 9.305 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01842/1.696, allocations: 4.924 MB / 1.722 GB, free: 4.367 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004325/1.701, allocations: 0.9242 MB / 1.723 GB, free: 3.441 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02016/1.721, allocations: 11.85 MB / 1.734 GB, free: 7.418 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004432/1.725, allocations: 0.5688 MB / 1.735 GB, free: 6.848 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006861/1.726, allocations: 159.9 kB / 1.735 GB, free: 6.691 MB / 1.057 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/1.726, allocations: 4 kB / 1.735 GB, free: 6.688 MB / 1.057 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02017/1.746, allocations: 7.81 MB / 1.743 GB, free: 14.87 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001855/1.746, allocations: 39.95 kB / 1.743 GB, free: 14.83 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01232/1.759, allocations: 3.083 MB / 1.746 GB, free: 11.74 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004925/1.764, allocations: 1.041 MB / 1.747 GB, free: 10.7 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0166/1.78, allocations: 9.808 MB / 1.756 GB, free: 0.7422 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004244/1.785, allocations: 0.5339 MB / 1.757 GB, free: 212 kB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006877/1.785, allocations: 160.2 kB / 1.757 GB, free: 52 kB / 1.073 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.003824/1.789, allocations: 1.702 MB / 1.759 GB, free: 14.34 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008205/1.79, allocations: 197.7 kB / 1.759 GB, free: 14.14 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02375/1.814, allocations: 8.309 MB / 1.767 GB, free: 5.801 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.437e-05/1.814, allocations: 35.94 kB / 1.767 GB, free: 5.766 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.081e-05/1.814, allocations: 8 kB / 1.767 GB, free: 5.758 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-05/1.814, allocations: 7.969 kB / 1.767 GB, free: 5.75 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03589/1.85, allocations: 13.6 MB / 1.78 GB, free: 7.973 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.388e-05/1.85, allocations: 8 kB / 1.78 GB, free: 7.965 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003063/1.853, allocations: 0.6129 MB / 1.781 GB, free: 7.352 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01855/1.872, allocations: 4.748 MB / 1.786 GB, free: 2.59 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005702/1.872, allocations: 63.95 kB / 1.786 GB, free: 2.527 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02906/1.901, allocations: 17.3 MB / 1.803 GB, free: 0.9375 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/1.901, allocations: 19.83 kB / 1.803 GB, free: 0.918 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02302/1.924, allocations: 8.869 MB / 1.811 GB, free: 7.684 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/1.927, allocations: 0.6507 MB / 1.812 GB, free: 7.012 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008093/1.927, allocations: 51.94 kB / 1.812 GB, free: 6.961 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003557/1.931, allocations: 499 kB / 1.812 GB, free: 6.473 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00069/1.932, allocations: 181.6 kB / 1.813 GB, free: 6.293 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000334/1.932, allocations: 79.95 kB / 1.813 GB, free: 6.215 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.002012/1.934, allocations: 1.11 MB / 1.814 GB, free: 5.105 MB / 1.135 GB Notification: Performance of sort global known variables: time 3.31e-07/1.934, allocations: 0 / 1.814 GB, free: 5.105 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.00727/1.941, allocations: 1.75 MB / 1.816 GB, free: 3.355 MB / 1.135 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.0005936/1.942, allocations: 190.8 kB / 1.816 GB, free: 3.16 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.02464/1.967, allocations: 10.02 MB / 1.825 GB, free: 9.129 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/1.967, allocations: 0.8125 kB / 1.825 GB, free: 9.129 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00922/1.976, allocations: 3.581 MB / 1.829 GB, free: 5.52 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/1.978, allocations: 218.2 kB / 1.829 GB, free: 5.305 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.544/2.522, allocations: 9.746 MB / 1.839 GB, free: 313.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003576/2.525, allocations: 2.968 MB / 1.842 GB, free: 312.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005473/2.531, allocations: 1.675 MB / 1.843 GB, free: 312.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006572/2.531, allocations: 169.9 kB / 1.843 GB, free: 312.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.473e-06/2.531, allocations: 0 / 1.843 GB, free: 312.8 MB / 1.151 GB Notification: Performance of Templates: time 0.08437/2.616, allocations: 54.45 MB / 1.897 GB, free: 311.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_YY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches