Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.361/2.361, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001242/0.001242, allocations: 168.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 221.3 MB / 0.7915 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009293/0.0009294, allocations: 95.94 kB / 0.9317 GB, free: 5.781 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.589e-05/3.593e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3127/0.3128, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.37, allocations: 212.6 MB / 1.426 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003593/1.371, allocations: 117.8 kB / 1.426 GB, free: 7.914 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4048/1.776, allocations: 158.9 MB / 1.582 GB, free: 13.58 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.766e-06/1.776, allocations: 0 / 1.582 GB, free: 13.58 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0003062/1.776, allocations: 72 kB / 1.582 GB, free: 13.51 MB / 1.042 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.01669/1.793, allocations: 3.064 MB / 1.585 GB, free: 10.39 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.794e-05/1.793, allocations: 8.031 kB / 1.585 GB, free: 10.38 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0207/1.814, allocations: 2.137 MB / 1.587 GB, free: 8.234 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006985/1.821, allocations: 2.256 MB / 1.589 GB, free: 5.934 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003569/1.821, allocations: 283.5 kB / 1.589 GB, free: 5.656 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002369/1.823, allocations: 367.9 kB / 1.59 GB, free: 5.297 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02174/1.845, allocations: 6.175 MB / 1.596 GB, free: 15 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002215/1.845, allocations: 11.94 kB / 1.596 GB, free: 14.99 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001889/1.847, allocations: 152 kB / 1.596 GB, free: 14.84 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007441/1.848, allocations: 306.4 kB / 1.596 GB, free: 14.54 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01381/1.862, allocations: 5.525 MB / 1.601 GB, free: 9.008 MB / 1.057 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.05338/1.915, allocations: 28.3 MB / 1.629 GB, free: 10.31 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008739/1.924, allocations: 3.764 MB / 1.633 GB, free: 6.328 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004806/1.929, allocations: 1.867 MB / 1.635 GB, free: 4.445 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004053/1.929, allocations: 135 kB / 1.635 GB, free: 4.297 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.233e-05/1.93, allocations: 64.5 kB / 1.635 GB, free: 4.223 MB / 1.089 GB Notification: Performance of pre-optimization done (n=198): time 7.123e-06/1.93, allocations: 0 / 1.635 GB, free: 4.223 MB / 1.089 GB Notification: Performance of matching and sorting (n=255): time 0.1265/2.056, allocations: 24.67 MB / 1.659 GB, free: 11.53 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/2.056, allocations: 239.6 kB / 1.659 GB, free: 11.25 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002021/2.058, allocations: 1.309 MB / 1.66 GB, free: 9.93 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.0005433/2.059, allocations: 69.7 kB / 1.66 GB, free: 9.855 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009152/2.06, allocations: 1.563 MB / 1.662 GB, free: 8.27 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009493/2.061, allocations: 0.8702 MB / 1.663 GB, free: 7.387 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002257/2.061, allocations: 67.94 kB / 1.663 GB, free: 7.32 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0002513/2.061, allocations: 444.4 kB / 1.663 GB, free: 6.879 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003133/2.064, allocations: 2.04 MB / 1.665 GB, free: 4.836 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004503/2.069, allocations: 2.94 MB / 1.668 GB, free: 1.504 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004594/2.074, allocations: 2.481 MB / 1.671 GB, free: 15 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.41e-05/2.074, allocations: 8 kB / 1.671 GB, free: 14.99 MB / 1.135 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01667/2.09, allocations: 7.748 MB / 1.678 GB, free: 7.18 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.003978/2.094, allocations: 10.8 MB / 1.689 GB, free: 11.53 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-05/2.094, allocations: 28 kB / 1.689 GB, free: 11.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02363/2.118, allocations: 6.133 MB / 1.695 GB, free: 5.352 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004313/2.122, allocations: 0.8774 MB / 1.696 GB, free: 4.473 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7749/2.897, allocations: 13.48 MB / 1.709 GB, free: 316.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005624/2.903, allocations: 0.5192 MB / 1.709 GB, free: 316.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008599/2.904, allocations: 188 kB / 1.709 GB, free: 316.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.18e-05/2.904, allocations: 3.922 kB / 1.709 GB, free: 316.7 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01879/2.923, allocations: 7.038 MB / 1.716 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001805/2.923, allocations: 27.88 kB / 1.716 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01035/2.933, allocations: 2.73 MB / 1.719 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005553/2.939, allocations: 1.053 MB / 1.72 GB, free: 316.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0199/2.959, allocations: 10.98 MB / 1.731 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004704/2.964, allocations: 0.4962 MB / 1.731 GB, free: 315.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007513/2.964, allocations: 192.4 kB / 1.731 GB, free: 315.3 MB / 1.151 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.001045/2.965, allocations: 285.5 kB / 1.732 GB, free: 315.2 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007029/2.966, allocations: 193.8 kB / 1.732 GB, free: 315.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01616/2.982, allocations: 7.5 MB / 1.739 GB, free: 314.9 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.342e-05/2.982, allocations: 26.09 kB / 1.739 GB, free: 314.9 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.209e-05/2.982, allocations: 11.56 kB / 1.739 GB, free: 314.9 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.927e-05/2.983, allocations: 16.3 kB / 1.739 GB, free: 314.9 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02684/3.009, allocations: 12.62 MB / 1.752 GB, free: 313.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-05/3.009, allocations: 7.594 kB / 1.752 GB, free: 313.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003104/3.013, allocations: 0.6178 MB / 1.752 GB, free: 313.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02223/3.035, allocations: 5.959 MB / 1.758 GB, free: 313.2 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007132/3.036, allocations: 89.41 kB / 1.758 GB, free: 313.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01862/3.054, allocations: 13.06 MB / 1.771 GB, free: 307.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/3.054, allocations: 10.12 kB / 1.771 GB, free: 307.2 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01315/3.067, allocations: 7.46 MB / 1.778 GB, free: 304 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001974/3.069, allocations: 0.7343 MB / 1.779 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004759/3.07, allocations: 50.59 kB / 1.779 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003333/3.073, allocations: 485.6 kB / 1.779 GB, free: 303.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000576/3.074, allocations: 202.7 kB / 1.78 GB, free: 303.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002747/3.074, allocations: 125.8 kB / 1.78 GB, free: 303.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001487/3.076, allocations: 1.035 MB / 1.781 GB, free: 303.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.41e-07/3.076, allocations: 1.688 kB / 1.781 GB, free: 303.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006548/3.082, allocations: 1.656 MB / 1.782 GB, free: 303 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.000507/3.083, allocations: 193.6 kB / 1.783 GB, free: 302.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01692/3.1, allocations: 9.234 MB / 1.792 GB, free: 299.9 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/3.1, allocations: 0 / 1.792 GB, free: 299.9 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006414/3.106, allocations: 3.177 MB / 1.795 GB, free: 298.9 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/3.108, allocations: 221.4 kB / 1.795 GB, free: 298.8 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02486/3.133, allocations: 9.077 MB / 1.804 GB, free: 296.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002544/3.135, allocations: 2.884 MB / 1.807 GB, free: 295.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005202/3.141, allocations: 1.799 MB / 1.808 GB, free: 295.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005831/3.141, allocations: 150.1 kB / 1.808 GB, free: 295.2 MB / 1.151 GB Notification: Performance of SimCode: time 1.613e-06/3.141, allocations: 0 / 1.808 GB, free: 295.2 MB / 1.151 GB Notification: Performance of Templates: time 0.08601/3.227, allocations: 59.11 MB / 1.866 GB, free: 272.5 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepUp_DY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepUp.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches