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.UnbalancedStepUp.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.UnbalancedStepUp.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.UnbalancedStepUp.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.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.UnbalancedStepUp.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001108/0.001108, allocations: 179.2 kB / 326.5 MB, free: 2.25 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.672/1.672, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0009325/0.0009326, allocations: 90.58 kB / 0.6821 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.0003701, allocations: 9.844 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2573, allocations: 106.3 MB / 0.9001 GB, free: 64.43 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8744/1.132, allocations: 193.8 MB / 1.089 GB, free: 53.19 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003549/1.132, allocations: 123.5 kB / 1.09 GB, free: 53.19 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3322/1.464, allocations: 141.3 MB / 1.228 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.326e-06/1.464, allocations: 0 / 1.228 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001734/1.465, allocations: 76 kB / 1.228 GB, free: 10.38 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: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.01315/1.478, allocations: 3.217 MB / 1.231 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.478, allocations: 8.031 kB / 1.231 GB, free: 7.109 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01361/1.491, allocations: 2.152 MB / 1.233 GB, free: 4.953 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007852/1.499, allocations: 2.249 MB / 1.235 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/1.5, allocations: 277.2 kB / 1.235 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002344/1.502, allocations: 366.8 kB / 1.236 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01851/1.521, allocations: 6.716 MB / 1.242 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.307e-05/1.521, allocations: 3.938 kB / 1.242 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005331/1.521, allocations: 155.5 kB / 1.242 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005176/1.522, allocations: 310.3 kB / 1.243 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01664/1.538, allocations: 6.538 MB / 1.249 GB, free: 4.262 MB / 0.7448 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.04493/1.583, allocations: 28.31 MB / 1.277 GB, free: 5.688 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007858/1.591, allocations: 4.24 MB / 1.281 GB, free: 1.234 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/1.592, allocations: 146.3 kB / 1.281 GB, free: 1.086 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.666e-05/1.592, allocations: 60.56 kB / 1.281 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=198): time 6.261e-06/1.592, allocations: 0 / 1.281 GB, free: 1.02 MB / 0.7761 GB Notification: Performance of matching and sorting (n=255): time 0.09827/1.69, allocations: 28.44 MB / 1.309 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/1.69, allocations: 243.6 kB / 1.309 GB, free: 4.289 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002381/1.693, allocations: 1.33 MB / 1.31 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005245/1.693, allocations: 69.64 kB / 1.31 GB, free: 2.879 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/1.694, allocations: 1.565 MB / 1.312 GB, free: 1.301 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001065/1.695, allocations: 0.8632 MB / 1.313 GB, free: 456 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000233/1.696, allocations: 64 kB / 1.313 GB, free: 392 kB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002688/1.696, allocations: 436.4 kB / 1.313 GB, free: 15.95 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005343/1.701, allocations: 2.527 MB / 1.316 GB, free: 13.42 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00604/1.707, allocations: 3.434 MB / 1.319 GB, free: 9.59 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005877/1.713, allocations: 2.969 MB / 1.322 GB, free: 6.598 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-05/1.713, allocations: 11.95 kB / 1.322 GB, free: 6.586 MB / 0.823 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.02052/1.734, allocations: 8.84 MB / 1.331 GB, free: 13.69 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.00405/1.738, allocations: 10.79 MB / 1.341 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-05/1.738, allocations: 35.98 kB / 1.341 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02677/1.765, allocations: 6.652 MB / 1.348 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004394/1.769, allocations: 0.8774 MB / 1.349 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02196/1.791, allocations: 14.04 MB / 1.362 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004936/1.796, allocations: 0.5263 MB / 1.363 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007549/1.797, allocations: 183.9 kB / 1.363 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/1.797, allocations: 4 kB / 1.363 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02036/1.817, allocations: 8.116 MB / 1.371 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001057/1.817, allocations: 28 kB / 1.371 GB, free: 3.344 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01212/1.83, allocations: 3.213 MB / 1.374 GB, free: 128 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00529/1.835, allocations: 1.053 MB / 1.375 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/1.853, allocations: 11.51 MB / 1.386 GB, free: 3.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004394/1.858, allocations: 0.5034 MB / 1.387 GB, free: 2.906 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004941/1.858, allocations: 191.9 kB / 1.387 GB, free: 2.719 MB / 0.8855 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 () * Number of clocked 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.00401/1.862, allocations: 1.62 MB / 1.389 GB, free: 1.086 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006877/1.863, allocations: 201.6 kB / 1.389 GB, free: 0.8867 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5692/2.432, allocations: 8.566 MB / 1.397 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.066e-05/2.432, allocations: 26.02 kB / 1.397 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.702e-05/2.432, allocations: 11.44 kB / 1.397 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001025/2.432, allocations: 16.53 kB / 1.397 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03464/2.467, allocations: 13.69 MB / 1.411 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-05/2.467, allocations: 7.969 kB / 1.411 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003405/2.471, allocations: 0.6217 MB / 1.411 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02481/2.495, allocations: 6.471 MB / 1.417 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000825/2.496, allocations: 89.95 kB / 1.418 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02106/2.517, allocations: 13.64 MB / 1.431 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/2.517, allocations: 7.031 kB / 1.431 GB, free: 239.1 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0179/2.535, allocations: 8.525 MB / 1.439 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00249/2.538, allocations: 0.735 MB / 1.44 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007068/2.539, allocations: 55.52 kB / 1.44 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003305/2.542, allocations: 484.3 kB / 1.44 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005997/2.542, allocations: 201.4 kB / 1.441 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002613/2.543, allocations: 122.6 kB / 1.441 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001594/2.544, allocations: 1.039 MB / 1.442 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.583e-06/2.544, allocations: 3.781 kB / 1.442 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006578/2.551, allocations: 1.652 MB / 1.443 GB, free: 237.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 (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.0005877/2.552, allocations: 206.4 kB / 1.444 GB, free: 237.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02347/2.575, allocations: 10.69 MB / 1.454 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.977e-05/2.575, allocations: 3.594 kB / 1.454 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.008369/2.584, allocations: 3.657 MB / 1.458 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00181/2.585, allocations: 219.6 kB / 1.458 GB, free: 236.7 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02815/2.614, allocations: 12.06 MB / 1.47 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00275/2.616, allocations: 2.884 MB / 1.472 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.004831/2.621, allocations: 1.664 MB / 1.474 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005962/2.622, allocations: 166.9 kB / 1.474 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.423e-06/2.622, allocations: 0 / 1.474 GB, free: 232.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.08132/2.703, allocations: 57.51 MB / 1.53 GB, free: 201.8 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_DY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches