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.585/2.585, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001389/0.001389, allocations: 174.9 kB / 498.1 MB, free: 5.734 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.723/1.723, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.001247/0.001247, allocations: 103.9 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.000395, allocations: 10.34 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3661, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9295/1.296, allocations: 211.8 MB / 1.43 GB, free: 95.89 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002843/1.296, allocations: 117.4 kB / 1.43 GB, free: 95.89 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.3529/1.649, allocations: 165 MB / 1.591 GB, free: 38.61 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.225e-06/1.649, allocations: 0 / 1.591 GB, free: 38.61 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001206/1.649, allocations: 75.98 kB / 1.591 GB, free: 38.53 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: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.007688/1.657, allocations: 3.222 MB / 1.594 GB, free: 35.25 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/1.657, allocations: 8.031 kB / 1.594 GB, free: 35.24 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01196/1.669, allocations: 2.242 MB / 1.596 GB, free: 32.99 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005131/1.674, allocations: 2.26 MB / 1.599 GB, free: 30.68 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001354/1.674, allocations: 287.4 kB / 1.599 GB, free: 30.4 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007319/1.675, allocations: 364 kB / 1.599 GB, free: 30.04 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01198/1.687, allocations: 6.747 MB / 1.606 GB, free: 23.17 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.165e-05/1.687, allocations: 3.938 kB / 1.606 GB, free: 23.17 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004376/1.687, allocations: 156 kB / 1.606 GB, free: 23.02 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003858/1.688, allocations: 310.4 kB / 1.606 GB, free: 22.71 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01299/1.701, allocations: 6.569 MB / 1.613 GB, free: 16.13 MB / 0.9167 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.03627/1.737, allocations: 28.49 MB / 1.64 GB, free: 1.168 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008458/1.746, allocations: 4.24 MB / 1.645 GB, free: 12.71 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003214/1.746, allocations: 127.1 kB / 1.645 GB, free: 12.57 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.641e-05/1.746, allocations: 72.48 kB / 1.645 GB, free: 12.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=198): time 4.639e-06/1.746, allocations: 0 / 1.645 GB, free: 12.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=255): time 0.1019/1.848, allocations: 28.8 MB / 1.673 GB, free: 15.64 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001718/1.848, allocations: 243.5 kB / 1.673 GB, free: 15.35 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002951/1.851, allocations: 1.326 MB / 1.674 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0006215/1.852, allocations: 65.7 kB / 1.675 GB, free: 13.95 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001227/1.853, allocations: 1.571 MB / 1.676 GB, free: 12.35 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.001358/1.854, allocations: 0.8587 MB / 1.677 GB, free: 11.48 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005146/1.855, allocations: 60 kB / 1.677 GB, free: 11.42 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003274/1.855, allocations: 444.4 kB / 1.677 GB, free: 10.98 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005947/1.861, allocations: 2.52 MB / 1.68 GB, free: 8.457 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00653/1.868, allocations: 3.427 MB / 1.683 GB, free: 4.637 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00633/1.874, allocations: 2.961 MB / 1.686 GB, free: 1.652 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.372e-05/1.874, allocations: 8 kB / 1.686 GB, free: 1.645 MB / 0.9792 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.02153/1.896, allocations: 8.801 MB / 1.695 GB, free: 8.777 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.004294/1.9, allocations: 10.8 MB / 1.705 GB, free: 13.12 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.818e-05/1.9, allocations: 31.94 kB / 1.705 GB, free: 13.09 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02337/1.923, allocations: 5.949 MB / 1.711 GB, free: 7.129 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00417/1.928, allocations: 0.8813 MB / 1.712 GB, free: 6.246 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02217/1.95, allocations: 14.02 MB / 1.726 GB, free: 8.059 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004332/1.954, allocations: 0.5379 MB / 1.726 GB, free: 7.52 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000877/1.955, allocations: 172.4 kB / 1.726 GB, free: 7.352 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/1.955, allocations: 5.812 kB / 1.726 GB, free: 7.348 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0209/1.976, allocations: 8.096 MB / 1.734 GB, free: 15.2 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/1.976, allocations: 28.56 kB / 1.734 GB, free: 15.17 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01232/1.989, allocations: 3.205 MB / 1.737 GB, free: 11.96 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005016/1.994, allocations: 1.041 MB / 1.738 GB, free: 10.91 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0181/2.012, allocations: 11.54 MB / 1.75 GB, free: 15.23 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00414/2.016, allocations: 0.5186 MB / 1.75 GB, free: 14.71 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007168/2.017, allocations: 167.9 kB / 1.75 GB, free: 14.55 MB / 1.057 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.003877/2.021, allocations: 1.62 MB / 1.752 GB, free: 12.91 MB / 1.057 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000871/2.021, allocations: 193.7 kB / 1.752 GB, free: 12.72 MB / 1.057 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02143/2.043, allocations: 8.549 MB / 1.76 GB, free: 4.125 MB / 1.057 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.45e-05/2.043, allocations: 28 kB / 1.76 GB, free: 4.098 MB / 1.057 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.619e-05/2.043, allocations: 12 kB / 1.76 GB, free: 4.086 MB / 1.057 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.481e-05/2.043, allocations: 11.95 kB / 1.761 GB, free: 4.074 MB / 1.057 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03179/2.075, allocations: 13.61 MB / 1.774 GB, free: 6.289 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.671e-05/2.075, allocations: 11.95 kB / 1.774 GB, free: 6.277 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003035/2.078, allocations: 0.6165 MB / 1.774 GB, free: 5.66 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02246/2.1, allocations: 5.781 MB / 1.78 GB, free: 15.87 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006378/2.101, allocations: 79.92 kB / 1.78 GB, free: 15.79 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02179/2.123, allocations: 13.58 MB / 1.793 GB, free: 2.035 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-06/2.123, allocations: 8 kB / 1.793 GB, free: 2.027 MB / 1.089 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02003/2.143, allocations: 8.488 MB / 1.802 GB, free: 9.152 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00236/2.145, allocations: 0.7171 MB / 1.802 GB, free: 8.414 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007616/2.146, allocations: 48 kB / 1.802 GB, free: 8.367 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003609/2.15, allocations: 0.499 MB / 1.803 GB, free: 7.867 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006024/2.15, allocations: 190.1 kB / 1.803 GB, free: 7.68 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003648/2.151, allocations: 103.9 kB / 1.803 GB, free: 7.578 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001968/2.153, allocations: 1.041 MB / 1.804 GB, free: 6.535 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.994e-06/2.153, allocations: 0 / 1.804 GB, free: 6.535 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.006917/2.16, allocations: 1.668 MB / 1.806 GB, free: 4.867 MB / 1.104 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.0005963/2.16, allocations: 206.6 kB / 1.806 GB, free: 4.656 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.0251/2.185, allocations: 10.61 MB / 1.816 GB, free: 10.02 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/2.185, allocations: 0 / 1.816 GB, free: 10.02 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.009088/2.195, allocations: 3.649 MB / 1.82 GB, free: 6.359 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001764/2.196, allocations: 222.7 kB / 1.82 GB, free: 6.141 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04137/2.238, allocations: 12.02 MB / 1.832 GB, free: 9.996 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005266/2.243, allocations: 2.881 MB / 1.835 GB, free: 7.078 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.005948/2.249, allocations: 1.656 MB / 1.836 GB, free: 5.418 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/2.25, allocations: 163.3 kB / 1.837 GB, free: 5.258 MB / 1.135 GB Notification: Performance of SimCode: time 4.208e-06/2.25, allocations: 4 kB / 1.837 GB, free: 5.254 MB / 1.135 GB Notification: Performance of Templates: time 0.6366/2.887, allocations: 56.83 MB / 1.892 GB, free: 330.1 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