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.393/1.393, allocations: 249.5 MB / 257 MB, free: 7.074 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.0009399/0.0009399, allocations: 180.9 kB / 316.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0007946/0.0007948, allocations: 87.3 kB / 0.6714 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.288e-05/2.291e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1864, allocations: 106.3 MB / 0.8853 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6868/0.8733, allocations: 193 MB / 1.074 GB, free: 11.31 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/0.8737, allocations: 107.7 kB / 1.074 GB, free: 11.25 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3475/1.221, allocations: 145.6 MB / 1.216 GB, free: 2.176 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.613e-06/1.221, allocations: 0 / 1.216 GB, free: 2.176 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001507/1.221, allocations: 79.98 kB / 1.216 GB, free: 2.098 MB / 0.823 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.01138/1.233, allocations: 3.13 MB / 1.219 GB, free: 14.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.233, allocations: 8.562 kB / 1.219 GB, free: 14.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/1.246, allocations: 2.156 MB / 1.221 GB, free: 12.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005304/1.251, allocations: 2.315 MB / 1.223 GB, free: 10.38 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/1.252, allocations: 128 kB / 1.224 GB, free: 10.25 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001269/1.253, allocations: 220 kB / 1.224 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01244/1.265, allocations: 5.084 MB / 1.229 GB, free: 4.945 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01664/1.282, allocations: 5.88 MB / 1.235 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001689/1.282, allocations: 4 kB / 1.235 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001683/1.284, allocations: 7.984 kB / 1.235 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007048/1.285, allocations: 306.6 kB / 1.235 GB, free: 14.64 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.5507/1.835, allocations: 27.81 MB / 1.262 GB, free: 212 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00499/1.84, allocations: 3.146 MB / 1.265 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002324/1.843, allocations: 1.552 MB / 1.267 GB, free: 211.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/1.843, allocations: 131.3 kB / 1.267 GB, free: 211.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.278e-05/1.843, allocations: 60.95 kB / 1.267 GB, free: 211 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=176): time 3.908e-06/1.843, allocations: 0 / 1.267 GB, free: 211 MB / 0.8542 GB Notification: Performance of matching and sorting (n=221): time 0.03124/1.874, allocations: 13.17 MB / 1.28 GB, free: 208.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.889e-05/1.874, allocations: 233 kB / 1.28 GB, free: 208.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/1.877, allocations: 1.328 MB / 1.281 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005906/1.877, allocations: 29.83 kB / 1.281 GB, free: 207.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001139/1.878, allocations: 1.732 MB / 1.283 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009266/1.879, allocations: 0.7279 MB / 1.284 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002042/1.88, allocations: 1.125 kB / 1.284 GB, free: 206.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.88, allocations: 437.8 kB / 1.284 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/1.882, allocations: 1.859 MB / 1.286 GB, free: 206.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003475/1.886, allocations: 2.961 MB / 1.289 GB, free: 205 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004984/1.891, allocations: 2.715 MB / 1.291 GB, free: 205 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.999e-05/1.891, allocations: 9.625 kB / 1.291 GB, free: 205 MB / 0.8542 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01548/1.906, allocations: 7.324 MB / 1.298 GB, free: 204.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003525/1.91, allocations: 14.1 MB / 1.312 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.61e-05/1.91, allocations: 37.28 kB / 1.312 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01145/1.922, allocations: 3.422 MB / 1.316 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004594/1.926, allocations: 0.9287 MB / 1.317 GB, free: 190.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01742/1.944, allocations: 11.38 MB / 1.328 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004813/1.949, allocations: 0.495 MB / 1.328 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005253/1.949, allocations: 201.9 kB / 1.328 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/1.949, allocations: 3.438 kB / 1.328 GB, free: 188.2 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007375/1.956, allocations: 4.771 MB / 1.333 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.147e-05/1.957, allocations: 33.81 kB / 1.333 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.762e-05/1.957, allocations: 64.92 kB / 1.333 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005099/1.962, allocations: 1.21 MB / 1.334 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-05/1.962, allocations: 73.25 kB / 1.334 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003637/1.965, allocations: 438.3 kB / 1.335 GB, free: 187.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003336/1.966, allocations: 202.3 kB / 1.335 GB, free: 187.6 MB / 0.8542 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.0008695/1.967, allocations: 196 kB / 1.335 GB, free: 187.5 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006283/1.967, allocations: 182.3 kB / 1.335 GB, free: 187.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/1.98, allocations: 6.466 MB / 1.342 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-05/1.98, allocations: 26.77 kB / 1.342 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.926e-05/1.98, allocations: 11.53 kB / 1.342 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.293e-05/1.98, allocations: 11.48 kB / 1.342 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01992/2, allocations: 11.18 MB / 1.353 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.915e-05/2, allocations: 10.25 kB / 1.353 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002982/2.003, allocations: 0.6141 MB / 1.353 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01183/2.015, allocations: 3.876 MB / 1.357 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005326/2.016, allocations: 53.41 kB / 1.357 GB, free: 181.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01629/2.032, allocations: 11.13 MB / 1.368 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.414e-05/2.032, allocations: 17.22 kB / 1.368 GB, free: 176.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/2.045, allocations: 7.015 MB / 1.375 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001735/2.046, allocations: 0.6775 MB / 1.375 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004124/2.047, allocations: 13.12 kB / 1.375 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003333/2.05, allocations: 0.4956 MB / 1.376 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003656/2.051, allocations: 181.7 kB / 1.376 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002064/2.051, allocations: 119.8 kB / 1.376 GB, free: 172.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001239/2.052, allocations: 0.9654 MB / 1.377 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.01e-07/2.052, allocations: 0 / 1.377 GB, free: 172.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005302/2.057, allocations: 1.417 MB / 1.379 GB, free: 172.5 MB / 0.8542 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.0004073/2.058, allocations: 158.5 kB / 1.379 GB, free: 172.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01137/2.069, allocations: 7.534 MB / 1.386 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/2.069, allocations: 0 / 1.386 GB, free: 170.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00533/2.075, allocations: 2.805 MB / 1.389 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/2.076, allocations: 164.4 kB / 1.389 GB, free: 168 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01953/2.096, allocations: 7.569 MB / 1.396 GB, free: 161.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002871/2.099, allocations: 2.935 MB / 1.399 GB, free: 159.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005505/2.104, allocations: 1.826 MB / 1.401 GB, free: 158.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005278/2.105, allocations: 158.2 kB / 1.401 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of SimCode: time 7.61e-07/2.105, allocations: 0 / 1.401 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.0636/2.168, allocations: 47.18 MB / 1.447 GB, free: 117.6 MB / 0.8542 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