Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.403/2.403, allocations: 390.3 MB / 402.8 MB, free: 6.684 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 168.9 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 221.3 MB / 0.7915 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008891/0.0008893, allocations: 103.9 kB / 0.9318 GB, free: 5.727 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.19e-05/4.247e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.314/0.3141, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1/1.315, allocations: 211.5 MB / 1.425 GB, free: 9.07 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/1.315, allocations: 118.2 kB / 1.425 GB, free: 9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.4302/1.745, allocations: 164.9 MB / 1.586 GB, free: 8.539 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.194e-06/1.745, allocations: 4 kB / 1.586 GB, free: 8.535 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.0002543/1.745, allocations: 83.92 kB / 1.587 GB, free: 8.453 MB / 1.042 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.01212/1.758, allocations: 3.131 MB / 1.59 GB, free: 5.266 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/1.758, allocations: 8.031 kB / 1.59 GB, free: 5.258 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01405/1.772, allocations: 2.156 MB / 1.592 GB, free: 3.094 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007213/1.779, allocations: 2.322 MB / 1.594 GB, free: 0.7266 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003855/1.779, allocations: 299.8 kB / 1.594 GB, free: 444 kB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002289/1.782, allocations: 380 kB / 1.595 GB, free: 64 kB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02232/1.804, allocations: 6.443 MB / 1.601 GB, free: 9.508 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000205/1.804, allocations: 0 / 1.601 GB, free: 9.508 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001826/1.806, allocations: 164 kB / 1.601 GB, free: 9.348 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000705/1.807, allocations: 318.6 kB / 1.601 GB, free: 9.035 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01398/1.821, allocations: 5.627 MB / 1.607 GB, free: 3.402 MB / 1.057 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.04885/1.87, allocations: 28.62 MB / 1.635 GB, free: 4.402 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005862/1.876, allocations: 3.233 MB / 1.638 GB, free: 1.004 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002745/1.878, allocations: 1.6 MB / 1.64 GB, free: 15.38 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002744/1.879, allocations: 130.3 kB / 1.64 GB, free: 15.24 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.085e-05/1.879, allocations: 67.75 kB / 1.64 GB, free: 15.16 MB / 1.104 GB Notification: Performance of pre-optimization done (n=176): time 4.879e-06/1.879, allocations: 0 / 1.64 GB, free: 15.16 MB / 1.104 GB Notification: Performance of matching and sorting (n=221): time 0.07545/1.954, allocations: 20.4 MB / 1.66 GB, free: 10.69 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/1.955, allocations: 235.6 kB / 1.66 GB, free: 10.41 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003385/1.958, allocations: 1.429 MB / 1.661 GB, free: 8.973 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.0006061/1.959, allocations: 61.7 kB / 1.661 GB, free: 8.906 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.001501/1.96, allocations: 1.724 MB / 1.663 GB, free: 7.156 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.001169/1.961, allocations: 0.7587 MB / 1.664 GB, free: 6.387 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000532/1.962, allocations: 64 kB / 1.664 GB, free: 6.324 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.0003243/1.962, allocations: 436.5 kB / 1.664 GB, free: 5.891 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003361/1.966, allocations: 1.923 MB / 1.666 GB, free: 3.965 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004151/1.97, allocations: 3.026 MB / 1.669 GB, free: 440 kB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003811/1.973, allocations: 2.422 MB / 1.671 GB, free: 14 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-05/1.974, allocations: 15.83 kB / 1.671 GB, free: 13.99 MB / 1.135 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.01526/1.989, allocations: 7.46 MB / 1.679 GB, free: 6.512 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.005335/1.994, allocations: 14.09 MB / 1.692 GB, free: 7.316 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.658e-05/1.994, allocations: 36 kB / 1.693 GB, free: 7.281 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02394/2.018, allocations: 5.915 MB / 1.698 GB, free: 1.352 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004482/2.023, allocations: 0.9242 MB / 1.699 GB, free: 436 kB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8346/2.857, allocations: 11.45 MB / 1.71 GB, free: 310.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005008/2.862, allocations: 0.5408 MB / 1.711 GB, free: 310.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000834/2.863, allocations: 205 kB / 1.711 GB, free: 310.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/2.863, allocations: 3.953 kB / 1.711 GB, free: 310.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01665/2.88, allocations: 6.808 MB / 1.718 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000204/2.88, allocations: 38.69 kB / 1.718 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/2.89, allocations: 2.609 MB / 1.72 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005827/2.896, allocations: 1.072 MB / 1.721 GB, free: 310.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01903/2.915, allocations: 9.318 MB / 1.73 GB, free: 309.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004894/2.92, allocations: 0.5123 MB / 1.731 GB, free: 309.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007227/2.921, allocations: 203.1 kB / 1.731 GB, free: 309.5 MB / 1.151 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.001038/2.922, allocations: 298.9 kB / 1.731 GB, free: 309.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006798/2.923, allocations: 192.5 kB / 1.732 GB, free: 309.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/2.937, allocations: 6.37 MB / 1.738 GB, free: 309.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.823e-05/2.937, allocations: 25.25 kB / 1.738 GB, free: 309.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.974e-05/2.937, allocations: 13.36 kB / 1.738 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.351e-05/2.937, allocations: 13.3 kB / 1.738 GB, free: 309.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02388/2.961, allocations: 11.72 MB / 1.749 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.019e-05/2.961, allocations: 6.938 kB / 1.749 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003377/2.965, allocations: 0.6118 MB / 1.75 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02243/2.987, allocations: 5.724 MB / 1.756 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006503/2.988, allocations: 84.58 kB / 1.756 GB, free: 308 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01749/3.005, allocations: 11.11 MB / 1.766 GB, free: 305.6 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/3.005, allocations: 10.94 kB / 1.767 GB, free: 305.6 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01444/3.02, allocations: 6.919 MB / 1.773 GB, free: 302.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/3.023, allocations: 0.6883 MB / 1.774 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001079/3.024, allocations: 42.97 kB / 1.774 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004174/3.028, allocations: 479.8 kB / 1.774 GB, free: 302.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008702/3.029, allocations: 175.6 kB / 1.775 GB, free: 302.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004735/3.029, allocations: 126.7 kB / 1.775 GB, free: 302.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002608/3.032, allocations: 1.063 MB / 1.776 GB, free: 301.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.21e-07/3.032, allocations: 0 / 1.776 GB, free: 301.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.009776/3.042, allocations: 1.653 MB / 1.777 GB, free: 301.6 MB / 1.151 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.0008067/3.043, allocations: 188.6 kB / 1.778 GB, free: 301.5 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01815/3.061, allocations: 8.712 MB / 1.786 GB, free: 298.8 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.228e-05/3.061, allocations: 3.719 kB / 1.786 GB, free: 298.8 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.006201/3.067, allocations: 2.878 MB / 1.789 GB, free: 298 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/3.069, allocations: 201.9 kB / 1.789 GB, free: 297.9 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02155/3.091, allocations: 7.705 MB / 1.797 GB, free: 295.6 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004519/3.095, allocations: 2.942 MB / 1.799 GB, free: 294.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.006402/3.102, allocations: 1.811 MB / 1.801 GB, free: 294.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006665/3.102, allocations: 161.4 kB / 1.801 GB, free: 294.3 MB / 1.151 GB Notification: Performance of SimCode: time 8.81e-07/3.102, allocations: 0 / 1.801 GB, free: 294.3 MB / 1.151 GB Notification: Performance of Templates: time 0.09065/3.193, allocations: 53.75 MB / 1.854 GB, free: 282.7 MB / 1.151 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Validation_IEEETests_Test4NodesFeeder_BalancedStepDown_YY.csv","../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Validation.IEEETests.Test4NodesFeeder.BalancedStepDown.YY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches