Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.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.UnbalancedStepDown.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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.643/2.643, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001185/0.001185, allocations: 191.9 kB / 0.4902 GB, free: 2.234 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.504/1.504, allocations: 223.2 MB / 0.7992 GB, free: 14.74 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.0008539/0.000854, allocations: 102.5 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003229/0.000323, allocations: 10.75 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.246, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7648/1.011, allocations: 212.5 MB / 1.437 GB, free: 90.34 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/1.011, allocations: 120 kB / 1.437 GB, free: 90.34 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3966/1.408, allocations: 177.2 MB / 1.61 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.994e-06/1.408, allocations: 0 / 1.61 GB, free: 13.46 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001773/1.408, allocations: 80 kB / 1.61 GB, free: 13.38 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.01186/1.42, allocations: 3.336 MB / 1.613 GB, free: 9.984 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.42, allocations: 12.03 kB / 1.613 GB, free: 9.973 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0146/1.435, allocations: 2.363 MB / 1.616 GB, free: 7.602 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007586/1.442, allocations: 2.342 MB / 1.618 GB, free: 5.215 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002754/1.443, allocations: 299.9 kB / 1.618 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001935/1.445, allocations: 388 kB / 1.619 GB, free: 4.543 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02086/1.466, allocations: 7.074 MB / 1.625 GB, free: 13.36 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002194/1.466, allocations: 11.84 kB / 1.625 GB, free: 13.34 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001784/1.468, allocations: 164 kB / 1.626 GB, free: 13.18 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000592/1.468, allocations: 318.8 kB / 1.626 GB, free: 12.87 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02055/1.489, allocations: 6.719 MB / 1.632 GB, free: 6.141 MB / 0.9323 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.05106/1.54, allocations: 29.04 MB / 1.661 GB, free: 6.586 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007957/1.548, allocations: 3.701 MB / 1.664 GB, free: 2.723 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003267/1.548, allocations: 126.4 kB / 1.665 GB, free: 2.582 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/1.548, allocations: 59.86 kB / 1.665 GB, free: 2.516 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=176): time 4.499e-06/1.548, allocations: 3.938 kB / 1.665 GB, free: 2.512 MB / 0.9636 GB Notification: Performance of matching and sorting (n=221): time 0.07917/1.627, allocations: 24.01 MB / 1.688 GB, free: 10.39 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/1.628, allocations: 235.6 kB / 1.688 GB, free: 10.11 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002478/1.63, allocations: 1.476 MB / 1.69 GB, free: 8.625 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005454/1.631, allocations: 61.7 kB / 1.69 GB, free: 8.559 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001161/1.632, allocations: 1.748 MB / 1.692 GB, free: 6.785 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000944/1.633, allocations: 0.7587 MB / 1.692 GB, free: 6.016 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002459/1.633, allocations: 64 kB / 1.692 GB, free: 5.953 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0002346/1.633, allocations: 436.5 kB / 1.693 GB, free: 5.52 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005347/1.639, allocations: 2.395 MB / 1.695 GB, free: 3.121 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006387/1.645, allocations: 3.51 MB / 1.698 GB, free: 15.1 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007261/1.652, allocations: 2.878 MB / 1.701 GB, free: 12.22 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-05/1.652, allocations: 12 kB / 1.701 GB, free: 12.21 MB / 1.01 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.04006/1.693, allocations: 9.409 MB / 1.711 GB, free: 2.777 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.007401/1.7, allocations: 14.1 MB / 1.724 GB, free: 3.574 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001516/1.7, allocations: 36 kB / 1.724 GB, free: 3.539 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02973/1.73, allocations: 4.928 MB / 1.729 GB, free: 14.6 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006965/1.737, allocations: 0.928 MB / 1.73 GB, free: 13.67 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03112/1.768, allocations: 11.86 MB / 1.742 GB, free: 1.633 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007261/1.775, allocations: 0.5727 MB / 1.742 GB, free: 1.059 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009327/1.776, allocations: 167.9 kB / 1.742 GB, free: 0.8945 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/1.776, allocations: 0 / 1.742 GB, free: 0.8945 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03165/1.808, allocations: 7.81 MB / 1.75 GB, free: 9.074 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001456/1.808, allocations: 39.95 kB / 1.75 GB, free: 9.035 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02005/1.828, allocations: 3.08 MB / 1.753 GB, free: 5.949 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006948/1.835, allocations: 1.041 MB / 1.754 GB, free: 4.906 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02388/1.859, allocations: 9.811 MB / 1.764 GB, free: 10.95 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006115/1.865, allocations: 0.5301 MB / 1.764 GB, free: 10.42 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007263/1.866, allocations: 164 kB / 1.764 GB, free: 10.26 MB / 1.073 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 () * Number of clocked 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.004645/1.871, allocations: 1.698 MB / 1.766 GB, free: 8.547 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009343/1.872, allocations: 197.7 kB / 1.766 GB, free: 8.352 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03648/1.908, allocations: 8.305 MB / 1.774 GB, free: 12 kB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-05/1.908, allocations: 32 kB / 1.774 GB, free: 15.98 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.551e-05/1.908, allocations: 8 kB / 1.774 GB, free: 15.97 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.272e-05/1.909, allocations: 12 kB / 1.774 GB, free: 15.96 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04909/1.958, allocations: 13.61 MB / 1.788 GB, free: 2.18 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-05/1.958, allocations: 8 kB / 1.788 GB, free: 2.172 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004759/1.962, allocations: 0.6129 MB / 1.788 GB, free: 1.559 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02801/1.991, allocations: 4.742 MB / 1.793 GB, free: 12.8 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006292/1.991, allocations: 63.95 kB / 1.793 GB, free: 12.74 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04381/2.035, allocations: 17.32 MB / 1.81 GB, free: 11.14 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.666e-05/2.035, allocations: 15.89 kB / 1.81 GB, free: 11.12 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02966/2.065, allocations: 8.854 MB / 1.818 GB, free: 1.891 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002196/2.067, allocations: 0.6507 MB / 1.819 GB, free: 1.219 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005131/2.068, allocations: 55.94 kB / 1.819 GB, free: 1.164 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003223/2.071, allocations: 491.1 kB / 1.82 GB, free: 0.6836 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005572/2.071, allocations: 181.6 kB / 1.82 GB, free: 0.5039 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/2.072, allocations: 83.95 kB / 1.82 GB, free: 432 kB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001694/2.073, allocations: 1.106 MB / 1.821 GB, free: 15.31 MB / 1.135 GB Notification: Performance of sort global known variables: time 2.01e-07/2.073, allocations: 0 / 1.821 GB, free: 15.31 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.005511/2.079, allocations: 1.75 MB / 1.823 GB, free: 13.56 MB / 1.135 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 (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.0004095/2.079, allocations: 182.8 kB / 1.823 GB, free: 13.38 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.02386/2.103, allocations: 10.02 MB / 1.833 GB, free: 3.344 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/2.103, allocations: 0.875 kB / 1.833 GB, free: 3.344 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.009027/2.112, allocations: 3.593 MB / 1.836 GB, free: 15.73 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/2.114, allocations: 222.3 kB / 1.836 GB, free: 15.51 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02119/2.135, allocations: 9.743 MB / 1.846 GB, free: 5.641 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003845/2.139, allocations: 2.969 MB / 1.849 GB, free: 2.637 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005247/2.144, allocations: 1.68 MB / 1.85 GB, free: 0.9531 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006392/2.145, allocations: 171.3 kB / 1.851 GB, free: 0.7891 MB / 1.151 GB Notification: Performance of SimCode: time 9.12e-07/2.145, allocations: 0 / 1.851 GB, free: 0.7891 MB / 1.151 GB Notification: Performance of Templates: time 0.6533/2.798, allocations: 54.45 MB / 1.904 GB, free: 328.9 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_YY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches