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.22/2.22, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.0009855/0.0009856, allocations: 168.9 kB / 492.3 MB, free: 0.6133 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.45/1.45, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.0008293/0.0008294, allocations: 105.3 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.625e-05/2.628e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2324, allocations: 142.3 MB / 1.212 GB, free: 38.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8672/1.1, allocations: 211.7 MB / 1.419 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/1.1, allocations: 120.4 kB / 1.419 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.4095/1.51, allocations: 164.4 MB / 1.58 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.794e-06/1.51, allocations: 0 / 1.58 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001688/1.51, allocations: 79.98 kB / 1.58 GB, free: 13.68 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.009447/1.519, allocations: 3.059 MB / 1.583 GB, free: 10.57 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/1.519, allocations: 8.031 kB / 1.583 GB, free: 10.56 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01417/1.533, allocations: 2.246 MB / 1.585 GB, free: 8.305 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005539/1.539, allocations: 2.248 MB / 1.587 GB, free: 6.008 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002462/1.539, allocations: 283.4 kB / 1.588 GB, free: 5.73 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001407/1.541, allocations: 363.9 kB / 1.588 GB, free: 5.375 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01222/1.553, allocations: 6.221 MB / 1.594 GB, free: 15.04 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.76e-05/1.553, allocations: 7.938 kB / 1.594 GB, free: 15.03 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004643/1.554, allocations: 159.9 kB / 1.594 GB, free: 14.87 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005311/1.554, allocations: 302.4 kB / 1.594 GB, free: 14.57 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01017/1.564, allocations: 5.552 MB / 1.6 GB, free: 9.012 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.0399/1.604, allocations: 28.5 MB / 1.628 GB, free: 10.05 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005652/1.61, allocations: 3.747 MB / 1.631 GB, free: 6.09 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002945/1.613, allocations: 1.863 MB / 1.633 GB, free: 4.207 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002779/1.613, allocations: 131 kB / 1.633 GB, free: 4.059 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.248e-05/1.613, allocations: 64.5 kB / 1.633 GB, free: 3.988 MB / 1.042 GB Notification: Performance of pre-optimization done (n=198): time 3.717e-06/1.613, allocations: 0 / 1.633 GB, free: 3.988 MB / 1.042 GB Notification: Performance of matching and sorting (n=255): time 0.08544/1.699, allocations: 25.04 MB / 1.658 GB, free: 10.93 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001253/1.699, allocations: 235.6 kB / 1.658 GB, free: 10.64 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/1.701, allocations: 1.316 MB / 1.659 GB, free: 9.32 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.0005877/1.702, allocations: 69.64 kB / 1.659 GB, free: 9.246 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001043/1.703, allocations: 1.571 MB / 1.661 GB, free: 7.652 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001161/1.704, allocations: 0.8626 MB / 1.662 GB, free: 6.777 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002246/1.704, allocations: 64 kB / 1.662 GB, free: 6.715 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.0002327/1.704, allocations: 432.4 kB / 1.662 GB, free: 6.285 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002984/1.707, allocations: 2.036 MB / 1.664 GB, free: 4.246 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003711/1.711, allocations: 2.928 MB / 1.667 GB, free: 0.9219 MB / 1.073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003708/1.715, allocations: 2.489 MB / 1.67 GB, free: 14.41 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-05/1.715, allocations: 8 kB / 1.67 GB, free: 14.4 MB / 1.089 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.01489/1.73, allocations: 7.705 MB / 1.677 GB, free: 6.633 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.003847/1.734, allocations: 10.8 MB / 1.688 GB, free: 10.97 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-05/1.734, allocations: 28 kB / 1.688 GB, free: 10.95 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01948/1.753, allocations: 5.446 MB / 1.693 GB, free: 5.48 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004308/1.757, allocations: 0.8774 MB / 1.694 GB, free: 4.602 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02154/1.779, allocations: 13.43 MB / 1.707 GB, free: 7 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005424/1.784, allocations: 0.5379 MB / 1.707 GB, free: 6.461 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001082/1.786, allocations: 168.4 kB / 1.708 GB, free: 6.297 MB / 1.12 GB Notification: Performance of prepare postOptimizeDAE: time 2.923e-05/1.786, allocations: 5.719 kB / 1.708 GB, free: 6.293 MB / 1.12 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01599/1.802, allocations: 7.012 MB / 1.714 GB, free: 15.23 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001265/1.802, allocations: 28 kB / 1.715 GB, free: 15.2 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009611/1.811, allocations: 2.722 MB / 1.717 GB, free: 12.47 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005716/1.817, allocations: 1.045 MB / 1.718 GB, free: 11.43 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0191/1.836, allocations: 10.99 MB / 1.729 GB, free: 308 kB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005079/1.841, allocations: 0.5185 MB / 1.729 GB, free: 15.78 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007871/1.842, allocations: 167.9 kB / 1.73 GB, free: 15.62 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.0008628/1.843, allocations: 288 kB / 1.73 GB, free: 15.33 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006973/1.844, allocations: 197.7 kB / 1.73 GB, free: 15.13 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01596/1.86, allocations: 7.476 MB / 1.737 GB, free: 7.609 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.41e-05/1.86, allocations: 24 kB / 1.737 GB, free: 7.586 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-05/1.86, allocations: 12 kB / 1.737 GB, free: 7.574 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.338e-05/1.86, allocations: 15.95 kB / 1.737 GB, free: 7.559 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6484/2.508, allocations: 12.54 MB / 1.75 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.212e-05/2.508, allocations: 5.781 kB / 1.75 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003312/2.512, allocations: 0.6214 MB / 1.75 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02035/2.532, allocations: 5.254 MB / 1.755 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000579/2.533, allocations: 79.12 kB / 1.755 GB, free: 320.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0229/2.556, allocations: 13.02 MB / 1.768 GB, free: 318.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-05/2.556, allocations: 15.55 kB / 1.768 GB, free: 318.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01621/2.572, allocations: 7.417 MB / 1.775 GB, free: 316.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002135/2.574, allocations: 0.7236 MB / 1.776 GB, free: 316.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007668/2.575, allocations: 50.12 kB / 1.776 GB, free: 316.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004083/2.579, allocations: 0.4926 MB / 1.777 GB, free: 316.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007621/2.58, allocations: 193.2 kB / 1.777 GB, free: 316.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003687/2.58, allocations: 106.1 kB / 1.777 GB, free: 316.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001993/2.582, allocations: 1.024 MB / 1.778 GB, free: 316.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 2e-07/2.582, allocations: 0 / 1.778 GB, free: 316.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006327/2.589, allocations: 1.671 MB / 1.78 GB, free: 316.7 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.0004619/2.589, allocations: 195.2 kB / 1.78 GB, free: 316.6 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01788/2.607, allocations: 9.169 MB / 1.789 GB, free: 316.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.821e-05/2.607, allocations: 0 / 1.789 GB, free: 316.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.007143/2.614, allocations: 3.155 MB / 1.792 GB, free: 316 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/2.616, allocations: 219.2 kB / 1.792 GB, free: 316 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02734/2.644, allocations: 9.043 MB / 1.801 GB, free: 314.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003343/2.647, allocations: 2.882 MB / 1.804 GB, free: 314 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005281/2.652, allocations: 1.794 MB / 1.805 GB, free: 314 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005961/2.653, allocations: 160.4 kB / 1.806 GB, free: 314 MB / 1.151 GB Notification: Performance of SimCode: time 8.31e-07/2.653, allocations: 0 / 1.806 GB, free: 314 MB / 1.151 GB Notification: Performance of Templates: time 0.0792/2.732, allocations: 58.39 MB / 1.863 GB, free: 311.8 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