Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.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.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_9_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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001122/0.001122, allocations: 192.8 kB / 487.4 MB, free: 5.043 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.534/1.534, allocations: 221.5 MB / 0.7824 GB, free: 0.9102 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.0008964/0.0008964, allocations: 102.1 kB / 0.9219 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.231e-05/2.234e-05, allocations: 5.25 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2575, allocations: 142.3 MB / 1.206 GB, free: 43.91 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9433/1.201, allocations: 211.1 MB / 1.412 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/1.201, allocations: 117.8 kB / 1.412 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.3968/1.598, allocations: 163.7 MB / 1.572 GB, free: 7.301 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.004e-06/1.598, allocations: 0 / 1.572 GB, free: 7.301 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0001366/1.598, allocations: 76 kB / 1.572 GB, free: 7.227 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: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.008831/1.607, allocations: 3.059 MB / 1.575 GB, free: 4.109 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/1.607, allocations: 12.02 kB / 1.575 GB, free: 4.098 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01421/1.621, allocations: 2.242 MB / 1.577 GB, free: 1.848 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00578/1.627, allocations: 2.248 MB / 1.58 GB, free: 15.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/1.627, allocations: 120 kB / 1.58 GB, free: 15.43 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001571/1.629, allocations: 219.9 kB / 1.58 GB, free: 15.22 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01199/1.641, allocations: 5.017 MB / 1.585 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02191/1.663, allocations: 5.687 MB / 1.59 GB, free: 4.391 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001775/1.663, allocations: 3.938 kB / 1.59 GB, free: 4.387 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001703/1.665, allocations: 4 kB / 1.59 GB, free: 4.383 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000686/1.665, allocations: 314.4 kB / 1.591 GB, free: 4.074 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.04407/1.71, allocations: 27.74 MB / 1.618 GB, free: 5.875 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00567/1.715, allocations: 3.648 MB / 1.621 GB, free: 2.02 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002834/1.718, allocations: 1.807 MB / 1.623 GB, free: 196 kB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003421/1.718, allocations: 131 kB / 1.623 GB, free: 44 kB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.535e-05/1.719, allocations: 64.55 kB / 1.623 GB, free: 15.97 MB / 1.042 GB Notification: Performance of pre-optimization done (n=198): time 4.538e-06/1.719, allocations: 0 / 1.623 GB, free: 15.97 MB / 1.042 GB Notification: Performance of matching and sorting (n=255): time 0.03547/1.754, allocations: 13.61 MB / 1.637 GB, free: 2.359 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001508/1.754, allocations: 235.6 kB / 1.637 GB, free: 2.078 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002686/1.757, allocations: 1.193 MB / 1.638 GB, free: 0.875 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.0005766/1.758, allocations: 25.7 kB / 1.638 GB, free: 0.8438 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.00142/1.759, allocations: 1.567 MB / 1.639 GB, free: 15.25 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.00152/1.761, allocations: 0.8353 MB / 1.64 GB, free: 14.4 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004475/1.761, allocations: 4 kB / 1.64 GB, free: 14.4 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0003201/1.761, allocations: 432.4 kB / 1.641 GB, free: 13.97 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003026/1.764, allocations: 1.974 MB / 1.643 GB, free: 11.99 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003708/1.768, allocations: 2.855 MB / 1.645 GB, free: 8.742 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005525/1.774, allocations: 2.769 MB / 1.648 GB, free: 5.949 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.847e-05/1.774, allocations: 8 kB / 1.648 GB, free: 5.941 MB / 1.057 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01732/1.791, allocations: 7.573 MB / 1.656 GB, free: 14.3 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.005462/1.796, allocations: 10.81 MB / 1.666 GB, free: 2.641 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001009/1.797, allocations: 28 kB / 1.666 GB, free: 2.613 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01427/1.811, allocations: 3.839 MB / 1.67 GB, free: 14.77 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004444/1.815, allocations: 0.8774 MB / 1.671 GB, free: 13.89 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0235/1.839, allocations: 13.25 MB / 1.684 GB, free: 500 kB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004543/1.844, allocations: 490.7 kB / 1.684 GB, free: 8 kB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000969/1.845, allocations: 172.5 kB / 1.684 GB, free: 15.84 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.845, allocations: 8 kB / 1.684 GB, free: 15.83 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01102/1.856, allocations: 4.854 MB / 1.689 GB, free: 10.93 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001219/1.856, allocations: 28 kB / 1.689 GB, free: 10.9 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.468e-05/1.856, allocations: 56.09 kB / 1.689 GB, free: 10.85 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005964/1.862, allocations: 1.205 MB / 1.69 GB, free: 9.641 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.602e-05/1.862, allocations: 63.78 kB / 1.69 GB, free: 9.578 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003975/1.866, allocations: 435 kB / 1.691 GB, free: 9.152 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000777/1.867, allocations: 175.9 kB / 1.691 GB, free: 8.98 MB / 1.104 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.001145/1.868, allocations: 184 kB / 1.691 GB, free: 8.793 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008312/1.869, allocations: 193.8 kB / 1.691 GB, free: 8.602 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01684/1.886, allocations: 7.51 MB / 1.699 GB, free: 1.039 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.732e-05/1.886, allocations: 28 kB / 1.699 GB, free: 1.012 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.098e-05/1.886, allocations: 12 kB / 1.699 GB, free: 1 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.967e-05/1.886, allocations: 11.95 kB / 1.699 GB, free: 0.9883 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02934/1.915, allocations: 11.99 MB / 1.71 GB, free: 4.848 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.411e-05/1.915, allocations: 8 kB / 1.71 GB, free: 4.84 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003414/1.919, allocations: 0.6162 MB / 1.711 GB, free: 4.223 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01517/1.934, allocations: 4.299 MB / 1.715 GB, free: 15.91 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001003/1.935, allocations: 43.94 kB / 1.715 GB, free: 15.87 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02302/1.958, allocations: 12.94 MB / 1.728 GB, free: 2.781 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.905e-05/1.958, allocations: 15.89 kB / 1.728 GB, free: 2.766 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01597/1.974, allocations: 7.457 MB / 1.735 GB, free: 11.04 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002202/1.976, allocations: 0.7132 MB / 1.736 GB, free: 10.3 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009114/1.977, allocations: 11.98 kB / 1.736 GB, free: 10.29 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00427/1.982, allocations: 0.5148 MB / 1.736 GB, free: 9.777 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006911/1.982, allocations: 194 kB / 1.737 GB, free: 9.586 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004587/1.983, allocations: 111.9 kB / 1.737 GB, free: 9.477 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001854/1.985, allocations: 0.9098 MB / 1.738 GB, free: 8.562 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.1e-07/1.985, allocations: 0 / 1.738 GB, free: 8.562 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007951/1.993, allocations: 1.422 MB / 1.739 GB, free: 7.141 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 (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.0008628/1.993, allocations: 161.3 kB / 1.739 GB, free: 6.977 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.6835/2.677, allocations: 7.904 MB / 1.747 GB, free: 327 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/2.677, allocations: 1.156 kB / 1.747 GB, free: 327 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.009418/2.686, allocations: 3.064 MB / 1.75 GB, free: 326.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/2.689, allocations: 158.8 kB / 1.75 GB, free: 326.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03211/2.721, allocations: 8.908 MB / 1.759 GB, free: 325.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004246/2.726, allocations: 2.857 MB / 1.761 GB, free: 324.9 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00619/2.732, allocations: 1.805 MB / 1.763 GB, free: 324.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006527/2.733, allocations: 154.3 kB / 1.763 GB, free: 324.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.082e-06/2.733, allocations: 0 / 1.763 GB, free: 324.8 MB / 1.151 GB Notification: Performance of Templates: time 0.07439/2.807, allocations: 50.61 MB / 1.813 GB, free: 323.2 MB / 1.151 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_DY.csv","../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches