Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.401/1.401, allocations: 251.9 MB / 266.9 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001215/0.001215, allocations: 179.9 kB / 326.5 MB, free: 2.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009959/0.000996, allocations: 85.83 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003548/0.000355, allocations: 9.438 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2851, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9728/1.258, allocations: 193.3 MB / 1.089 GB, free: 52.61 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003484/1.258, allocations: 120.7 kB / 1.089 GB, free: 52.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3339/1.592, allocations: 140.6 MB / 1.226 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.605e-06/1.592, allocations: 0 / 1.226 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001727/1.593, allocations: 80 kB / 1.226 GB, free: 11.02 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1023 * Number of variables: 1023 Notification: Performance of Generate backend data structure: time 0.01141/1.604, allocations: 3.182 MB / 1.23 GB, free: 7.793 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/1.604, allocations: 8.031 kB / 1.23 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01338/1.617, allocations: 2.145 MB / 1.232 GB, free: 5.633 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007795/1.625, allocations: 2.241 MB / 1.234 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003188/1.626, allocations: 278.6 kB / 1.234 GB, free: 3.102 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002108/1.628, allocations: 359.3 kB / 1.234 GB, free: 2.762 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01944/1.647, allocations: 6.681 MB / 1.241 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.42e-05/1.647, allocations: 4 kB / 1.241 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000646/1.648, allocations: 159.3 kB / 1.241 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005526/1.649, allocations: 314.2 kB / 1.241 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01791/1.666, allocations: 6.518 MB / 1.248 GB, free: 5 MB / 0.7448 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.04713/1.714, allocations: 28.23 MB / 1.275 GB, free: 6.496 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008477/1.722, allocations: 4.238 MB / 1.279 GB, free: 2.047 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000343/1.723, allocations: 138.6 kB / 1.28 GB, free: 1.906 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.795e-05/1.723, allocations: 64.48 kB / 1.28 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=198): time 5.29e-06/1.723, allocations: 0 / 1.28 GB, free: 1.836 MB / 0.7761 GB Notification: Performance of matching and sorting (n=255): time 0.09851/1.821, allocations: 28.4 MB / 1.307 GB, free: 5.43 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001548/1.821, allocations: 235.6 kB / 1.308 GB, free: 5.152 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00232/1.824, allocations: 1.292 MB / 1.309 GB, free: 3.852 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0006505/1.824, allocations: 65.7 kB / 1.309 GB, free: 3.781 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001124/1.825, allocations: 1.555 MB / 1.31 GB, free: 2.215 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001109/1.827, allocations: 0.8619 MB / 1.311 GB, free: 1.359 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/1.827, allocations: 60 kB / 1.311 GB, free: 1.301 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002424/1.827, allocations: 444.4 kB / 1.312 GB, free: 0.8594 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005384/1.832, allocations: 2.531 MB / 1.314 GB, free: 14.32 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006098/1.839, allocations: 3.438 MB / 1.318 GB, free: 10.49 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006114/1.845, allocations: 2.961 MB / 1.321 GB, free: 7.508 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-05/1.845, allocations: 8 kB / 1.321 GB, free: 7.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.02131/1.866, allocations: 8.837 MB / 1.329 GB, free: 14.6 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.004478/1.871, allocations: 10.8 MB / 1.34 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.7e-05/1.871, allocations: 28 kB / 1.34 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02646/1.897, allocations: 6.659 MB / 1.346 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004195/1.901, allocations: 0.8813 MB / 1.347 GB, free: 11.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02186/1.923, allocations: 14.02 MB / 1.361 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00468/1.928, allocations: 0.5184 MB / 1.361 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007569/1.929, allocations: 191.9 kB / 1.361 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.929, allocations: 4 kB / 1.361 GB, free: 12.47 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02081/1.95, allocations: 8.116 MB / 1.369 GB, free: 4.301 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001324/1.95, allocations: 36 kB / 1.369 GB, free: 4.266 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0122/1.962, allocations: 3.209 MB / 1.373 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005201/1.967, allocations: 1.045 MB / 1.374 GB, free: 0 / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01869/1.986, allocations: 11.53 MB / 1.385 GB, free: 4.328 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004562/1.991, allocations: 0.499 MB / 1.385 GB, free: 3.828 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008906/1.992, allocations: 191.9 kB / 1.386 GB, free: 3.641 MB / 0.8855 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 () * Number of clocked 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.004568/1.996, allocations: 1.616 MB / 1.387 GB, free: 2.012 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009214/1.997, allocations: 189.8 kB / 1.387 GB, free: 1.824 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5837/2.581, allocations: 8.571 MB / 1.396 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.374e-05/2.581, allocations: 24.73 kB / 1.396 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-05/2.581, allocations: 12.78 kB / 1.396 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.14e-05/2.581, allocations: 17.62 kB / 1.396 GB, free: 242.7 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03374/2.615, allocations: 13.65 MB / 1.409 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.347e-05/2.615, allocations: 12.11 kB / 1.409 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003216/2.618, allocations: 0.6204 MB / 1.41 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0245/2.643, allocations: 6.48 MB / 1.416 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009225/2.644, allocations: 84.56 kB / 1.416 GB, free: 241.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01974/2.663, allocations: 13.63 MB / 1.429 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-05/2.663, allocations: 16.47 kB / 1.429 GB, free: 239.7 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01835/2.682, allocations: 8.499 MB / 1.438 GB, free: 238.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002549/2.684, allocations: 0.7358 MB / 1.438 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007554/2.685, allocations: 49.81 kB / 1.438 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003312/2.688, allocations: 486.5 kB / 1.439 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006008/2.689, allocations: 197.5 kB / 1.439 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003043/2.689, allocations: 124.8 kB / 1.439 GB, free: 238.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001934/2.691, allocations: 1.012 MB / 1.44 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/2.691, allocations: 0 / 1.44 GB, free: 238.2 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006634/2.698, allocations: 1.644 MB / 1.442 GB, free: 238.2 MB / 0.8855 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 (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.0005742/2.699, allocations: 200.6 kB / 1.442 GB, free: 238.1 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02468/2.723, allocations: 10.69 MB / 1.452 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.202e-05/2.723, allocations: 3.969 kB / 1.452 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.00917/2.732, allocations: 3.661 MB / 1.456 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002058/2.735, allocations: 201.2 kB / 1.456 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03096/2.766, allocations: 12.01 MB / 1.468 GB, free: 234.2 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004697/2.77, allocations: 2.87 MB / 1.471 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005819/2.776, allocations: 1.667 MB / 1.472 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008909/2.777, allocations: 161.5 kB / 1.473 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of SimCode: time 1.643e-06/2.777, allocations: 0 / 1.473 GB, free: 233.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.08882/2.866, allocations: 57 MB / 1.528 GB, free: 203.7 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepUp_DY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepUp.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches