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.YY.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.YY,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.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY,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.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.387/1.387, allocations: 249.3 MB / 261.8 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009679/0.0009679, allocations: 184.8 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.358/1.358, allocations: 205.2 MB / 0.572 GB, free: 10.59 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.0008471/0.000847, allocations: 101.2 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.96e-05/2.962e-05, allocations: 4 kB / 0.788 GB, free: 97.05 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1836/0.1837, allocations: 106.3 MB / 0.8918 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6983/0.882, allocations: 192.7 MB / 1.08 GB, free: 8.555 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.8824, allocations: 116.9 kB / 1.08 GB, free: 8.484 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3508/1.233, allocations: 146.2 MB / 1.223 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.673e-06/1.233, allocations: 0 / 1.223 GB, free: 10.84 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001666/1.233, allocations: 79.98 kB / 1.223 GB, free: 10.76 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1083 * Number of variables: 1083 Notification: Performance of Generate backend data structure: time 0.009227/1.243, allocations: 3.13 MB / 1.226 GB, free: 7.574 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/1.243, allocations: 8.031 kB / 1.226 GB, free: 7.566 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01387/1.257, allocations: 2.16 MB / 1.228 GB, free: 5.398 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006265/1.263, allocations: 2.315 MB / 1.23 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002544/1.263, allocations: 299.8 kB / 1.231 GB, free: 2.746 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/1.264, allocations: 376 kB / 1.231 GB, free: 2.379 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01423/1.279, allocations: 6.438 MB / 1.237 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.633e-05/1.279, allocations: 7.938 kB / 1.237 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004788/1.279, allocations: 171.9 kB / 1.238 GB, free: 11.65 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000538/1.28, allocations: 310.6 kB / 1.238 GB, free: 11.34 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/1.291, allocations: 5.627 MB / 1.243 GB, free: 5.711 MB / 0.8542 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.5422/1.833, allocations: 28.59 MB / 1.271 GB, free: 222.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006023/1.839, allocations: 3.226 MB / 1.274 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003095/1.842, allocations: 1.606 MB / 1.276 GB, free: 221.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002507/1.842, allocations: 128.4 kB / 1.276 GB, free: 221.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.224e-05/1.842, allocations: 64.45 kB / 1.276 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=176): time 4.248e-06/1.842, allocations: 0 / 1.276 GB, free: 221.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=221): time 0.08036/1.923, allocations: 20.41 MB / 1.296 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/1.923, allocations: 231.3 kB / 1.296 GB, free: 218.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003732/1.927, allocations: 1.43 MB / 1.298 GB, free: 218.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005623/1.927, allocations: 59.23 kB / 1.298 GB, free: 218.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001354/1.929, allocations: 1.726 MB / 1.299 GB, free: 217.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001151/1.93, allocations: 0.763 MB / 1.3 GB, free: 217 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005484/1.93, allocations: 61.94 kB / 1.3 GB, free: 217 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003196/1.931, allocations: 440 kB / 1.301 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004052/1.935, allocations: 1.922 MB / 1.303 GB, free: 216.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00434/1.939, allocations: 3.034 MB / 1.305 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003656/1.943, allocations: 2.421 MB / 1.308 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.516e-05/1.943, allocations: 11.22 kB / 1.308 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01529/1.958, allocations: 7.46 MB / 1.315 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003542/1.962, allocations: 14.1 MB / 1.329 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/1.962, allocations: 35.91 kB / 1.329 GB, free: 200.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02233/1.984, allocations: 5.909 MB / 1.335 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004493/1.989, allocations: 0.9259 MB / 1.336 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01663/2.005, allocations: 11.45 MB / 1.347 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004546/2.01, allocations: 0.5536 MB / 1.347 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005016/2.011, allocations: 203.2 kB / 1.348 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/2.011, allocations: 6.625 kB / 1.348 GB, free: 198.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01233/2.023, allocations: 6.808 MB / 1.354 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001472/2.023, allocations: 40.19 kB / 1.354 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0082/2.031, allocations: 2.615 MB / 1.357 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004749/2.036, allocations: 1.068 MB / 1.358 GB, free: 198.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01348/2.05, allocations: 9.318 MB / 1.367 GB, free: 194.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004399/2.054, allocations: 0.5103 MB / 1.367 GB, free: 194.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005222/2.055, allocations: 203.2 kB / 1.368 GB, free: 194.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 162 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (330): * Single equations (assignments): 328 * 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%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0008251/2.055, allocations: 297.1 kB / 1.368 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005927/2.056, allocations: 196.2 kB / 1.368 GB, free: 194 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/2.068, allocations: 6.364 MB / 1.374 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.553e-05/2.068, allocations: 24.7 kB / 1.374 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/2.068, allocations: 11.25 kB / 1.374 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.824e-05/2.069, allocations: 18.88 kB / 1.374 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02106/2.09, allocations: 11.73 MB / 1.386 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-05/2.09, allocations: 14.44 kB / 1.386 GB, free: 187.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002924/2.093, allocations: 0.6096 MB / 1.386 GB, free: 187.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02172/2.114, allocations: 5.724 MB / 1.392 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006722/2.115, allocations: 77.92 kB / 1.392 GB, free: 187.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01583/2.131, allocations: 11.11 MB / 1.403 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.448e-06/2.131, allocations: 11.06 kB / 1.403 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/2.143, allocations: 6.911 MB / 1.41 GB, free: 177.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002236/2.145, allocations: 0.6864 MB / 1.41 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004233/2.146, allocations: 45.55 kB / 1.41 GB, free: 176.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003128/2.149, allocations: 478.7 kB / 1.411 GB, free: 176.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000509/2.149, allocations: 175.2 kB / 1.411 GB, free: 176.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002433/2.15, allocations: 124.2 kB / 1.411 GB, free: 176.3 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001479/2.151, allocations: 1.07 MB / 1.412 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.91e-07/2.151, allocations: 0 / 1.412 GB, free: 175.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006083/2.157, allocations: 1.646 MB / 1.414 GB, free: 173.7 MB / 0.8698 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 (154): * Single equations (assignments): 152 * 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%) 30} * Non-linear torn systems: 1 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004042/2.158, allocations: 198 kB / 1.414 GB, free: 173.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01486/2.173, allocations: 8.704 MB / 1.422 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/2.173, allocations: 384 / 1.422 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005451/2.178, allocations: 2.877 MB / 1.425 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001651/2.18, allocations: 198.3 kB / 1.425 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01924/2.199, allocations: 7.702 MB / 1.433 GB, free: 157.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0025/2.202, allocations: 2.945 MB / 1.436 GB, free: 154.8 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005109/2.207, allocations: 1.804 MB / 1.438 GB, free: 153.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005456/2.207, allocations: 156.5 kB / 1.438 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of SimCode: time 8.52e-07/2.207, allocations: 0 / 1.438 GB, free: 153.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.07386/2.281, allocations: 53.72 MB / 1.49 GB, free: 101.2 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_YY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches