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.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.UnbalancedStepDown.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.UnbalancedStepDown.DY") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.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.UnbalancedStepDown.DY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 249.5 MB / 257 MB, free: 6.875 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.001041/0.001041, allocations: 176.9 kB / 316.3 MB, free: 3.309 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.441/1.441, allocations: 205.3 MB / 0.5672 GB, free: 15.85 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.0008181/0.000818, allocations: 82.53 kB / 0.6714 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.409e-05/2.412e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2025, allocations: 106.3 MB / 0.8853 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.682/0.8846, allocations: 194 MB / 1.075 GB, free: 10.25 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/0.8849, allocations: 113.2 kB / 1.075 GB, free: 10.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.3582/1.243, allocations: 147.1 MB / 1.219 GB, free: 15.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.444e-06/1.243, allocations: 3.938 kB / 1.219 GB, free: 15.56 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0001613/1.243, allocations: 83.94 kB / 1.219 GB, free: 15.48 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: 1034 * Number of variables: 1034 Notification: Performance of Generate backend data structure: time 0.01004/1.253, allocations: 3.039 MB / 1.222 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/1.254, allocations: 8.562 kB / 1.222 GB, free: 12.38 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/1.267, allocations: 2.25 MB / 1.224 GB, free: 10.12 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005462/1.273, allocations: 2.252 MB / 1.226 GB, free: 7.824 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001598/1.273, allocations: 123.9 kB / 1.226 GB, free: 7.703 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001203/1.274, allocations: 215.9 kB / 1.226 GB, free: 7.492 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0102/1.284, allocations: 5.025 MB / 1.231 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/1.297, allocations: 5.684 MB / 1.237 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.963e-05/1.298, allocations: 4 kB / 1.237 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004033/1.298, allocations: 3.953 kB / 1.237 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005261/1.299, allocations: 318.3 kB / 1.237 GB, free: 12.34 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.499/1.798, allocations: 27.72 MB / 1.264 GB, free: 212.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005261/1.803, allocations: 3.661 MB / 1.268 GB, free: 211.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002654/1.806, allocations: 1.797 MB / 1.269 GB, free: 211.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002749/1.806, allocations: 140.7 kB / 1.27 GB, free: 211.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/1.806, allocations: 63.09 kB / 1.27 GB, free: 211.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=198): time 4.177e-06/1.806, allocations: 3.828 kB / 1.27 GB, free: 211.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=255): time 0.03021/1.836, allocations: 13.6 MB / 1.283 GB, free: 208.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.679e-05/1.836, allocations: 240.3 kB / 1.283 GB, free: 208.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/1.838, allocations: 1.181 MB / 1.284 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005431/1.839, allocations: 29.77 kB / 1.284 GB, free: 208.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008895/1.84, allocations: 1.567 MB / 1.286 GB, free: 207.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001066/1.841, allocations: 0.8274 MB / 1.287 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002555/1.841, allocations: 0 / 1.287 GB, free: 207.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001869/1.841, allocations: 439.2 kB / 1.287 GB, free: 207 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003129/1.844, allocations: 1.972 MB / 1.289 GB, free: 207 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003442/1.848, allocations: 2.865 MB / 1.292 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004719/1.852, allocations: 2.764 MB / 1.295 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.73e-05/1.852, allocations: 8.312 kB / 1.295 GB, free: 205.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=396) (initialization): time 0.0148/1.867, allocations: 7.585 MB / 1.302 GB, free: 205.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.002028/1.869, allocations: 10.79 MB / 1.312 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.186e-05/1.869, allocations: 27.28 kB / 1.312 GB, free: 194.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01221/1.882, allocations: 3.85 MB / 1.316 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004027/1.886, allocations: 0.877 MB / 1.317 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01851/1.904, allocations: 13.24 MB / 1.33 GB, free: 190.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004379/1.909, allocations: 499.4 kB / 1.331 GB, free: 190.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004892/1.909, allocations: 166.4 kB / 1.331 GB, free: 190.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/1.909, allocations: 3.688 kB / 1.331 GB, free: 190.3 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007417/1.917, allocations: 4.864 MB / 1.335 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.985e-05/1.917, allocations: 26.59 kB / 1.335 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.903e-05/1.917, allocations: 47.22 kB / 1.336 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005258/1.922, allocations: 1.215 MB / 1.337 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.546e-05/1.922, allocations: 60.47 kB / 1.337 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003672/1.926, allocations: 439.8 kB / 1.337 GB, free: 188.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003679/1.926, allocations: 169.5 kB / 1.337 GB, free: 188.8 MB / 0.8542 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 () * 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.0008331/1.927, allocations: 180.2 kB / 1.337 GB, free: 188.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005762/1.928, allocations: 192.5 kB / 1.338 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01335/1.941, allocations: 7.52 MB / 1.345 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-05/1.941, allocations: 25.53 kB / 1.345 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/1.941, allocations: 12.97 kB / 1.345 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.524e-05/1.941, allocations: 17.92 kB / 1.345 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02115/1.962, allocations: 11.99 MB / 1.357 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-05/1.962, allocations: 7.781 kB / 1.357 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002998/1.965, allocations: 0.6112 MB / 1.357 GB, free: 181.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01326/1.979, allocations: 4.301 MB / 1.362 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005717/1.979, allocations: 46.98 kB / 1.362 GB, free: 181.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01744/1.997, allocations: 12.93 MB / 1.374 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.094e-05/1.997, allocations: 13.36 kB / 1.374 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01314/2.01, allocations: 7.471 MB / 1.382 GB, free: 172.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/2.012, allocations: 0.7089 MB / 1.382 GB, free: 172 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006158/2.012, allocations: 14.8 kB / 1.382 GB, free: 172 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003603/2.016, allocations: 0.5111 MB / 1.383 GB, free: 172 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004956/2.016, allocations: 196.8 kB / 1.383 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002726/2.017, allocations: 111.9 kB / 1.383 GB, free: 171.9 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001318/2.018, allocations: 0.904 MB / 1.384 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.8e-07/2.018, allocations: 3.281 kB / 1.384 GB, free: 171.5 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006007/2.024, allocations: 1.41 MB / 1.385 GB, free: 171.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 (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.0004985/2.024, allocations: 154.4 kB / 1.385 GB, free: 171.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01288/2.037, allocations: 7.924 MB / 1.393 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.565e-05/2.037, allocations: 2.438 kB / 1.393 GB, free: 164.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.005964/2.043, allocations: 3.067 MB / 1.396 GB, free: 162.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/2.045, allocations: 163.4 kB / 1.396 GB, free: 162.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02547/2.071, allocations: 8.904 MB / 1.405 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002624/2.073, allocations: 2.863 MB / 1.408 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005403/2.079, allocations: 1.804 MB / 1.41 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006246/2.079, allocations: 155.2 kB / 1.41 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.432e-06/2.079, allocations: 8 kB / 1.41 GB, free: 151.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.06404/2.143, allocations: 50.56 MB / 1.459 GB, free: 105.5 MB / 0.8542 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_UnbalancedStepDown_DY.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.UnbalancedStepDown.DY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches