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.DY.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.DY,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.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY,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.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.402/1.402, allocations: 249.3 MB / 261.8 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009885/0.0009885, allocations: 180.9 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0007442/0.0007441, allocations: 89.3 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.092e-05/3.094e-05, allocations: 4 kB / 0.788 GB, free: 97.09 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2015, allocations: 106.3 MB / 0.8918 GB, free: 6.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6974/0.899, allocations: 193.7 MB / 1.081 GB, free: 7.543 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003599/0.8994, allocations: 113.4 kB / 1.081 GB, free: 7.477 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4232/1.323, allocations: 147.8 MB / 1.225 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.894e-06/1.323, allocations: 0 / 1.225 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001616/1.323, allocations: 72 kB / 1.226 GB, free: 8.191 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.00868/1.332, allocations: 3.051 MB / 1.229 GB, free: 5.082 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.058e-05/1.332, allocations: 11.97 kB / 1.229 GB, free: 5.07 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01341/1.345, allocations: 2.25 MB / 1.231 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005989/1.351, allocations: 2.244 MB / 1.233 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002388/1.351, allocations: 279.5 kB / 1.233 GB, free: 252 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001266/1.353, allocations: 367.9 kB / 1.234 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01422/1.367, allocations: 6.221 MB / 1.24 GB, free: 9.543 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.551e-05/1.367, allocations: 7.922 kB / 1.24 GB, free: 9.535 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005199/1.368, allocations: 156 kB / 1.24 GB, free: 9.383 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005396/1.368, allocations: 310.3 kB / 1.24 GB, free: 9.078 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01025/1.378, allocations: 5.548 MB / 1.246 GB, free: 3.52 MB / 0.8542 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.5058/1.884, allocations: 28.48 MB / 1.273 GB, free: 223.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005782/1.89, allocations: 3.746 MB / 1.277 GB, free: 222.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003132/1.893, allocations: 1.859 MB / 1.279 GB, free: 222.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/1.893, allocations: 136.5 kB / 1.279 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.849e-05/1.893, allocations: 65.2 kB / 1.279 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=198): time 3.807e-06/1.893, allocations: 0 / 1.279 GB, free: 222.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=255): time 0.08934/1.983, allocations: 25.04 MB / 1.303 GB, free: 220 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/1.983, allocations: 234.7 kB / 1.304 GB, free: 219.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/1.985, allocations: 1.312 MB / 1.305 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004834/1.985, allocations: 72.08 kB / 1.305 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007417/1.986, allocations: 1.567 MB / 1.307 GB, free: 218.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007399/1.987, allocations: 0.8663 MB / 1.307 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002882/1.987, allocations: 60.62 kB / 1.307 GB, free: 218.4 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002043/1.987, allocations: 442.3 kB / 1.308 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002548/1.99, allocations: 2.032 MB / 1.31 GB, free: 218.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00289/1.993, allocations: 2.93 MB / 1.313 GB, free: 217 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004924/1.998, allocations: 2.486 MB / 1.315 GB, free: 217 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.225e-05/1.998, allocations: 6.312 kB / 1.315 GB, free: 217 MB / 0.8698 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01684/2.015, allocations: 7.715 MB / 1.323 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.00187/2.016, allocations: 10.79 MB / 1.333 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-05/2.017, allocations: 33.5 kB / 1.333 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01839/2.035, allocations: 5.437 MB / 1.339 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003873/2.039, allocations: 0.8791 MB / 1.339 GB, free: 205.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01765/2.057, allocations: 13.44 MB / 1.353 GB, free: 202.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004175/2.061, allocations: 0.5371 MB / 1.353 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004171/2.061, allocations: 165.8 kB / 1.353 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/2.061, allocations: 3.75 kB / 1.353 GB, free: 202.5 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01236/2.074, allocations: 7.012 MB / 1.36 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001105/2.074, allocations: 28.41 kB / 1.36 GB, free: 200.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008486/2.082, allocations: 2.726 MB / 1.363 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004957/2.087, allocations: 1.044 MB / 1.364 GB, free: 200.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/2.102, allocations: 10.99 MB / 1.375 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004082/2.107, allocations: 0.5124 MB / 1.375 GB, free: 195 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005202/2.107, allocations: 166.9 kB / 1.375 GB, free: 195 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 124 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (302): * Single equations (assignments): 300 * 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%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of prepare postOptimizeDAE: time 0.000967/2.108, allocations: 293.6 kB / 1.375 GB, free: 194.8 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007459/2.109, allocations: 194.9 kB / 1.376 GB, free: 194.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/2.122, allocations: 7.463 MB / 1.383 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-05/2.122, allocations: 26.69 kB / 1.383 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/2.122, allocations: 11.56 kB / 1.383 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.665e-05/2.122, allocations: 11.2 kB / 1.383 GB, free: 192.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01946/2.142, allocations: 12.55 MB / 1.395 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-05/2.142, allocations: 7.375 kB / 1.395 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002904/2.145, allocations: 0.6262 MB / 1.396 GB, free: 187.5 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01791/2.163, allocations: 5.251 MB / 1.401 GB, free: 186.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004836/2.163, allocations: 78.44 kB / 1.401 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01684/2.18, allocations: 13.03 MB / 1.414 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-06/2.18, allocations: 12.59 kB / 1.414 GB, free: 175.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0117/2.192, allocations: 7.416 MB / 1.421 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/2.193, allocations: 0.7169 MB / 1.422 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003424/2.194, allocations: 52 kB / 1.422 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003102/2.197, allocations: 0.4898 MB / 1.422 GB, free: 168.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004542/2.197, allocations: 191.3 kB / 1.422 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002186/2.197, allocations: 110.2 kB / 1.423 GB, free: 168.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001227/2.199, allocations: 1.028 MB / 1.424 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.222e-06/2.199, allocations: 0 / 1.424 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004548/2.203, allocations: 1.657 MB / 1.425 GB, free: 165.6 MB / 0.8698 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 (158): * Single equations (assignments): 156 * 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%) 42} * Non-linear torn systems: 1 {6 42} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003771/2.204, allocations: 203.5 kB / 1.425 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01463/2.218, allocations: 9.165 MB / 1.434 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/2.218, allocations: 0 / 1.434 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006447/2.225, allocations: 3.16 MB / 1.437 GB, free: 155 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001566/2.226, allocations: 224.7 kB / 1.438 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02415/2.251, allocations: 9.038 MB / 1.446 GB, free: 146 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002194/2.253, allocations: 2.89 MB / 1.449 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004759/2.258, allocations: 1.785 MB / 1.451 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005512/2.258, allocations: 151.3 kB / 1.451 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of SimCode: time 9.32e-07/2.258, allocations: 0 / 1.451 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.06666/2.325, allocations: 58.36 MB / 1.508 GB, free: 83.89 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_DY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches