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.222/2.222, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.0009633/0.0009633, allocations: 184.9 kB / 487.4 MB, free: 5.035 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.57/1.57, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008938/0.0008937, allocations: 95.91 kB / 0.9219 GB, free: 2.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.394e-05/1.403e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2842, allocations: 142.4 MB / 1.206 GB, free: 43.93 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9381/1.222, allocations: 210 MB / 1.411 GB, free: 14.32 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003854/1.223, allocations: 120.2 kB / 1.411 GB, free: 14.25 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.4222/1.645, allocations: 164.2 MB / 1.572 GB, free: 7.883 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.044e-06/1.645, allocations: 0 / 1.572 GB, free: 7.883 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003113/1.645, allocations: 87.92 kB / 1.572 GB, free: 7.797 MB / 0.9792 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.01346/1.659, allocations: 3.124 MB / 1.575 GB, free: 4.617 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.322e-05/1.659, allocations: 15.95 kB / 1.575 GB, free: 4.602 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01441/1.673, allocations: 2.16 MB / 1.577 GB, free: 2.434 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006667/1.68, allocations: 2.326 MB / 1.579 GB, free: 60 kB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002461/1.68, allocations: 124 kB / 1.579 GB, free: 15.93 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002267/1.683, allocations: 232 kB / 1.579 GB, free: 15.71 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.013/1.696, allocations: 5.08 MB / 1.584 GB, free: 10.62 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01756/1.713, allocations: 5.876 MB / 1.59 GB, free: 4.629 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001606/1.713, allocations: 8 kB / 1.59 GB, free: 4.621 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001589/1.715, allocations: 3.938 kB / 1.59 GB, free: 4.617 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006724/1.716, allocations: 314.6 kB / 1.59 GB, free: 4.309 MB / 0.9948 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.04567/1.761, allocations: 27.82 MB / 1.618 GB, free: 6.133 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006679/1.768, allocations: 3.138 MB / 1.621 GB, free: 2.828 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0035/1.772, allocations: 1.56 MB / 1.622 GB, free: 1.25 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003358/1.772, allocations: 126.3 kB / 1.622 GB, free: 1.109 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.173e-05/1.772, allocations: 55.88 kB / 1.622 GB, free: 1.047 MB / 1.026 GB Notification: Performance of pre-optimization done (n=176): time 7.043e-06/1.772, allocations: 4 kB / 1.622 GB, free: 1.043 MB / 1.026 GB Notification: Performance of matching and sorting (n=221): time 0.0425/1.815, allocations: 13.18 MB / 1.635 GB, free: 3.805 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002884/1.815, allocations: 235.6 kB / 1.635 GB, free: 3.523 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004929/1.82, allocations: 1.323 MB / 1.637 GB, free: 2.188 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0009211/1.821, allocations: 25.7 kB / 1.637 GB, free: 2.156 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.002374/1.823, allocations: 1.728 MB / 1.638 GB, free: 412 kB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.001795/1.825, allocations: 0.7239 MB / 1.639 GB, free: 15.66 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007711/1.826, allocations: 0 / 1.639 GB, free: 15.66 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0004736/1.827, allocations: 440.5 kB / 1.64 GB, free: 15.23 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003541/1.83, allocations: 1.865 MB / 1.641 GB, free: 13.36 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004543/1.835, allocations: 2.95 MB / 1.644 GB, free: 9.906 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005929/1.841, allocations: 2.722 MB / 1.647 GB, free: 7.18 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.814e-05/1.841, allocations: 12 kB / 1.647 GB, free: 7.168 MB / 1.057 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01687/1.858, allocations: 7.305 MB / 1.654 GB, free: 15.85 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.006503/1.864, allocations: 14.11 MB / 1.668 GB, free: 0.6367 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-05/1.864, allocations: 39.94 kB / 1.668 GB, free: 0.5977 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01291/1.877, allocations: 3.422 MB / 1.671 GB, free: 13.16 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004708/1.882, allocations: 0.9282 MB / 1.672 GB, free: 12.23 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02135/1.903, allocations: 11.4 MB / 1.683 GB, free: 0.6875 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004881/1.908, allocations: 498.5 kB / 1.684 GB, free: 200 kB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009331/1.909, allocations: 199.9 kB / 1.684 GB, free: 0 / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 3.665e-05/1.909, allocations: 4.047 kB / 1.684 GB, free: 15.99 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01063/1.92, allocations: 4.76 MB / 1.689 GB, free: 11.23 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001448/1.92, allocations: 39.98 kB / 1.689 GB, free: 11.2 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.649e-05/1.92, allocations: 56 kB / 1.689 GB, free: 11.14 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005966/1.926, allocations: 1.213 MB / 1.69 GB, free: 9.926 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-05/1.926, allocations: 75.72 kB / 1.69 GB, free: 9.852 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004064/1.93, allocations: 438.8 kB / 1.69 GB, free: 9.422 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008076/1.931, allocations: 195.9 kB / 1.691 GB, free: 9.23 MB / 1.104 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.001358/1.933, allocations: 207.9 kB / 1.691 GB, free: 9.02 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009468/1.934, allocations: 189.8 kB / 1.691 GB, free: 8.832 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01592/1.949, allocations: 6.457 MB / 1.697 GB, free: 2.344 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.053e-05/1.95, allocations: 24 kB / 1.697 GB, free: 2.32 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.079e-05/1.95, allocations: 19.94 kB / 1.697 GB, free: 2.301 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-05/1.95, allocations: 11.95 kB / 1.697 GB, free: 2.289 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02682/1.977, allocations: 11.17 MB / 1.708 GB, free: 6.965 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/1.977, allocations: 8 kB / 1.708 GB, free: 6.957 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/1.98, allocations: 0.6045 MB / 1.709 GB, free: 6.352 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01357/1.993, allocations: 3.883 MB / 1.713 GB, free: 2.457 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000645/1.994, allocations: 55.92 kB / 1.713 GB, free: 2.402 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02026/2.014, allocations: 11.13 MB / 1.724 GB, free: 7.117 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.746e-05/2.014, allocations: 11.94 kB / 1.724 GB, free: 7.105 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01616/2.031, allocations: 7.014 MB / 1.73 GB, free: 15.7 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002122/2.033, allocations: 0.6742 MB / 1.731 GB, free: 15.01 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008246/2.034, allocations: 11.98 kB / 1.731 GB, free: 15 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004041/2.038, allocations: 0.4912 MB / 1.732 GB, free: 14.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006146/2.038, allocations: 181.6 kB / 1.732 GB, free: 14.33 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003861/2.039, allocations: 119.9 kB / 1.732 GB, free: 14.21 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002235/2.041, allocations: 0.9707 MB / 1.733 GB, free: 13.24 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.31e-07/2.041, allocations: 0 / 1.733 GB, free: 13.24 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007798/2.049, allocations: 1.426 MB / 1.734 GB, free: 11.81 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.0006598/2.049, allocations: 166.8 kB / 1.734 GB, free: 11.64 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01462/2.064, allocations: 7.532 MB / 1.742 GB, free: 4.113 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 8.817e-06/2.064, allocations: 0 / 1.742 GB, free: 4.113 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00615/2.07, allocations: 2.802 MB / 1.744 GB, free: 1.305 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/2.072, allocations: 162.4 kB / 1.745 GB, free: 1.148 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6578/2.73, allocations: 7.565 MB / 1.752 GB, free: 320.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003908/2.734, allocations: 2.925 MB / 1.755 GB, free: 319.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006457/2.74, allocations: 1.822 MB / 1.757 GB, free: 319.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006179/2.741, allocations: 163.2 kB / 1.757 GB, free: 319.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.193e-06/2.741, allocations: 1.75 kB / 1.757 GB, free: 319.3 MB / 1.151 GB Notification: Performance of Templates: time 0.07472/2.816, allocations: 47.25 MB / 1.803 GB, free: 317.7 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