Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.641/1.641, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001144, allocations: 181.9 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.978/1.978, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001264, allocations: 90.47 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003964/0.0003964, allocations: 12.14 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3068, allocations: 106.3 MB / 0.9001 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.017/1.324, allocations: 192.7 MB / 1.088 GB, free: 52.72 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003807/1.324, allocations: 117.6 kB / 1.088 GB, free: 52.72 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3609/1.685, allocations: 146.8 MB / 1.232 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.996e-06/1.685, allocations: 4 kB / 1.232 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004985/1.686, allocations: 79.94 kB / 1.232 GB, free: 5.379 MB / 0.7292 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.02316/1.709, allocations: 3.288 MB / 1.235 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.765e-05/1.709, allocations: 8.031 kB / 1.235 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01477/1.724, allocations: 2.16 MB / 1.237 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0104/1.734, allocations: 2.317 MB / 1.239 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000504/1.735, allocations: 294.7 kB / 1.24 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003682/1.739, allocations: 382.9 kB / 1.24 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02754/1.766, allocations: 6.967 MB / 1.247 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002626/1.767, allocations: 7.938 kB / 1.247 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002626/1.769, allocations: 166.1 kB / 1.247 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007493/1.77, allocations: 314.6 kB / 1.247 GB, free: 5.359 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02122/1.791, allocations: 6.64 MB / 1.254 GB, free: 14.71 MB / 0.7605 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.05755/1.849, allocations: 28.61 MB / 1.282 GB, free: 15.85 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008898/1.858, allocations: 3.72 MB / 1.285 GB, free: 11.96 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003818/1.858, allocations: 125.5 kB / 1.286 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.29e-05/1.858, allocations: 59.81 kB / 1.286 GB, free: 11.77 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=176): time 4.759e-06/1.858, allocations: 8 kB / 1.286 GB, free: 11.76 MB / 0.7917 GB Notification: Performance of matching and sorting (n=221): time 0.08543/1.944, allocations: 24.18 MB / 1.309 GB, free: 3.504 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000175/1.944, allocations: 235.6 kB / 1.309 GB, free: 3.227 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002958/1.947, allocations: 1.443 MB / 1.311 GB, free: 1.773 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.000674/1.948, allocations: 61.7 kB / 1.311 GB, free: 1.707 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001471/1.949, allocations: 1.722 MB / 1.313 GB, free: 15.97 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0014/1.951, allocations: 0.7603 MB / 1.313 GB, free: 15.22 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002655/1.951, allocations: 67.94 kB / 1.313 GB, free: 15.15 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003254/1.951, allocations: 440.5 kB / 1.314 GB, free: 14.71 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005825/1.957, allocations: 2.418 MB / 1.316 GB, free: 12.29 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006881/1.964, allocations: 3.521 MB / 1.32 GB, free: 8.262 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00656/1.971, allocations: 2.902 MB / 1.322 GB, free: 5.363 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.578e-05/1.971, allocations: 19.92 kB / 1.323 GB, free: 5.344 MB / 0.823 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.02308/1.994, allocations: 8.538 MB / 1.331 GB, free: 12.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.007859/2.002, allocations: 14.11 MB / 1.345 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/2.002, allocations: 36 kB / 1.345 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02711/2.029, allocations: 6.415 MB / 1.351 GB, free: 7.109 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00499/2.034, allocations: 0.9281 MB / 1.352 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/2.056, allocations: 11.95 MB / 1.364 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005101/2.061, allocations: 0.5532 MB / 1.364 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009091/2.062, allocations: 195.9 kB / 1.364 GB, free: 9.305 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/2.062, allocations: 4 kB / 1.364 GB, free: 9.301 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02078/2.083, allocations: 7.896 MB / 1.372 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001775/2.083, allocations: 36 kB / 1.372 GB, free: 1.359 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01191/2.095, allocations: 3.1 MB / 1.375 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005352/2.1, allocations: 1.065 MB / 1.376 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01741/2.118, allocations: 9.8 MB / 1.386 GB, free: 3.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005077/2.123, allocations: 0.5184 MB / 1.386 GB, free: 2.73 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008289/2.124, allocations: 199.9 kB / 1.386 GB, free: 2.535 MB / 0.8855 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.004905/2.129, allocations: 1.694 MB / 1.388 GB, free: 0.8281 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000842/2.13, allocations: 189.8 kB / 1.388 GB, free: 0.6406 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7158/2.845, allocations: 7.442 MB / 1.395 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-05/2.846, allocations: 25.02 kB / 1.395 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.153e-05/2.846, allocations: 12.95 kB / 1.395 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.467e-05/2.846, allocations: 10.83 kB / 1.395 GB, free: 237.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03514/2.881, allocations: 12.79 MB / 1.408 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.867e-05/2.881, allocations: 11.2 kB / 1.408 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003351/2.884, allocations: 0.6116 MB / 1.409 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02478/2.909, allocations: 6.243 MB / 1.415 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007816/2.91, allocations: 83.28 kB / 1.415 GB, free: 235.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0169/2.927, allocations: 11.59 MB / 1.426 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.42e-05/2.927, allocations: 14.47 kB / 1.426 GB, free: 234.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0188/2.946, allocations: 7.985 MB / 1.434 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002421/2.948, allocations: 0.6868 MB / 1.435 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005646/2.949, allocations: 53.11 kB / 1.435 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003147/2.952, allocations: 469.4 kB / 1.435 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005078/2.952, allocations: 189.2 kB / 1.435 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002477/2.953, allocations: 122.2 kB / 1.435 GB, free: 232.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001715/2.954, allocations: 1.075 MB / 1.436 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/2.954, allocations: 0 / 1.436 GB, free: 232.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007271/2.962, allocations: 1.643 MB / 1.438 GB, free: 232.4 MB / 0.8855 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.0005807/2.962, allocations: 192.8 kB / 1.438 GB, free: 232.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02257/2.985, allocations: 10.18 MB / 1.448 GB, free: 232 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.201e-05/2.985, allocations: 3.969 kB / 1.448 GB, free: 232 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00838/2.993, allocations: 3.374 MB / 1.451 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001893/2.995, allocations: 199.9 kB / 1.452 GB, free: 231.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02442/3.02, allocations: 10.75 MB / 1.462 GB, free: 228.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003563/3.023, allocations: 2.945 MB / 1.465 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005528/3.029, allocations: 1.676 MB / 1.467 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006263/3.03, allocations: 167.2 kB / 1.467 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of SimCode: time 5.07e-06/3.03, allocations: 3.719 kB / 1.467 GB, free: 227.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.08218/3.112, allocations: 52.38 MB / 1.518 GB, free: 208.6 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_YY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches