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.511/2.511, allocations: 390.3 MB / 405.3 MB, free: 13.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.001407/0.001407, allocations: 187.2 kB / 498.1 MB, free: 5.676 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.731/1.731, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0009671/0.0009673, allocations: 106.1 kB / 0.9346 GB, free: 6.168 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004459/0.0004461, allocations: 11.75 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4139/0.4143, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.205/1.62, allocations: 210.7 MB / 1.429 GB, free: 94.96 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004774/1.62, allocations: 117.3 kB / 1.429 GB, free: 94.96 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3843/2.005, allocations: 165.5 MB / 1.59 GB, free: 38.95 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.106e-06/2.005, allocations: 0 / 1.59 GB, free: 38.95 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001899/2.005, allocations: 79.98 kB / 1.591 GB, free: 38.87 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.01567/2.021, allocations: 3.297 MB / 1.594 GB, free: 35.51 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/2.021, allocations: 8.031 kB / 1.594 GB, free: 35.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01418/2.035, allocations: 2.164 MB / 1.596 GB, free: 33.33 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008794/2.044, allocations: 2.318 MB / 1.598 GB, free: 30.96 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003582/2.044, allocations: 299.8 kB / 1.598 GB, free: 30.67 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002894/2.047, allocations: 383.9 kB / 1.599 GB, free: 30.3 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02236/2.07, allocations: 6.975 MB / 1.606 GB, free: 23.2 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001176/2.07, allocations: 0 / 1.606 GB, free: 23.2 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007069/2.07, allocations: 160 kB / 1.606 GB, free: 23.04 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004874/2.071, allocations: 322.6 kB / 1.606 GB, free: 22.73 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/2.089, allocations: 6.648 MB / 1.613 GB, free: 16.07 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.05658/2.145, allocations: 28.61 MB / 1.64 GB, free: 1.078 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009094/2.154, allocations: 3.714 MB / 1.644 GB, free: 13.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00032/2.155, allocations: 130.4 kB / 1.644 GB, free: 13.05 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.886e-05/2.155, allocations: 59.81 kB / 1.644 GB, free: 12.98 MB / 0.948 GB Notification: Performance of pre-optimization done (n=176): time 5.32e-06/2.155, allocations: 0 / 1.644 GB, free: 12.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=221): time 0.08722/2.242, allocations: 24.18 MB / 1.668 GB, free: 4.691 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/2.242, allocations: 235.6 kB / 1.668 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002799/2.245, allocations: 1.439 MB / 1.67 GB, free: 2.965 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0005776/2.246, allocations: 61.7 kB / 1.67 GB, free: 2.898 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/2.247, allocations: 1.724 MB / 1.671 GB, free: 1.148 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008954/2.248, allocations: 0.7588 MB / 1.672 GB, free: 388 kB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/2.248, allocations: 68 kB / 1.672 GB, free: 320 kB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000265/2.248, allocations: 432.5 kB / 1.672 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005171/2.253, allocations: 2.418 MB / 1.675 GB, free: 13.46 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006149/2.26, allocations: 3.525 MB / 1.678 GB, free: 9.426 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005842/2.265, allocations: 2.898 MB / 1.681 GB, free: 6.531 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-05/2.265, allocations: 12 kB / 1.681 GB, free: 6.52 MB / 0.9792 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.02044/2.286, allocations: 8.548 MB / 1.689 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005557/2.291, allocations: 14.1 MB / 1.703 GB, free: 14.74 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.437e-05/2.292, allocations: 36 kB / 1.703 GB, free: 14.7 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02722/2.319, allocations: 6.422 MB / 1.71 GB, free: 8.266 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004777/2.324, allocations: 0.9319 MB / 1.71 GB, free: 7.332 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02395/2.348, allocations: 11.94 MB / 1.722 GB, free: 11.22 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00516/2.353, allocations: 0.5493 MB / 1.723 GB, free: 10.67 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/2.354, allocations: 199.9 kB / 1.723 GB, free: 10.47 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/2.354, allocations: 4 kB / 1.723 GB, free: 10.47 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0217/2.376, allocations: 7.896 MB / 1.731 GB, free: 2.562 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001563/2.376, allocations: 40.55 kB / 1.731 GB, free: 2.523 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01287/2.389, allocations: 3.09 MB / 1.734 GB, free: 15.43 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0068/2.396, allocations: 1.072 MB / 1.735 GB, free: 14.35 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02096/2.417, allocations: 9.8 MB / 1.744 GB, free: 4.41 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004705/2.421, allocations: 0.5185 MB / 1.745 GB, free: 3.891 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001/2.422, allocations: 196.3 kB / 1.745 GB, free: 3.699 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.006253/2.429, allocations: 1.694 MB / 1.747 GB, free: 1.992 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/2.43, allocations: 193.7 kB / 1.747 GB, free: 1.801 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02226/2.452, allocations: 7.451 MB / 1.754 GB, free: 10.32 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.28e-05/2.452, allocations: 27.94 kB / 1.754 GB, free: 10.29 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.968e-05/2.452, allocations: 8 kB / 1.754 GB, free: 10.29 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.166e-05/2.452, allocations: 11.95 kB / 1.754 GB, free: 10.27 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03101/2.483, allocations: 12.81 MB / 1.767 GB, free: 13.29 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.132e-05/2.483, allocations: 8 kB / 1.767 GB, free: 13.28 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003216/2.487, allocations: 0.6083 MB / 1.767 GB, free: 12.67 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02707/2.514, allocations: 6.247 MB / 1.773 GB, free: 6.406 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007555/2.515, allocations: 83.92 kB / 1.773 GB, free: 6.324 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02115/2.536, allocations: 11.6 MB / 1.785 GB, free: 10.55 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/2.536, allocations: 11.94 kB / 1.785 GB, free: 10.54 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02103/2.557, allocations: 7.983 MB / 1.793 GB, free: 2.184 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002707/2.56, allocations: 0.6859 MB / 1.793 GB, free: 1.477 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/2.561, allocations: 47.98 kB / 1.793 GB, free: 1.43 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004323/2.565, allocations: 467.4 kB / 1.794 GB, free: 0.9727 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009115/2.566, allocations: 185.5 kB / 1.794 GB, free: 0.7891 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005594/2.567, allocations: 123.9 kB / 1.794 GB, free: 0.668 MB / 1.089 GB Notification: Performance of sorting global known variables: time 0.003174/2.57, allocations: 1.085 MB / 1.795 GB, free: 15.58 MB / 1.104 GB Notification: Performance of sort global known variables: time 5.21e-07/2.57, allocations: 0 / 1.795 GB, free: 15.58 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.01096/2.581, allocations: 1.648 MB / 1.797 GB, free: 13.93 MB / 1.104 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.0008895/2.582, allocations: 190.8 kB / 1.797 GB, free: 13.73 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.0273/2.609, allocations: 10.17 MB / 1.807 GB, free: 3.543 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/2.609, allocations: 0 / 1.807 GB, free: 3.543 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.009826/2.619, allocations: 3.377 MB / 1.81 GB, free: 164 kB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002322/2.622, allocations: 197.1 kB / 1.81 GB, free: 15.96 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03217/2.654, allocations: 10.76 MB / 1.821 GB, free: 5.078 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006382/2.66, allocations: 2.936 MB / 1.824 GB, free: 2.109 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.00659/2.667, allocations: 1.683 MB / 1.825 GB, free: 432 kB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009326/2.668, allocations: 167.3 kB / 1.825 GB, free: 264 kB / 1.12 GB Notification: Performance of SimCode: time 1.413e-06/2.668, allocations: 0 / 1.825 GB, free: 264 kB / 1.12 GB Notification: Performance of Templates: time 0.7912/3.459, allocations: 52.4 MB / 1.877 GB, free: 326.1 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