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.BalancedStepDown.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.BalancedStepDown.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.BalancedStepDown.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.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.BalancedStepDown.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.344/1.344, 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.001285/0.001285, allocations: 179.2 kB / 326.5 MB, free: 2.242 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.019/2.019, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009395/0.000939, allocations: 95.56 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003865, allocations: 9.344 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3105/0.3109, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.329, allocations: 193.1 MB / 1.089 GB, free: 52.71 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003996/1.329, allocations: 116 kB / 1.089 GB, free: 52.71 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3352/1.664, allocations: 140.9 MB / 1.226 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.877e-06/1.665, allocations: 0 / 1.226 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001981/1.665, allocations: 72 kB / 1.226 GB, free: 10.99 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.01144/1.676, allocations: 3.184 MB / 1.23 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.269e-05/1.676, allocations: 8.031 kB / 1.23 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01352/1.69, allocations: 2.137 MB / 1.232 GB, free: 5.605 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007471/1.697, allocations: 2.245 MB / 1.234 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002737/1.698, allocations: 275 kB / 1.234 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001638/1.699, allocations: 367.4 kB / 1.234 GB, free: 2.727 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01612/1.715, allocations: 6.681 MB / 1.241 GB, free: 11.95 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.237e-05/1.716, allocations: 7.938 kB / 1.241 GB, free: 11.94 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004697/1.716, allocations: 151.5 kB / 1.241 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005512/1.717, allocations: 314.2 kB / 1.241 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01512/1.732, allocations: 6.518 MB / 1.248 GB, free: 4.969 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.04134/1.773, allocations: 28.23 MB / 1.275 GB, free: 6.469 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009054/1.782, allocations: 4.244 MB / 1.279 GB, free: 2.016 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004205/1.783, allocations: 138.5 kB / 1.28 GB, free: 1.875 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.965e-05/1.783, allocations: 56.56 kB / 1.28 GB, free: 1.812 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=198): time 8.567e-06/1.783, allocations: 0 / 1.28 GB, free: 1.812 MB / 0.7761 GB Notification: Performance of matching and sorting (n=255): time 0.1006/1.884, allocations: 28.4 MB / 1.307 GB, free: 5.41 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/1.884, allocations: 243.6 kB / 1.308 GB, free: 5.125 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00245/1.886, allocations: 1.3 MB / 1.309 GB, free: 3.816 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0006943/1.887, allocations: 69.64 kB / 1.309 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001164/1.888, allocations: 1.547 MB / 1.31 GB, free: 2.184 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.001078/1.889, allocations: 0.8654 MB / 1.311 GB, free: 1.324 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000226/1.889, allocations: 60 kB / 1.311 GB, free: 1.266 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002439/1.89, allocations: 440.4 kB / 1.312 GB, free: 0.8281 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00552/1.895, allocations: 2.531 MB / 1.314 GB, free: 14.29 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006268/1.901, allocations: 3.431 MB / 1.318 GB, free: 10.47 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005944/1.907, allocations: 2.965 MB / 1.321 GB, free: 7.48 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/1.907, allocations: 8 kB / 1.321 GB, free: 7.473 MB / 0.823 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.0208/1.928, allocations: 8.836 MB / 1.329 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.005091/1.933, allocations: 10.8 MB / 1.34 GB, free: 2.918 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-05/1.934, allocations: 28 kB / 1.34 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02669/1.96, allocations: 6.652 MB / 1.346 GB, free: 12.22 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004478/1.965, allocations: 0.8852 MB / 1.347 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02279/1.988, allocations: 14.04 MB / 1.361 GB, free: 13.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005251/1.993, allocations: 0.5223 MB / 1.361 GB, free: 12.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000721/1.994, allocations: 187.9 kB / 1.362 GB, free: 12.42 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/1.994, allocations: 7.828 kB / 1.362 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02113/2.015, allocations: 8.124 MB / 1.369 GB, free: 4.242 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001523/2.015, allocations: 28.12 kB / 1.369 GB, free: 4.215 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01219/2.027, allocations: 3.201 MB / 1.373 GB, free: 1.004 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005648/2.033, allocations: 1.053 MB / 1.374 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01861/2.052, allocations: 11.54 MB / 1.385 GB, free: 4.273 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005005/2.057, allocations: 0.5029 MB / 1.385 GB, free: 3.77 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007849/2.058, allocations: 187.9 kB / 1.386 GB, free: 3.586 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.004324/2.062, allocations: 1.616 MB / 1.387 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009112/2.063, allocations: 189.8 kB / 1.387 GB, free: 1.77 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.7034/2.766, allocations: 8.562 MB / 1.396 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.482e-05/2.766, allocations: 26.06 kB / 1.396 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.956e-05/2.766, allocations: 13.19 kB / 1.396 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-05/2.766, allocations: 14.25 kB / 1.396 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04192/2.808, allocations: 13.67 MB / 1.409 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.712e-05/2.809, allocations: 8.969 kB / 1.409 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003946/2.813, allocations: 0.6178 MB / 1.41 GB, free: 240.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02757/2.84, allocations: 6.48 MB / 1.416 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009214/2.841, allocations: 88.66 kB / 1.416 GB, free: 240.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02258/2.864, allocations: 13.61 MB / 1.429 GB, free: 239 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-05/2.864, allocations: 15.91 kB / 1.429 GB, free: 239 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01945/2.883, allocations: 8.51 MB / 1.438 GB, free: 237.7 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002441/2.886, allocations: 0.7321 MB / 1.438 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008577/2.887, allocations: 47.47 kB / 1.438 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003601/2.89, allocations: 488.9 kB / 1.439 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007979/2.891, allocations: 197.2 kB / 1.439 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004021/2.892, allocations: 130.6 kB / 1.439 GB, free: 237.6 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.00238/2.894, allocations: 1.014 MB / 1.44 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.5e-07/2.894, allocations: 3.094 kB / 1.44 GB, free: 237.5 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.006763/2.901, allocations: 1.644 MB / 1.442 GB, free: 237.5 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.0005362/2.901, allocations: 201.2 kB / 1.442 GB, free: 237.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.02307/2.924, allocations: 10.69 MB / 1.452 GB, free: 237 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.72e-05/2.924, allocations: 0 / 1.452 GB, free: 237 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.008329/2.933, allocations: 3.669 MB / 1.456 GB, free: 236.9 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/2.935, allocations: 194.3 kB / 1.456 GB, free: 236.8 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03129/2.966, allocations: 12.02 MB / 1.468 GB, free: 233.5 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003302/2.969, allocations: 2.867 MB / 1.471 GB, free: 232.8 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.005054/2.974, allocations: 1.656 MB / 1.472 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006024/2.975, allocations: 164.4 kB / 1.473 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of SimCode: time 1.452e-06/2.975, allocations: 0 / 1.473 GB, free: 232.7 MB / 0.8855 GB Notification: Performance of Templates: time 0.09387/3.069, allocations: 57.07 MB / 1.528 GB, free: 203.3 MB / 0.8855 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_DY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches