Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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.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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.307/2.307, allocations: 390.5 MB / 398 MB, free: 10.98 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.001233/0.001233, allocations: 171 kB / 491.2 MB, free: 1.598 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.618/1.618, allocations: 221.5 MB / 0.7868 GB, free: 13.27 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.001025/0.001025, allocations: 95.67 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.192e-05/2.21e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2906/0.2906, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.069/1.36, allocations: 211.9 MB / 1.419 GB, free: 4.957 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003048/1.36, allocations: 115.9 kB / 1.419 GB, free: 4.887 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.4165/1.777, allocations: 163.7 MB / 1.579 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.854e-06/1.777, allocations: 0 / 1.579 GB, free: 14.91 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002271/1.777, allocations: 79.98 kB / 1.579 GB, free: 14.84 MB / 0.9948 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.01084/1.788, allocations: 3.051 MB / 1.582 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/1.788, allocations: 8.031 kB / 1.582 GB, free: 11.72 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01379/1.802, allocations: 2.242 MB / 1.584 GB, free: 9.469 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005827/1.808, allocations: 2.256 MB / 1.587 GB, free: 7.168 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002323/1.808, allocations: 124 kB / 1.587 GB, free: 7.047 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001973/1.81, allocations: 212 kB / 1.587 GB, free: 6.84 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01168/1.822, allocations: 5.025 MB / 1.592 GB, free: 1.809 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01697/1.839, allocations: 5.681 MB / 1.597 GB, free: 12 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/1.839, allocations: 7.938 kB / 1.597 GB, free: 12 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001401/1.84, allocations: 3.938 kB / 1.597 GB, free: 11.99 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005862/1.841, allocations: 318.4 kB / 1.598 GB, free: 11.68 MB / 1.01 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.04191/1.883, allocations: 27.73 MB / 1.625 GB, free: 13.48 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005597/1.888, allocations: 3.655 MB / 1.628 GB, free: 9.629 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002886/1.891, allocations: 1.803 MB / 1.63 GB, free: 7.812 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003237/1.892, allocations: 131 kB / 1.63 GB, free: 7.664 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.686e-05/1.892, allocations: 64.5 kB / 1.63 GB, free: 7.594 MB / 1.042 GB Notification: Performance of pre-optimization done (n=198): time 4.298e-06/1.892, allocations: 4 kB / 1.63 GB, free: 7.59 MB / 1.042 GB Notification: Performance of matching and sorting (n=255): time 0.03285/1.925, allocations: 13.61 MB / 1.644 GB, free: 9.969 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/1.925, allocations: 239.6 kB / 1.644 GB, free: 9.684 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001789/1.926, allocations: 1.185 MB / 1.645 GB, free: 8.488 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0004956/1.927, allocations: 25.7 kB / 1.645 GB, free: 8.457 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009864/1.928, allocations: 1.563 MB / 1.647 GB, free: 6.871 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009892/1.929, allocations: 0.8313 MB / 1.647 GB, free: 6.027 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/1.929, allocations: 0 / 1.647 GB, free: 6.027 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002519/1.929, allocations: 440.4 kB / 1.648 GB, free: 5.59 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002751/1.932, allocations: 1.97 MB / 1.65 GB, free: 3.617 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003388/1.936, allocations: 2.863 MB / 1.653 GB, free: 368 kB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005005/1.941, allocations: 2.769 MB / 1.655 GB, free: 13.56 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.931e-05/1.941, allocations: 12 kB / 1.655 GB, free: 13.55 MB / 1.073 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01562/1.956, allocations: 7.565 MB / 1.663 GB, free: 5.922 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.004551/1.961, allocations: 10.8 MB / 1.673 GB, free: 10.26 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.356e-05/1.961, allocations: 31.94 kB / 1.673 GB, free: 10.23 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01327/1.974, allocations: 3.839 MB / 1.677 GB, free: 6.375 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004223/1.978, allocations: 0.8774 MB / 1.678 GB, free: 5.496 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02234/2.001, allocations: 13.25 MB / 1.691 GB, free: 8.098 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00457/2.005, allocations: 482.8 kB / 1.691 GB, free: 7.625 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006346/2.006, allocations: 176 kB / 1.691 GB, free: 7.453 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/2.006, allocations: 4 kB / 1.691 GB, free: 7.449 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00898/2.015, allocations: 4.855 MB / 1.696 GB, free: 2.551 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.244e-05/2.015, allocations: 28 kB / 1.696 GB, free: 2.523 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.997e-05/2.015, allocations: 44 kB / 1.696 GB, free: 2.48 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005299/2.021, allocations: 1.221 MB / 1.697 GB, free: 1.258 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.632e-05/2.021, allocations: 59.8 kB / 1.697 GB, free: 1.199 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003412/2.024, allocations: 439 kB / 1.698 GB, free: 0.7695 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003297/2.024, allocations: 167.9 kB / 1.698 GB, free: 0.6055 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.0007784/2.025, allocations: 188 kB / 1.698 GB, free: 424 kB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000558/2.026, allocations: 185.8 kB / 1.698 GB, free: 236 kB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0153/2.041, allocations: 7.522 MB / 1.706 GB, free: 8.656 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.34e-05/2.041, allocations: 24 kB / 1.706 GB, free: 8.633 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.837e-05/2.041, allocations: 12 kB / 1.706 GB, free: 8.621 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.203e-05/2.041, allocations: 11.95 kB / 1.706 GB, free: 8.609 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02334/2.065, allocations: 11.97 MB / 1.718 GB, free: 12.48 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.569e-05/2.065, allocations: 12.19 kB / 1.718 GB, free: 12.47 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002913/2.068, allocations: 0.6122 MB / 1.718 GB, free: 11.86 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01468/2.082, allocations: 4.303 MB / 1.722 GB, free: 7.539 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008649/2.083, allocations: 39.94 kB / 1.722 GB, free: 7.5 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03096/2.114, allocations: 12.94 MB / 1.735 GB, free: 10.41 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.798e-05/2.114, allocations: 11.94 kB / 1.735 GB, free: 10.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02264/2.137, allocations: 7.469 MB / 1.742 GB, free: 2.668 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002893/2.14, allocations: 0.7132 MB / 1.743 GB, free: 1.934 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009929/2.141, allocations: 15.98 kB / 1.743 GB, free: 1.918 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006039/2.147, allocations: 0.5146 MB / 1.744 GB, free: 1.402 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008512/2.148, allocations: 190 kB / 1.744 GB, free: 1.215 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004348/2.148, allocations: 103.9 kB / 1.744 GB, free: 1.113 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002347/2.151, allocations: 0.9098 MB / 1.745 GB, free: 204 kB / 1.151 GB Notification: Performance of sort global known variables: time 3.21e-07/2.151, allocations: 0 / 1.745 GB, free: 204 kB / 1.151 GB Notification: Performance of remove unused functions: time 0.758/2.909, allocations: 1.426 MB / 1.746 GB, free: 323.8 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.0005951/2.909, allocations: 142.2 kB / 1.746 GB, free: 323.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01466/2.924, allocations: 7.92 MB / 1.754 GB, free: 323.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.019e-05/2.924, allocations: 4.719 kB / 1.754 GB, free: 323.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006538/2.931, allocations: 3.064 MB / 1.757 GB, free: 323.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001431/2.932, allocations: 163 kB / 1.757 GB, free: 323.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0287/2.961, allocations: 8.904 MB / 1.766 GB, free: 322.1 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003794/2.965, allocations: 2.865 MB / 1.769 GB, free: 321.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006484/2.971, allocations: 1.808 MB / 1.77 GB, free: 321.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006172/2.972, allocations: 153.6 kB / 1.77 GB, free: 321.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.423e-06/2.972, allocations: 0 / 1.77 GB, free: 321.3 MB / 1.151 GB Notification: Performance of Templates: time 0.07492/3.047, allocations: 50.6 MB / 1.82 GB, free: 319.6 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_DY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches