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.395/1.395, allocations: 249.5 MB / 257 MB, free: 6.895 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.001131/0.001131, allocations: 184.7 kB / 316.3 MB, free: 3.281 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.525/1.525, allocations: 205.3 MB / 0.5671 GB, free: 15.84 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.000808/0.0008082, allocations: 86.22 kB / 0.6714 GB, free: 4.965 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.601e-05/1.604e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.184, allocations: 106.3 MB / 0.8853 GB, free: 12.24 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6898/0.8738, allocations: 194 MB / 1.075 GB, free: 10.28 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/0.8742, allocations: 115 kB / 1.075 GB, free: 10.21 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3701/1.244, allocations: 153.1 MB / 1.224 GB, free: 9.559 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.924e-06/1.244, allocations: 0 / 1.224 GB, free: 9.559 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002186/1.245, allocations: 83.92 kB / 1.224 GB, free: 9.477 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.01352/1.258, allocations: 3.15 MB / 1.227 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.601e-05/1.258, allocations: 8.562 kB / 1.227 GB, free: 6.262 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0151/1.273, allocations: 2.371 MB / 1.23 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00645/1.28, allocations: 2.33 MB / 1.232 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002749/1.28, allocations: 132 kB / 1.232 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002444/1.283, allocations: 224 kB / 1.232 GB, free: 1.156 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01306/1.296, allocations: 5.166 MB / 1.237 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01768/1.313, allocations: 5.987 MB / 1.243 GB, free: 5.883 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001704/1.314, allocations: 7.938 kB / 1.243 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001483/1.315, allocations: 0 / 1.243 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005871/1.316, allocations: 318.8 kB / 1.244 GB, free: 5.562 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.5249/1.841, allocations: 28.2 MB / 1.271 GB, free: 206.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004915/1.846, allocations: 3.132 MB / 1.274 GB, free: 205.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00213/1.848, allocations: 1.543 MB / 1.276 GB, free: 205.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/1.848, allocations: 127 kB / 1.276 GB, free: 205.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/1.848, allocations: 57.67 kB / 1.276 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=176): time 3.777e-06/1.848, allocations: 0 / 1.276 GB, free: 205.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=221): time 0.03006/1.878, allocations: 12.91 MB / 1.288 GB, free: 202.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/1.878, allocations: 233.5 kB / 1.289 GB, free: 202.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002254/1.88, allocations: 1.337 MB / 1.29 GB, free: 202 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0004318/1.881, allocations: 26.77 kB / 1.29 GB, free: 201.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009114/1.882, allocations: 1.746 MB / 1.292 GB, free: 201.2 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007019/1.883, allocations: 0.7327 MB / 1.292 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002014/1.883, allocations: 0 / 1.292 GB, free: 200.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.883, allocations: 442.2 kB / 1.293 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002448/1.885, allocations: 1.838 MB / 1.295 GB, free: 200.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002943/1.888, allocations: 2.941 MB / 1.297 GB, free: 199.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004148/1.892, allocations: 2.595 MB / 1.3 GB, free: 199.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.533e-05/1.893, allocations: 10.72 kB / 1.3 GB, free: 199.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01626/1.909, allocations: 7.951 MB / 1.308 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002717/1.912, allocations: 14.1 MB / 1.322 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.712e-05/1.912, allocations: 41.66 kB / 1.322 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01254/1.924, allocations: 3.696 MB / 1.325 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004035/1.928, allocations: 0.9292 MB / 1.326 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01764/1.946, allocations: 11.17 MB / 1.337 GB, free: 181.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004818/1.951, allocations: 0.5105 MB / 1.338 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008434/1.952, allocations: 169.6 kB / 1.338 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/1.952, allocations: 3.812 kB / 1.338 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008775/1.961, allocations: 4.591 MB / 1.342 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001675/1.961, allocations: 37.47 kB / 1.342 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.01e-05/1.961, allocations: 60.64 kB / 1.342 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005356/1.966, allocations: 1.173 MB / 1.343 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.592e-05/1.966, allocations: 80.42 kB / 1.343 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003906/1.97, allocations: 450.9 kB / 1.344 GB, free: 180.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006468/1.971, allocations: 166.1 kB / 1.344 GB, free: 180.4 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.001187/1.972, allocations: 198.2 kB / 1.344 GB, free: 180.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008971/1.973, allocations: 191.3 kB / 1.344 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01684/1.99, allocations: 7.218 MB / 1.351 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-05/1.99, allocations: 29.92 kB / 1.352 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-05/1.99, allocations: 11.72 kB / 1.352 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.596e-05/1.99, allocations: 13.92 kB / 1.352 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02579/2.016, allocations: 11.88 MB / 1.363 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.205e-05/2.016, allocations: 7.094 kB / 1.363 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003103/2.019, allocations: 0.605 MB / 1.364 GB, free: 174.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01364/2.033, allocations: 4.165 MB / 1.368 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005703/2.033, allocations: 35.25 kB / 1.368 GB, free: 173.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02416/2.057, allocations: 16.05 MB / 1.384 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.375e-05/2.058, allocations: 13.06 kB / 1.384 GB, free: 166.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01579/2.073, allocations: 7.796 MB / 1.391 GB, free: 163.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/2.075, allocations: 0.6398 MB / 1.392 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009036/2.076, allocations: 15.45 kB / 1.392 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004138/2.08, allocations: 0.5091 MB / 1.392 GB, free: 163.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007749/2.081, allocations: 188.1 kB / 1.392 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003623/2.081, allocations: 82.47 kB / 1.393 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001907/2.083, allocations: 0.9693 MB / 1.393 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.11e-07/2.083, allocations: 0 / 1.393 GB, free: 162.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.007491/2.091, allocations: 1.503 MB / 1.395 GB, free: 162.8 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.0005833/2.092, allocations: 146.9 kB / 1.395 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01203/2.104, allocations: 7.387 MB / 1.402 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.132e-05/2.104, allocations: 2.688 kB / 1.402 GB, free: 156.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005506/2.109, allocations: 2.982 MB / 1.405 GB, free: 153.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/2.111, allocations: 161.9 kB / 1.405 GB, free: 153.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/2.125, allocations: 6.563 MB / 1.412 GB, free: 148 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00347/2.129, allocations: 2.95 MB / 1.415 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005817/2.135, allocations: 1.829 MB / 1.416 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006639/2.135, allocations: 156.6 kB / 1.417 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of SimCode: time 7.31e-07/2.135, allocations: 0 / 1.417 GB, free: 144.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.06423/2.2, allocations: 48.44 MB / 1.464 GB, free: 99.49 MB / 0.8542 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