Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.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.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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.27/2.27, allocations: 387.1 MB / 399.7 MB, free: 9.43 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.001172/0.001173, allocations: 176.9 kB / 492.3 MB, free: 0.6133 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.505/1.505, allocations: 221.3 MB / 0.7872 GB, free: 12.95 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.000879/0.0008791, allocations: 102 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.786e-05/2.788e-05, allocations: 7.984 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/0.2662, allocations: 142.3 MB / 1.212 GB, free: 38.52 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.006/1.272, allocations: 210.7 MB / 1.418 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003072/1.272, allocations: 117.1 kB / 1.418 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.3985/1.671, allocations: 164.9 MB / 1.579 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of FrontEnd: time 4.068e-06/1.671, allocations: 0 / 1.579 GB, free: 14.37 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001616/1.671, allocations: 79.94 kB / 1.579 GB, free: 14.29 MB / 0.9948 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.01066/1.682, allocations: 3.134 MB / 1.582 GB, free: 11.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.504e-05/1.682, allocations: 12.03 kB / 1.582 GB, free: 11.09 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/1.695, allocations: 2.16 MB / 1.585 GB, free: 8.918 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006434/1.702, allocations: 2.318 MB / 1.587 GB, free: 6.555 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003422/1.702, allocations: 291.8 kB / 1.587 GB, free: 6.27 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002071/1.704, allocations: 391.9 kB / 1.587 GB, free: 5.887 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02212/1.727, allocations: 6.434 MB / 1.594 GB, free: 15.33 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002316/1.727, allocations: 8 kB / 1.594 GB, free: 15.32 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001891/1.729, allocations: 164 kB / 1.594 GB, free: 15.16 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006958/1.729, allocations: 318.6 kB / 1.594 GB, free: 14.85 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0138/1.743, allocations: 5.623 MB / 1.6 GB, free: 9.227 MB / 1.01 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.04771/1.791, allocations: 28.62 MB / 1.628 GB, free: 10.23 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005949/1.797, allocations: 3.212 MB / 1.631 GB, free: 6.84 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002888/1.8, allocations: 1.619 MB / 1.632 GB, free: 5.207 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003088/1.8, allocations: 126.3 kB / 1.633 GB, free: 5.066 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.459e-05/1.8, allocations: 55.81 kB / 1.633 GB, free: 5 MB / 1.042 GB Notification: Performance of pre-optimization done (n=176): time 4.168e-06/1.8, allocations: 8 kB / 1.633 GB, free: 4.992 MB / 1.042 GB Notification: Performance of matching and sorting (n=221): time 0.07546/1.876, allocations: 20.4 MB / 1.653 GB, free: 0.5352 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001693/1.876, allocations: 235.6 kB / 1.653 GB, free: 264 kB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002835/1.879, allocations: 1.429 MB / 1.654 GB, free: 14.82 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004973/1.88, allocations: 65.7 kB / 1.654 GB, free: 14.75 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001145/1.881, allocations: 1.728 MB / 1.656 GB, free: 12.99 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009843/1.882, allocations: 0.7588 MB / 1.657 GB, free: 12.22 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002285/1.882, allocations: 60 kB / 1.657 GB, free: 12.16 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002159/1.882, allocations: 436.5 kB / 1.657 GB, free: 11.73 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002903/1.885, allocations: 1.919 MB / 1.659 GB, free: 9.809 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00354/1.889, allocations: 3.034 MB / 1.662 GB, free: 6.266 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00352/1.892, allocations: 2.414 MB / 1.664 GB, free: 3.855 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.918e-05/1.892, allocations: 12 kB / 1.664 GB, free: 3.844 MB / 1.073 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01632/1.908, allocations: 7.472 MB / 1.672 GB, free: 12.35 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.005293/1.914, allocations: 14.1 MB / 1.685 GB, free: 13.14 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.966e-05/1.914, allocations: 36 kB / 1.685 GB, free: 13.11 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0285/1.942, allocations: 5.908 MB / 1.691 GB, free: 7.184 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004424/1.947, allocations: 0.9242 MB / 1.692 GB, free: 6.258 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02494/1.972, allocations: 11.44 MB / 1.703 GB, free: 10.64 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007152/1.979, allocations: 0.5493 MB / 1.704 GB, free: 10.09 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00121/1.98, allocations: 199.9 kB / 1.704 GB, free: 9.898 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/1.98, allocations: 6.031 kB / 1.704 GB, free: 9.895 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02462/2.005, allocations: 6.812 MB / 1.711 GB, free: 3.074 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002272/2.005, allocations: 40.09 kB / 1.711 GB, free: 3.035 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01434/2.02, allocations: 2.615 MB / 1.713 GB, free: 424 kB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008004/2.028, allocations: 1.065 MB / 1.714 GB, free: 15.35 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02637/2.054, allocations: 9.334 MB / 1.723 GB, free: 5.867 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006744/2.061, allocations: 0.5029 MB / 1.724 GB, free: 5.363 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001143/2.062, allocations: 207.9 kB / 1.724 GB, free: 5.16 MB / 1.135 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 () * 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.001748/2.064, allocations: 295.9 kB / 1.724 GB, free: 4.863 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001173/2.065, allocations: 193.8 kB / 1.725 GB, free: 4.672 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02337/2.089, allocations: 6.367 MB / 1.731 GB, free: 14.28 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.075e-05/2.089, allocations: 24 kB / 1.731 GB, free: 14.25 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.624e-05/2.089, allocations: 11.95 kB / 1.731 GB, free: 14.24 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.257e-05/2.089, allocations: 19.95 kB / 1.731 GB, free: 14.22 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03957/2.128, allocations: 11.72 MB / 1.742 GB, free: 2.328 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-05/2.128, allocations: 8 kB / 1.742 GB, free: 2.32 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005049/2.134, allocations: 0.6008 MB / 1.743 GB, free: 1.719 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.7788/2.912, allocations: 5.729 MB / 1.748 GB, free: 316 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006658/2.913, allocations: 79.19 kB / 1.749 GB, free: 316 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01952/2.933, allocations: 11.11 MB / 1.759 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.417e-05/2.933, allocations: 9.844 kB / 1.759 GB, free: 314.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/2.947, allocations: 6.917 MB / 1.766 GB, free: 312.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001867/2.949, allocations: 0.6793 MB / 1.767 GB, free: 312.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004729/2.95, allocations: 47.23 kB / 1.767 GB, free: 312.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003998/2.954, allocations: 478.3 kB / 1.767 GB, free: 312.7 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008206/2.955, allocations: 179 kB / 1.767 GB, free: 312.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003938/2.955, allocations: 117.3 kB / 1.768 GB, free: 312.7 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002441/2.957, allocations: 1.063 MB / 1.769 GB, free: 312.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.51e-07/2.957, allocations: 0 / 1.769 GB, free: 312.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0084/2.966, allocations: 1.655 MB / 1.77 GB, free: 312.6 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 (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.0005594/2.966, allocations: 192 kB / 1.77 GB, free: 312.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01737/2.984, allocations: 8.7 MB / 1.779 GB, free: 312.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 9.859e-06/2.984, allocations: 0 / 1.779 GB, free: 312.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006554/2.99, allocations: 2.885 MB / 1.782 GB, free: 312 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/2.992, allocations: 203.5 kB / 1.782 GB, free: 312 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02036/3.013, allocations: 7.705 MB / 1.789 GB, free: 310.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002735/3.015, allocations: 2.94 MB / 1.792 GB, free: 310 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005225/3.021, allocations: 1.811 MB / 1.794 GB, free: 309.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005927/3.021, allocations: 160 kB / 1.794 GB, free: 309.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.914e-06/3.021, allocations: 0 / 1.794 GB, free: 309.9 MB / 1.151 GB Notification: Performance of Templates: time 0.07499/3.096, allocations: 53.75 MB / 1.847 GB, free: 307.8 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_YY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches