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.UnbalancedStepDown.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.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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.377/1.377, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001014/0.001014, allocations: 184.8 kB / 326.5 MB, free: 2.242 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.532/1.532, allocations: 205.4 MB / 0.5775 GB, free: 20.22 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.0008131/0.0008131, allocations: 91.86 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004443/0.0004444, allocations: 7.594 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8107/1.03, allocations: 193.8 MB / 1.089 GB, free: 52.67 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/1.031, allocations: 115.1 kB / 1.089 GB, free: 52.67 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3502/1.381, allocations: 154.3 MB / 1.24 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.705e-06/1.381, allocations: 0 / 1.24 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002321/1.381, allocations: 76 kB / 1.24 GB, free: 13.19 MB / 0.7448 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.01445/1.396, allocations: 3.324 MB / 1.243 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.882e-05/1.396, allocations: 8.031 kB / 1.243 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01427/1.41, allocations: 2.367 MB / 1.246 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008233/1.418, allocations: 2.333 MB / 1.248 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003186/1.419, allocations: 299.2 kB / 1.248 GB, free: 4.797 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002054/1.421, allocations: 391.5 kB / 1.249 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01866/1.439, allocations: 7.08 MB / 1.256 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.523e-05/1.44, allocations: 4 kB / 1.256 GB, free: 13.26 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005212/1.44, allocations: 159.6 kB / 1.256 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004975/1.441, allocations: 330.6 kB / 1.256 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/1.458, allocations: 6.719 MB / 1.263 GB, free: 6.055 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.0439/1.502, allocations: 29.03 MB / 1.291 GB, free: 6.652 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007302/1.509, allocations: 3.696 MB / 1.295 GB, free: 2.793 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002763/1.509, allocations: 125.9 kB / 1.295 GB, free: 2.66 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/1.509, allocations: 59.88 kB / 1.295 GB, free: 2.594 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=176): time 4.438e-06/1.509, allocations: 0 / 1.295 GB, free: 2.594 MB / 0.7917 GB Notification: Performance of matching and sorting (n=221): time 0.07449/1.584, allocations: 24 MB / 1.318 GB, free: 10.49 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/1.584, allocations: 231.6 kB / 1.318 GB, free: 10.21 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/1.586, allocations: 1.484 MB / 1.32 GB, free: 8.723 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000567/1.587, allocations: 61.7 kB / 1.32 GB, free: 8.656 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/1.588, allocations: 1.746 MB / 1.322 GB, free: 6.898 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001143/1.589, allocations: 0.7527 MB / 1.322 GB, free: 6.152 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002202/1.59, allocations: 64 kB / 1.323 GB, free: 6.09 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002738/1.59, allocations: 444.5 kB / 1.323 GB, free: 5.648 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00536/1.595, allocations: 2.391 MB / 1.325 GB, free: 3.254 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006511/1.602, allocations: 3.51 MB / 1.329 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006222/1.608, allocations: 2.882 MB / 1.332 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.798e-05/1.608, allocations: 12 kB / 1.332 GB, free: 12.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.02393/1.632, allocations: 9.405 MB / 1.341 GB, free: 2.914 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0061/1.638, allocations: 14.11 MB / 1.354 GB, free: 3.695 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.434e-05/1.638, allocations: 36 kB / 1.355 GB, free: 3.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01828/1.657, allocations: 4.923 MB / 1.359 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004658/1.661, allocations: 0.932 MB / 1.36 GB, free: 13.78 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01927/1.681, allocations: 11.86 MB / 1.372 GB, free: 1.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005055/1.686, allocations: 0.5688 MB / 1.372 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008054/1.687, allocations: 164 kB / 1.373 GB, free: 1.02 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.687, allocations: 4 kB / 1.373 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01942/1.706, allocations: 7.81 MB / 1.38 GB, free: 9.195 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001465/1.706, allocations: 36 kB / 1.38 GB, free: 9.16 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01168/1.718, allocations: 3.08 MB / 1.383 GB, free: 6.078 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00511/1.723, allocations: 1.045 MB / 1.384 GB, free: 5.031 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6365/2.36, allocations: 9.801 MB / 1.394 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005044/2.365, allocations: 0.5313 MB / 1.394 GB, free: 231.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00067/2.366, allocations: 158.6 kB / 1.394 GB, free: 231.7 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.004412/2.37, allocations: 1.698 MB / 1.396 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00074/2.371, allocations: 197 kB / 1.396 GB, free: 231.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02621/2.397, allocations: 8.315 MB / 1.404 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.038e-05/2.397, allocations: 23.03 kB / 1.404 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.145e-05/2.397, allocations: 9.812 kB / 1.404 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.071e-05/2.397, allocations: 13.77 kB / 1.404 GB, free: 231.4 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03263/2.43, allocations: 13.59 MB / 1.418 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-05/2.43, allocations: 7.75 kB / 1.418 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003055/2.433, allocations: 0.6158 MB / 1.418 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01658/2.45, allocations: 4.74 MB / 1.423 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006806/2.45, allocations: 68.27 kB / 1.423 GB, free: 230.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02564/2.476, allocations: 17.31 MB / 1.44 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.323e-06/2.476, allocations: 10.19 kB / 1.44 GB, free: 227.5 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01995/2.496, allocations: 8.866 MB / 1.449 GB, free: 226.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002215/2.498, allocations: 0.6492 MB / 1.449 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007926/2.499, allocations: 44.22 kB / 1.449 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003576/2.503, allocations: 0.4919 MB / 1.45 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008848/2.504, allocations: 189.2 kB / 1.45 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004046/2.504, allocations: 84.91 kB / 1.45 GB, free: 225.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002889/2.507, allocations: 1.104 MB / 1.451 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/2.507, allocations: 3.609 kB / 1.451 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00983/2.517, allocations: 1.743 MB / 1.453 GB, free: 225.7 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.0007332/2.517, allocations: 189.5 kB / 1.453 GB, free: 225.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02254/2.54, allocations: 10.01 MB / 1.463 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-05/2.54, allocations: 3.75 kB / 1.463 GB, free: 225.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.008496/2.549, allocations: 3.591 MB / 1.466 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002117/2.551, allocations: 212.4 kB / 1.467 GB, free: 224.9 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02165/2.572, allocations: 9.752 MB / 1.476 GB, free: 221.3 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004647/2.577, allocations: 2.966 MB / 1.479 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005853/2.583, allocations: 1.678 MB / 1.481 GB, free: 220.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008287/2.584, allocations: 173 kB / 1.481 GB, free: 220 MB / 0.8855 GB Notification: Performance of SimCode: time 1.663e-06/2.584, allocations: 3.812 kB / 1.481 GB, free: 220 MB / 0.8855 GB Notification: Performance of Templates: time 0.08449/2.668, allocations: 54.41 MB / 1.534 GB, free: 195.5 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_YY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches