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.UnbalancedStepDown.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.UnbalancedStepDown.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.UnbalancedStepDown.YY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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.UnbalancedStepDown.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.391/1.391, allocations: 249.3 MB / 261.8 MB, free: 5.934 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.00103/0.00103, allocations: 178.7 kB / 321.3 MB, free: 14.65 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.309/1.309, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0008348/0.0008348, allocations: 90.47 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 2.612e-05/2.614e-05, allocations: 8 kB / 0.788 GB, free: 97.06 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1747, allocations: 106.3 MB / 0.8918 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7042/0.879, allocations: 193.7 MB / 1.081 GB, free: 7.539 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000289/0.8793, allocations: 113.5 kB / 1.081 GB, free: 7.469 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4516/1.331, allocations: 153.8 MB / 1.231 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.833e-06/1.331, allocations: 0 / 1.231 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002062/1.331, allocations: 87.92 kB / 1.231 GB, free: 2.121 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: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.01299/1.344, allocations: 3.146 MB / 1.234 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.344, allocations: 12.03 kB / 1.234 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02388/1.368, allocations: 2.371 MB / 1.237 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008756/1.377, allocations: 2.326 MB / 1.239 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00049/1.377, allocations: 303.9 kB / 1.239 GB, free: 9.859 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002485/1.38, allocations: 380 kB / 1.24 GB, free: 9.488 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02303/1.403, allocations: 6.541 MB / 1.246 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000144/1.403, allocations: 7.938 kB / 1.246 GB, free: 2.82 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001232/1.404, allocations: 167.9 kB / 1.246 GB, free: 2.656 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007363/1.405, allocations: 322.8 kB / 1.247 GB, free: 2.34 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01777/1.423, allocations: 5.706 MB / 1.252 GB, free: 12.62 MB / 0.8698 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.5573/1.98, allocations: 29.01 MB / 1.28 GB, free: 216.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005534/1.986, allocations: 3.207 MB / 1.284 GB, free: 215.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002498/1.988, allocations: 1.599 MB / 1.285 GB, free: 215.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002313/1.989, allocations: 129.2 kB / 1.285 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.338e-05/1.989, allocations: 60.11 kB / 1.285 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=176): time 3.907e-06/1.989, allocations: 0 / 1.285 GB, free: 215.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=221): time 0.06636/2.055, allocations: 20.25 MB / 1.305 GB, free: 212.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.72e-05/2.055, allocations: 236.5 kB / 1.305 GB, free: 212.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002749/2.058, allocations: 1.462 MB / 1.307 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005276/2.059, allocations: 63.33 kB / 1.307 GB, free: 212.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001204/2.06, allocations: 1.747 MB / 1.308 GB, free: 211.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001029/2.061, allocations: 0.7611 MB / 1.309 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/2.061, allocations: 60.59 kB / 1.309 GB, free: 210.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0002333/2.061, allocations: 440.3 kB / 1.31 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003181/2.065, allocations: 1.9 MB / 1.312 GB, free: 210.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003117/2.068, allocations: 3.018 MB / 1.315 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003196/2.071, allocations: 2.406 MB / 1.317 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.507e-05/2.071, allocations: 11.72 kB / 1.317 GB, free: 209.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01749/2.088, allocations: 8.332 MB / 1.325 GB, free: 208.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.003309/2.092, allocations: 14.11 MB / 1.339 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001095/2.092, allocations: 33.97 kB / 1.339 GB, free: 194.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01401/2.106, allocations: 4.406 MB / 1.343 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004262/2.11, allocations: 0.9278 MB / 1.344 GB, free: 194.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01612/2.126, allocations: 11.37 MB / 1.355 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004793/2.131, allocations: 0.5767 MB / 1.356 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005356/2.132, allocations: 155.7 kB / 1.356 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/2.132, allocations: 3.719 kB / 1.356 GB, free: 192.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01249/2.144, allocations: 6.731 MB / 1.362 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001559/2.145, allocations: 34.34 kB / 1.362 GB, free: 191.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008426/2.153, allocations: 2.605 MB / 1.365 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004943/2.158, allocations: 1.044 MB / 1.366 GB, free: 191.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.014/2.172, allocations: 9.314 MB / 1.375 GB, free: 187 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004925/2.177, allocations: 0.5361 MB / 1.376 GB, free: 186.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006797/2.178, allocations: 160.9 kB / 1.376 GB, free: 186.9 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.0009855/2.179, allocations: 307 kB / 1.376 GB, free: 186.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007387/2.179, allocations: 199.5 kB / 1.376 GB, free: 186.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01558/2.195, allocations: 7.245 MB / 1.383 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.592e-05/2.195, allocations: 24.25 kB / 1.383 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/2.195, allocations: 11.22 kB / 1.383 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.357e-05/2.195, allocations: 10.83 kB / 1.383 GB, free: 184.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02426/2.219, allocations: 12.53 MB / 1.396 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-05/2.22, allocations: 9.562 kB / 1.396 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003035/2.223, allocations: 0.6175 MB / 1.396 GB, free: 180.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01322/2.236, allocations: 4.222 MB / 1.4 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005635/2.236, allocations: 65.53 kB / 1.4 GB, free: 179.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02323/2.26, allocations: 16.4 MB / 1.416 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/2.26, allocations: 9.875 kB / 1.416 GB, free: 170.9 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01483/2.275, allocations: 7.801 MB / 1.424 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/2.277, allocations: 0.6541 MB / 1.425 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004223/2.277, allocations: 47.61 kB / 1.425 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003281/2.28, allocations: 496.8 kB / 1.425 GB, free: 163.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005697/2.281, allocations: 182.4 kB / 1.425 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001836/2.281, allocations: 75.02 kB / 1.425 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001434/2.283, allocations: 1.091 MB / 1.427 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.4e-07/2.283, allocations: 0 / 1.427 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006181/2.289, allocations: 1.739 MB / 1.428 GB, free: 160.8 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.0004111/2.289, allocations: 187.4 kB / 1.428 GB, free: 160.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01434/2.304, allocations: 8.553 MB / 1.437 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/2.304, allocations: 4 kB / 1.437 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.006107/2.31, allocations: 3.088 MB / 1.44 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/2.312, allocations: 225 kB / 1.44 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/2.324, allocations: 6.682 MB / 1.447 GB, free: 144 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002309/2.326, allocations: 2.97 MB / 1.449 GB, free: 141 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00492/2.331, allocations: 1.802 MB / 1.451 GB, free: 139.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005375/2.332, allocations: 159.3 kB / 1.451 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.142e-06/2.332, allocations: 4 kB / 1.451 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.06816/2.4, allocations: 55.83 MB / 1.506 GB, free: 84.16 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_YY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches